Viewing 15 posts - 13,276 through 13,290 (of 18,923 total)
Ok. Good luck with that project.
September 14, 2005 at 7:49 am
Not sure I get what you need but this will procude the requested resultset.
Select ITEM_ID, count(*) as Total from dbo.ITEM_COMP
September 14, 2005 at 7:44 am
Also might I suggest that you move from A, B, C... codes to 1,2,3 >> which would be the equivalent bitmask value of the flags? That way you don't...
September 14, 2005 at 7:40 am
I don't know why the time is increased. I also know that you can't avoid using temp table in this case because you are populating a table from a...
September 14, 2005 at 7:23 am
Go with the lookup table. It's gonna be the simplest way here.
September 14, 2005 at 7:14 am
You can always do this
alter table a
add cc1 as a * b
cc2 as a * b + c
....
Assuming that the formulas aren't too complex and that you won't have to...
September 14, 2005 at 7:05 am
I see, check out this article for all the info you need :
September 14, 2005 at 7:03 am
if dateadd("d", CheckValue - 1, DateStart) <= DateEnd then ok else fail end if
September 14, 2005 at 7:01 am
Check out the objectproperty function and the properties "ExecIsFirst*"
September 14, 2005 at 6:59 am
I think going with the ifs might be the best solution as I don't see any advantages of keeping all possible product codes in the db. Maybe you could...
September 14, 2005 at 6:45 am
Can we see the code of the proc (full code).
September 14, 2005 at 6:43 am
Select columns, list from dbo.YourTable where id not in (1351, 1353, 1387.......)
Also do you think you could convert this to be used in a stored proc as there are many...
September 14, 2005 at 6:42 am
OK I see what you need now... and that query will be ugly as hell but I'll give it a shot.
TBC.
September 14, 2005 at 6:37 am
How about you create a #temp table as the staging table? That way they wouldn't see the staging table and you'd get your way for hte row count. Also...
September 14, 2005 at 6:33 am
Check the final update statement of the first post of this thread.
September 13, 2005 at 8:12 pm
Viewing 15 posts - 13,276 through 13,290 (of 18,923 total)