Viewing 15 posts - 47,476 through 47,490 (of 59,095 total)
Views are no worse than "Inline Views" like CTEs or Derived Tables (sub-queries that are used like tables)... proper views, that is.
The problem with a good number of views is...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 1, 2008 at 11:38 pm
Heh... it would appear so... maybe this one would make a good article. Thanks, Barry.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 1, 2008 at 11:01 pm
Um... heh... no, sorry... pointing someone to a Cursor Usage URL is not what I'd call a "good start" even if it has a better answer in the post that...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 1, 2008 at 11:34 am
ry.rith (10/31/2008)
if i use correlated subquery, and join to two table.what way should i choose for optimal performance when there large number of rows.
For Example ...
For the type of queries...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 1, 2008 at 11:06 am
You don't understand... it IS the problem because it causes @sql to be truncated as if IT were an NVARCHAR.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2008 at 10:37 pm
There are certain times where you can get away without using the table hint to force the index. I've done it in certain functions using table variables. You...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2008 at 10:33 pm
:blush: Thanks, John.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2008 at 10:11 pm
jsteinbeck (10/31/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2008 at 10:07 pm
Heh... the problem with the indecision that some face as to who to vote for is simple... which idiot will cause the least amount of damage? 😛
If you want...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2008 at 9:51 pm
There's virtually no difference between a JOIN and an IN (subquery)... they will both create the same execution plan and execute within milliseconds of each other... unless there's a correlation...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2008 at 9:18 pm
Matt Miller (10/31/2008)
"Must look Eye"
Heh... yeah... I forgot to add that on... 😛 So many cars... so little wax. :hehe:
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2008 at 9:09 pm
Muralidharan Venkatraman (10/31/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2008 at 9:02 pm
Nicely done! And thanks for the feedback especially on the performance/durations.
My only concern is the BEGIN/COMMITs you have for Stages 1 through 4... the [CPMTEST].[XJASN4N].[tblCLS_OFSA] is a...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2008 at 8:50 pm
ry.rith (10/31/2008)
that you tell me about the solution.
I also do the same of yours to complete the crosstab-report, but something that i want is to know why it's...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2008 at 8:22 pm
Heh... I've just gotta agree with that! 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2008 at 8:05 pm
Viewing 15 posts - 47,476 through 47,490 (of 59,095 total)