Viewing 15 posts - 11,041 through 11,055 (of 13,462 total)
ahh you are right Greg, i did not notice that. Thanks for the better solution.
June 1, 2009 at 4:36 pm
the trigger fires one for any statement which affects the table; as a result, any statement you write inside that trigger must plan on updating/inserting multiple rows. it CANNOT assume...
June 1, 2009 at 3:11 pm
ok here's a best guess;
the execution plan has a portion of the query in it..something like the first 4200 characters or so, so i didn't have all the joins...i inveted...
June 1, 2009 at 8:54 am
##Errors is a global temp table...the two pound signs make that global instead of just for your proc.
a global temp table is visible to all other processes that might need...
June 1, 2009 at 6:38 am
Scott Coleman (6/1/2009)
We now now a unique constraint won't work for the Customer table - they're all named John. :w00t:
lol:
(IS for brothel)
i saw that too, and was wondering...
June 1, 2009 at 6:25 am
save it as a SQLplan...that's just xml. you can throw it in a zip file , and then attach it here to a followup post.
when we open it in SSMS,...
June 1, 2009 at 6:22 am
Rob SQL2008 has an actual CPU governor for that situation...preventing any one query frome ating all resources...it's not in 2005.
a 20 minute query is unusual, unless you are threshing thru...
June 1, 2009 at 6:17 am
ahh you changed it on me since i posted....
i would switch tou using the row number function then...see how this works for you.
run the inner query so you can see...
June 1, 2009 at 6:08 am
way to go on posting the table and data! it made it really easy to try and help!
here's two examples; in one i figured you jsut wanted the ID, and...
June 1, 2009 at 5:57 am
the typical "it depends";
I'd take into consideration whether there is a possibility that the blobs would be one-to-many for the main record. even if "today", you are only capturing...
June 1, 2009 at 5:48 am
you'll need to change your encrypted column to a varbinary. I believe the rule is if you are doing a 19 char field, the size for the varbinary is twice...
May 31, 2009 at 8:33 pm
i contributed that script a while ago, and clearly it's only for SQL 2000;
here's someone elses script that I saved in my snippets that does INCLUDE columns;it does PRINT statements...
May 31, 2009 at 7:57 pm
if they are doing the setup, figure out which tables you will be using, and get them to add synonyms for those tables as well...it really makes your sqls cleaner:
IF...
May 29, 2009 at 10:07 am
there's a thread on the new updated codeing somewhere, but i happened to keep the list handy in my snippets:
note that there's a space between the bracket and "code" so...
May 29, 2009 at 9:58 am
here's the syntax and example of adding a linked server for an access database, the login for it, viewing the list of tables, selecting from one, and finally updating one...
May 28, 2009 at 4:41 pm
Viewing 15 posts - 11,041 through 11,055 (of 13,462 total)