Viewing 15 posts - 23,746 through 23,760 (of 26,490 total)
Hang on!! How can I get in on this and sell tickets?? I'll even give 75% of the proceeds to SSC!
November 14, 2008 at 4:11 pm
Just for S & G's, I added another select statement to my test code. In it you will see that I use a case in the join. If...
November 14, 2008 at 3:58 pm
Jeff Moden (11/14/2008)
November 14, 2008 at 3:10 pm
Jeff,
Just gotta know, has anyone every called you an anti-rbar fanatic? This seems to be the main area you really become "excited" about. And NOT that it is...
November 14, 2008 at 3:07 pm
I find separating the join criteria from the filter criteria makes working with multiple table queries easier. Also, I would rewrite your current query using a CTE to replace...
November 14, 2008 at 1:06 pm
Mani (11/14/2008)
Iam using the below procedure to Backup system Databases. It is taking the backups of master,model msdb in all instances except one instance it is not taking msdb backup?...
November 14, 2008 at 12:52 pm
I'd say by looking at what types of queries are being run against the database. You can als look at the missing index data management views and see what...
November 14, 2008 at 12:48 pm
kent.kester (11/14/2008)
Currently:
*Full Backups Daily at 6AM: ...
November 14, 2008 at 10:36 am
This code handles the values provided by Seth.
DECLARE @test-2 TABLE
(ID INT, TXT VARCHAR (MAX))
INSERT INTO @test-2
SELECT 1,'A'
UNION ALL
SELECT 2,'A'
UNION ALL
SELECT 2,'B'
UNION ALL
SELECT 3,'A'
UNION ALL
SELECT 3,'B'
UNION ALL
SELECT 3,'C'
UNION ALL
SELECT 4,'This...
November 14, 2008 at 10:25 am
I wouldn't use a case statement either. Here is what i would do (and some of this you should have done, ie the create table and insert statements)
create table...
November 14, 2008 at 8:59 am
That may be a good primary key, but remember that doesn't mean it should necessarily be the clustered index.
November 14, 2008 at 8:04 am
timscronin (11/13/2008)
November 14, 2008 at 7:59 am
homebrew01 (11/14/2008)
November 14, 2008 at 7:55 am
Just one thing to think about. The Primary Key isn't always the one that should be the Clustered Index. As you look at the processing that occurs, you...
November 14, 2008 at 7:53 am
Viewing 15 posts - 23,746 through 23,760 (of 26,490 total)