Viewing 15 posts - 1,021 through 1,035 (of 1,065 total)
Just a small addition to nyulg's last point:-
-------------------------------------------------
-if you are modifying the totallity of your table it could be faster to copy all your data with modifications to a new...
January 7, 2003 at 9:27 am
If you aren't bothered about recovery, the fastest way to do it will be to use SELECT INTO (because SELECT INTO is not logged to the transaction log).
e.g.
SELECT 0 as...
December 6, 2002 at 10:12 am
To clear the transaction log just run 'BACKUP TRAN dbname WITH TRUNCATE_ONLY'
As to the actual database space, SQL Server doesn't always re-use space freed by a DELETE command (SQL 2000...
December 6, 2002 at 4:48 am
Afraid not. In most cases, a severity level of 16 or above is deemed a fatal error that won'r reach your test for @@Error.
However, some level 16 errors are not...
December 4, 2002 at 10:00 am
Not all errors can be handled inside your stored procedure.
It all depends on the severity level of your error. In a lot of cases you will never reach the...
December 4, 2002 at 5:20 am
Each time you run your import, SQL Server will write the transactions to your transaction log, and so your log will continue to grow until you back up either the...
December 4, 2002 at 3:16 am
That depends on your client.
If you are running the INSERT statement from Query Analyzer, then before you run the INSERT statement, just run the SET ANSI_NULLS ON and SET ANSI_WARNINGS...
November 28, 2002 at 7:06 am
Your error message is complaining about the connection that is issuing the INSERT into [scheme].[slcustm] table, not the connection that created the Trigger, or the options that the trigger is...
November 28, 2002 at 5:14 am
Drop and re-create the table
or
DBCC CHECKIDENT ('table name', RESEED, seed value)
e.g.
DBCC CHECKIDENT ('MyTable', RESEED, 0)
November 28, 2002 at 5:01 am
This is a SQL Server restriction. A table can have only one Timestamp column.
If you need more than one timestamp, then you will have to consider partitioning the table into...
November 28, 2002 at 2:33 am
You are probably inserting blank into the date (which defaults to Jan 01 1900) instead of NULL e.g.
INSERT INTO TableX (DateCol,Col1,Col2) values (NULL,'Col1Value','Col2Value')
I suspect you are doing something like
INSERT...
November 27, 2002 at 1:27 am
Have you tried specifying the domain username in the format DOMAIN\USERNAME?
Edited by - ianscarlett on 11/25/2002 03:50:19 AM
November 25, 2002 at 3:50 am
Bulk insert is supposed to be faster - up to twice as fast, because it interacts with SQL Server at a lower level than BCP.
November 22, 2002 at 10:54 am
Do you have an INSERT trigger that does an UPDATE?
November 21, 2002 at 8:22 am
If the column isn't indexed, there should be no degradation in performance as the index won't need updating.
By the way, each non-clustered index is a pointer to the clustered index,...
November 21, 2002 at 8:18 am
Viewing 15 posts - 1,021 through 1,035 (of 1,065 total)