Viewing 15 posts - 31 through 45 (of 230 total)
Just to add to Hoo's post, if you need to shrink the footprint, you can run the dbcc shrinkfile command after you truncate the log, see BOL for details. Doing...
March 6, 2004 at 6:20 am
I assume you mean preserve the properties of the PK's and identity properties. One way would be to script them out and have it as a second task in the...
March 6, 2004 at 6:17 am
Billy, query the heck out of books-online and you will learn a lot about locking. I was referring to a key lock, not a row lock, they are very similar...
March 4, 2004 at 3:49 pm
Thanks, Interesting, can't immediately think of a pretty way to do this in SQL Server.
March 3, 2004 at 5:09 pm
(admittedly Oracle ignorant) can you explain what a Key compressed index is?
March 3, 2004 at 4:27 pm
I would limit the use of hints if at all possible. Keep in mind that indexes play a role in locking as well, I've seen heap tables prefer to do...
March 3, 2004 at 4:24 pm
I agree with Frank, functionally you could use an instead of trigger off the view, but I personnally don't like that option.
March 3, 2004 at 4:16 pm
Unless the nonclustered index is a covering index and SQL does not have to fetch back to the clustered table. This is why composite non-clustered indexes are so attractive.
March 3, 2004 at 4:14 pm
This may help, he's written two articles on RS so far - http://www.databasejournal.com/features/mssql/article.php/3304481
February 29, 2004 at 7:10 am
NoelD, You're right, read it too fast.
February 26, 2004 at 10:13 am
one thing to add, if you will have multiple rows updated at once you will need to change this line:
WHERE TblName.Pk = I.PK
to WHERE TblName.Pk in (select PK from inserted)
HTH
February 25, 2004 at 5:04 pm
A surrogate key (in contrast to a natural key) is an artificial key, it could simply be a column with the IDENTITY property.
HTH
February 25, 2004 at 4:59 pm
IMO, your best friend in determing index placement is the "set statistics IO on" command. This will tell you the logical IO of your query which is the number of...
February 25, 2004 at 4:02 pm
Viewing 15 posts - 31 through 45 (of 230 total)