Viewing 15 posts - 46 through 60 (of 86 total)
see BOL - "Customizing the Lock Time-Out"
SELECT @@lock_timeout;
GO
SET LOCK_TIMEOUT 1800
GO
April 4, 2008 at 7:04 am
Find this more readible?
Declare @i as int
Set @i = cast(right('02/04/2008',4) + substring('02/04/2008',4,2) + left('02/04/2008',2) as int)
select @i
(I'm using '02/04/2008' as you can see the month and day)
April 1, 2008 at 7:50 am
Not sure what you gain from the explicit transaction.
Can you pass the data you insert to the table to the java app as parameters? That may release you from having...
March 19, 2008 at 6:16 am
Be careful - changing the database settings will not change the collation of any data already in the database.
March 19, 2008 at 3:33 am
what errors are you getting?
March 19, 2008 at 3:26 am
Hi
Why not use activity monitor?
Gives the last SQL batch for the process...
March 6, 2008 at 8:55 am
Same here - the second statement is OK for me.
Mistake in the Qu.
March 6, 2008 at 8:45 am
You get the sql by double-clicking on the process, which I think solves the original problem - although I'm not sure if there would be truncation.
the alternatives posted seem interesting...
March 6, 2008 at 6:14 am
Hi
If it took 300 hours to import, you must have a big database.
One consideration for any restore as suggested above should be to check if you have enough space for...
February 20, 2008 at 2:37 am
Maybe I mis-understand this.
You can run the alter command to change the collation of existing columns, but any data already in the column will keep the OLD collation.
This could give...
February 19, 2008 at 2:35 am
Take care - C2 Auditing seemed to cause my server to crash.
Disabled it and no crashes since (6 months).
January 31, 2008 at 1:16 am
Hi
When you say the query ran quickly before, did it run on the same database with the same numbers of users? I would suspect that there have been some data...
January 28, 2008 at 3:19 am
Hi
Two thoughts.
1 - select from sys.dm_os_wait_stats - may indicate where you are waiting for resources? Dont forget you may need to clear the counts -
DBCC SQLPERF ('sys.dm_os_wait_stats', CLEAR); (see...
January 17, 2008 at 7:41 am
what happens if you run profiler on the job?
January 16, 2008 at 7:33 am
is it under legacy?
January 10, 2008 at 1:30 am
Viewing 15 posts - 46 through 60 (of 86 total)