Viewing 15 posts - 136 through 150 (of 1,114 total)
Output of the select query is
(153148 rows affected)
karthik
August 11, 2010 at 5:25 am
First, what actually makes you say that and why are you "sure"?
I read like 'Don't create clustered index on monotonically increasing column' some years back.
In fact, having a Clustered Index...
karthik
May 26, 2010 at 5:43 am
tonyrogerson-498793 (5/25/2010)
karthik
May 26, 2010 at 5:26 am
GilaMonster (5/25/2010)
karthikeyan-444867 (5/25/2010)
I am sure we shouldn't create Clustered index/primary key on an IDENTITY column.
There's a big, massive, huge difference between not using an int identity for a primary key...
karthik
May 26, 2010 at 5:25 am
Grant Fritchey (5/25/2010)
karthikeyan-444867 (5/25/2010)
Track down articles by him for more information on natural keys.
can you give me the URL?
Come on Karthik. You've got the name, Joe Celko, and...
karthik
May 26, 2010 at 5:22 am
what will happen If I delete some rows from the table. wouldn't cause IDENTITY GAP issue? wouldn't waste the datapage space?
Also, let us consider this scenario. Assume the table capture...
karthik
May 26, 2010 at 2:12 am
Track down articles by him for more information on natural keys.
can you give me the URL?
karthik
May 25, 2010 at 8:35 am
I have more than 250 tables in my database. i just want to prepare the list where as the table has primary key only on IDENTITY column.
how?
karthik
May 25, 2010 at 6:22 am
Paul White NZ (5/25/2010)
karthikeyan-444867 (5/25/2010)
Microsoft SQL Server 2005 - 9.00.4220.00 (Intel X86)
Shame. SQL Server 2008 SP1 CU5 is required to make the OPTION (RECOMPILE) trick fly.
Never mind. Try...
karthik
May 25, 2010 at 4:41 am
Paul White NZ (5/25/2010)
More seriously, try...
karthik
May 25, 2010 at 4:38 am
The use of the UPPER function earlier makes me wonder.
???
karthik
May 25, 2010 at 4:20 am
Paul White NZ (5/25/2010)
karthikeyan-444867 (5/25/2010)
I tried with 'DYNAMIC SQL'. But the ecexution time still remain same.
You know the drill...'actual' execution plan, table definitions, indexes, sample data.
By the way, what exact...
karthik
May 25, 2010 at 4:18 am
Paul White NZ (5/25/2010)
Grant Fritchey (5/24/2010)
In your case, the multi-statement function is what the constant scan represents, and it is indicative of poor performance.
The Constant Scan operator is an in-memory...
karthik
May 25, 2010 at 4:17 am
Viewing 15 posts - 136 through 150 (of 1,114 total)