Viewing 15 posts - 541 through 555 (of 860 total)
Sean Lange (4/16/2012)
Lynn Pettis (4/16/2012)
1. Get out a blank piece of paper.
2. Put your name and today's date...
April 16, 2012 at 3:18 pm
it would probably be best to continue the discussion in the old thread.
http://www.sqlservercentral.com/Forums/Topic1283875-392-1.aspx
April 16, 2012 at 2:31 pm
SQLKnowItAll (4/16/2012)
April 16, 2012 at 2:20 pm
Lynn Pettis (4/16/2012)
GilaMonster (4/16/2012)
April 16, 2012 at 2:17 pm
im looking at a table with close to 300 million records with proper indexes and have no problems. the key as people have stated is the proper clustered and...
April 16, 2012 at 2:11 pm
Phil Parkin (4/16/2012)
Actually the statement previous to the WITH (CTE) needs to be terminated with a semi-colon.
Grrrr! Correct 🙂
when posting code i always put the semi colon infront of the...
April 16, 2012 at 10:33 am
you have a very vague question. can you post more detail and maby table deffinitions and sample data.
April 15, 2012 at 3:55 pm
Phil Parkin (4/15/2012)
edvard 19773 (4/15/2012)
I am aware of, that your solution is much faster than a row by row solution, and in this...
April 15, 2012 at 8:03 am
vinu512 (4/13/2012)
April 14, 2012 at 9:49 am
i would hazard to guess your user is not authorized to the login to the server. in which case you would need to contact the system administrator.
April 13, 2012 at 4:23 pm
are you editing out your user name or are you not providing a user name?
April 13, 2012 at 4:13 pm
hbtkp (4/13/2012)
at least help me with my codehow to check while loop and increment date by 1 month in while loop
we have no code to help you with, you have...
April 13, 2012 at 4:11 pm
that creates all of your counts. you will need to modify the queries to get your wheres back in since i saw you included only one OrderHeader_ID
April 13, 2012 at 3:56 pm
ok here we go here is the code:
;WITH finding AS (select oa.id, oa.Risk_Rating, COUNT (orf.Prnt_ID) findingcount
...
April 13, 2012 at 3:50 pm
Duplicate post all replies here http://www.sqlservercentral.com/Forums/Topic1282601-392-1.aspx
April 13, 2012 at 3:16 pm
Viewing 15 posts - 541 through 555 (of 860 total)