Viewing 15 posts - 3,376 through 3,390 (of 8,416 total)
Jon Saltzman (5/20/2010)
May 20, 2010 at 4:56 am
rjohal-500813 (5/20/2010)
I love Paul's first reply to this Fair play to the OP, at least he added attachments;-)
It made me smile :laugh:
May 20, 2010 at 4:46 am
mukherjee.subhro (5/20/2010)
May 20, 2010 at 4:46 am
matt-895911 (5/20/2010)
Isn't this article worthless without some actual exection plans and timings to backup the point?
No. It's a great article - and well worth the 4 stars I gave...
May 20, 2010 at 4:43 am
shaytoder (5/20/2010)
because if you have indexes on name or colour, it will use them,
and it will NOT check every column you have in the query, just the ones with...
May 20, 2010 at 4:28 am
shaytoder (5/20/2010)
another option to solve the issue with optional parameters, without using dynamic SQL, is to use CASE, it will NOT check fields that he doesn't need !
How good is...
May 20, 2010 at 4:15 am
Nils Gustav Stråbø (5/20/2010)
Atif Sheikh (5/20/2010)
Dynamic SQL is the last thing to do
Dymamic SQL is the only efficient way (in my knowledge) to solve the problem with multiple optional parameters....
May 20, 2010 at 3:58 am
Atif Sheikh (5/20/2010)
May 20, 2010 at 3:54 am
Brett Robson (5/20/2010)
I don't see why you guys are promotiing the use of dynamic SQL.
Because it is very often the most efficient way to solve problems like those shown in...
May 20, 2010 at 3:30 am
Avaneesh -388582 (5/20/2010)
I. SELECT COUNT_BIG(*)
II. SELECT COUNT_BIG(column_2)
III. SELECT COUNT_BIG(ALL column_2)
IV. SELECT COUNT_BIG(DISTINCT column_2)
I Answered this question selecting II,III and IV (which actually is a correct answer) guess what i was...
May 20, 2010 at 3:09 am
jain.ashish21 (5/20/2010)
The above query did resolve what I was looking for. But now I have a bit different scenario. Here's my table structure
So you think because I converted your printed...
May 20, 2010 at 1:56 am
This should give you somewhere to start:
DECLARE @Table1
TABLE (
col3 VARCHAR(50) NOT NULL,
...
May 20, 2010 at 1:52 am
If you have a lot of records to split, you might like to look at a range of 'split' functions:
http://florianreischl.blogspot.com/2009/09/high-performance-string-split-functions.html
May 20, 2010 at 12:04 am
Viewing 15 posts - 3,376 through 3,390 (of 8,416 total)