Viewing 15 posts - 1,171 through 1,185 (of 1,315 total)
The script Lowell referenced appears flawed. It gave me incorrect results.
This script creates the truncate/delete commands in order with respect to foreign keys as Dan requested, but I think Frank's...
April 19, 2005 at 1:29 pm
There is no way to modify a trigger or index to change the table it is associated with, you have to drop the old ones and create new ones on the...
April 14, 2005 at 7:38 am
You can cut & paste from Query Analyzer in grid mode, but you lose the column headings.
You can cut & paste from QA in text mode/column aligned, but you have...
April 1, 2005 at 12:49 pm
I've been too busy to read my email lately, but I'll take another shot at enlightening you.
First, the problem with the formula "IntegerField / 22" in T-SQL is you will have...
December 22, 2004 at 9:44 am
A truncate command is not logged, so it is very fast. But it deletes the entire table.
If you want to delete a large fraction of the table, and realize...
December 15, 2004 at 11:43 pm
Orphaned role members that aren't users or logins? Orphaned users from a database copy are usually entries in sysusers that are missing from master..sysxlogins, or have a different sid...
December 15, 2004 at 11:24 pm
Have the DTS package create a log file so you can see the offending data.
I've had so many problems with importing illegal date values from a Teradata system that I...
December 15, 2004 at 10:57 pm
sp_spaceused uses the numbers from sysindexes, so it will be just as inaccurate. sysindexes can be seriously inaccurate. Ever see databases with negative free space? I just...
December 15, 2004 at 10:43 pm
I manage several SQL Servers with 100GB - 600GB databases. Obviously the hardware has to be up to the task. You're not going to get Oracle to do it...
December 15, 2004 at 10:15 pm
You can't help but love a product that makes you look good.
And no, I am not associated with Quest in any way and am not being compensated for this post.
December 15, 2004 at 9:14 pm
I've seen Veritas' product, it is very impressive but pricey. I bought Quest's Spotlight on SQL Server earlier this year and I'm very happy with it. I've heard...
December 15, 2004 at 9:04 pm
If procperiod is the first field in the clustered index, I would think it should always use an index seek. I'm assuming it isn't the first field.
Either the data...
December 15, 2004 at 8:32 pm
I'm going to repost this solution because a) the other solutions are still using row-based logic and, even worse, dynamic SQL for every row; and b) I don't think...
December 15, 2004 at 8:04 pm
I must have missed the part where he said his VB6 app ran under IIS. A standalone VB6 app won't use connection pooling.
You should minimize the number of times a...
December 15, 2004 at 5:47 pm
I forgot to mention the issue of having to rewrite all your code for each new release of SQL Server, maybe even for each service pack.
December 15, 2004 at 4:56 pm
Viewing 15 posts - 1,171 through 1,185 (of 1,315 total)