Viewing 15 posts - 4,156 through 4,170 (of 5,590 total)
-- See how you start off by actually creating a table
-- and then inserting the data into it? Doing this really
-- makes things a lot easier for all the...
May 25, 2010 at 6:51 pm
Jeffery Williams (5/24/2010)
INSERT INTO OPENROWSET...
May 24, 2010 at 7:13 pm
athatipamula (5/24/2010)
can any one rewrite the code using sub queries?
I am using 2 databases and 2 different tables
here is the code:
SELECT [MODE],[NUMBER],[DESCRIPTION],[UNITSIZE]
FROM [database1].[DBO].[table1]...
May 24, 2010 at 6:58 pm
The Dixie Flatline (5/21/2010)
I think "unique" should count twice or not at all. You can have unique clustered indexes and...
May 22, 2010 at 8:45 pm
About 3 weeks ago, I was doing some research on a related topic and found that this answer is wrong. I had asked Steve to change this question then.
This QotD...
May 21, 2010 at 11:20 am
Jack Corbett (5/19/2010)
Quiet in here today. Everyone at 24 HOP?
Yep... I took the week off, and among all the chores I had a list of 13 sessions I wanted...
May 20, 2010 at 8:08 am
Here's an approach that is similar to the one Lutz posted. As he did, it's based off of tally table.
Main differences are that you can specify the number of rows...
May 19, 2010 at 12:55 pm
Slight modifications to the solution already provided by ColdCoffee, in order to show with the field name you specified. And a way to eliminate the case statement.
DECLARE @YOUR_TABLE TABLE
(
...
May 19, 2010 at 12:24 pm
Rob Schripsema (5/18/2010)
Nice tweak, Jeff. Not perfect -- won't allow for years prior to 2000 (and I, for one, have a birthday before 2000 :hehe:) -- but a definite improvement.
Perfectly...
May 18, 2010 at 7:57 pm
Trey Staker (5/18/2010)
CirquedeSQLeil (5/18/2010)
Steve,I like the change to the headlines section on the front page.
Agreed, it's a nice change.
Yes, it looks VERY nice!
May 18, 2010 at 7:53 pm
CirquedeSQLeil (5/18/2010)
Is Wayne out there changing his name?
LOL.
Actually, I found that avatar on a post out here on SSC... but the poster hadn't been active in quite some while. Might...
May 18, 2010 at 7:51 pm
I would be interested in your solution to this also!
Thanks!
May 18, 2010 at 6:51 am
gary.mazzone (5/18/2010)
I got it right but since when is a Dynamic Management View a table?
I agree with you Gary... it's a view (albeit into a system table).
And with Carlo also......
May 18, 2010 at 6:43 am
You know, the people that help out here are all un-paid volunteers, so please HELP US HELP YOU. Providing the DDL scripts (CREATE TABLE, CREATE INDEX, etc.) for the tables...
May 17, 2010 at 4:50 pm
simflex-897410 (5/17/2010)
May 17, 2010 at 3:09 pm
Viewing 15 posts - 4,156 through 4,170 (of 5,590 total)