Viewing 15 posts - 2,566 through 2,580 (of 3,667 total)
So going back to my lookup table example with an ID and Description column I should be better off putting my clustered index on my description column rather than on...
January 3, 2006 at 7:06 am
In your C# you define your sqlparameter in exactly the same way as you would any other parameter but parameter.direction =ParameterDirection.Output.
You datatypes match those being submitted to the procedure. ...
January 3, 2006 at 1:14 am
So basically the argument against them is that they are entirely artificial values that are independent of the data?
I'm not sure what the argument is against using them in clustered...
January 2, 2006 at 10:18 am
If you look at the way that EM does it.
CREATE TABLE dbo.tmp_yourtablename ( the new field list )
IF EXISTS(SELECT * FROM dbo.tmp_yourtablename)
EXEC('INSERT INTO dbo.dbo.tmp_yourtablename (the new field list)
SELECT the...
December 30, 2005 at 1:48 am
It is just as valid as
BEGIN
SELECT 0 AS ls_action
END
It is just a different way of writing it.
December 30, 2005 at 1:43 am
Hang on, if you put a clustered primary key on a table where the primary key isn't naturally ordered doesn't it increase the page splits?
So although fragmentation per se does...
December 29, 2005 at 12:20 pm
It depends on the design of your table. Is there something that will identify the updated records?
If so I would be tempted to have some form of loop to...
December 29, 2005 at 9:27 am
If you run SELECT System_User it brings back the login name that you are currently logged in as.
You can create a table that maps System_User to region and then do...
December 29, 2005 at 5:47 am
I would remove it from MODEL.
I have removed it from MSDB in my environment with no ill effects but I am not doing any complicated development with DTS or SQLServerAgent...
December 29, 2005 at 4:48 am
You cannot remove guest from either master or tempdb.
If you remove it from MODEL then it won't appear in any future databases that you add to the system. MODEL...
December 29, 2005 at 3:44 am
I start with the assumption that I need a TEMPDB three times the size of my largest table.
If I have to do a large sort or reindex TEMPDB grows...
December 29, 2005 at 3:08 am
If you don't specify otherwise a primary key will be clustered. If the columns that you are proposing to become primary keys are not naturally ordered then having them...
December 29, 2005 at 2:25 am
Read http://www.sqlservercentral.com/columnists/dpeterson/lookuptablemadness.asp
If you use foreign keys then I can see the potential for performance issues when it comes to deleting records.
If you look at the execution plan of a...
December 29, 2005 at 2:11 am
I've reached the age when I time things with a calendar.
There is a great story about one of the old British colonies where the accuracy of the town clock was...
December 29, 2005 at 1:59 am
I can't see a better way around the need to have a field per table.
If your database design allows there to be a "common properties" table then your UpdatedDate field...
December 28, 2005 at 8:50 am
Viewing 15 posts - 2,566 through 2,580 (of 3,667 total)