|
-
Oct 6th, 2010, 07:43 AM
#1
Re: So You Wanna Be An SQL Server DBA...
I use them but they really need to be thought about. Would you want to run the correlated query (which runs against every row) if you were pulling a record set with millions of rows? I would say this would be a problem.
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Oct 7th, 2010, 05:00 AM
#2
Re: So You Wanna Be An SQL Server DBA...
I'm going to go out on a limb here and suggest that the correlated query - in an EXISTS() function - never returns any rows. It just makes it as far as the INDEX SEEK/SCAN or TABLE SCAN - finds that a row exists - and then it's job is done.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|