Viewing 15 posts - 76 through 90 (of 160 total)
Ken Simmons (5/6/2009)
By default SQL Server creates a clustered index on the primary key.
Thanks for the fast response.
May 6, 2009 at 7:29 am
bvaljalo (2/4/2009)
February 4, 2009 at 1:07 pm
GilaMonster (2/4/2009)
meichner (2/4/2009)
February 4, 2009 at 1:05 pm
I had that solution but something bothered me about it. Since I am...
February 4, 2009 at 11:38 am
GilaMonster (2/4/2009)
meichner (2/4/2009)
I know there my be a better way to do this so that I don't have to repeat the Select Clause.
There is, but it tends to have...
February 4, 2009 at 10:16 am
mikefle (2/2/2009)
February 3, 2009 at 9:10 am
Thanks for all the input. I will look into the XML approach. I am currently using the OUTPUT parameter to obtain the identity key from the Sales Order Header...
December 5, 2008 at 6:50 am
Grant Fritchey (12/4/2008)
meichner (12/4/2008)
December 4, 2008 at 3:13 pm
G² (11/10/2008)
November 10, 2008 at 12:27 pm
G² (11/10/2008)
November 10, 2008 at 8:52 am
Not in the way you are expecting it to...from BOL:
Guidelines for Creating and Using CTEs
The following guidelines apply to nonrecursive CTEs. For guidelines that apply to recursive CTEs,
see "Guidelines...
November 10, 2008 at 7:48 am
noeld (11/6/2008)
1. Why does the pivot table need the aggregate function MIN in order to work?
2. Why did you need the column Row_number?
1. PIVOT needs an aggregate function...
November 6, 2008 at 1:07 pm
IF OBJECT_ID('TempDB..#mytable','U') IS NOT NULL
DROP TABLE #mytable
CREATE TABLE #mytable
(
ID ...
November 6, 2008 at 11:29 am
Jeff Moden (11/6/2008)
November 6, 2008 at 9:03 am
Viewing 15 posts - 76 through 90 (of 160 total)