Viewing 15 posts - 1,891 through 1,905 (of 2,051 total)
only minimally logged (about the command, not individual changes)
In addition, the Bulk-Logged Recovery model only allows the database to be recovered to the end of a transaction log backup when...
October 19, 2005 at 10:17 am
Process A was waiting on a lock to be released by Proces B
Process B was waiting on a lock to be released by Process A
-> infinite loop
SQL Server then picks a...
October 19, 2005 at 10:14 am
You could try covered indexes (index on all necessary fields)
October 19, 2005 at 10:08 am
Quite logical:
1) Tempdb has to increase in size
2) Databases are checked and all transactions that were running when the service was shutdown are being rolled forward/backward
3)All buffers are being refilled (cache hit...
October 19, 2005 at 10:00 am
Microsoft certainly has a best-practices stored in here:
http://www.microsoft.com/technet/prodtechnol/sql/default.mspx
Calling scripts doesn't seem to be a high I/O solution;
Assuming the scripts are stored on the computer from where the application runs...
October 17, 2005 at 12:18 pm
Have a look at
http://www.sqlservercentral.com/articles/articleList.asp?categoryid=102
1. Have a proper design (very very important)
2. Try to avoid holding locks (not retrieving all rows, waiting for user input in the midst of...
October 17, 2005 at 12:04 pm
There are no errors in the SQL Server log?
Is Server1 sql server still reachable when it can't communicate with the other sql server?
Fully patched (windows + sql server)?
Ram tested?
October 17, 2005 at 11:45 am
You will need the /PAE switch for >4GB
October 17, 2005 at 11:36 am
Never seen sql server dropping databases on his own.
Sure there isn't an (backup)application/job/user doing this?
Perhaps you can set up profiler to listen for sp_detachdb commands
October 17, 2005 at 10:29 am
You mean the scripts are stored on the server and are called using xp_cmdshell? Or that they are send across the network as sql-statements?
1)Advantages using stored procedures:
Reduces roundtrips (network latency)
Managebility,resusability...
October 17, 2005 at 10:26 am
SELECT convert(datetime,'20050910') as myDate
select convert(varchar(20),convert(datetime,'20050910'),103) as myVarCharDate
Should do it.
October 17, 2005 at 4:46 am
select avg(DurationSummed.duration)
from
(select sum(duration) duration
from cutlog group by datepart(dy,date))
) as DurationSummed
?
October 16, 2005 at 12:51 pm
make an union?
select columnA as MyColumn
union all
select columnB as MyColumn
union all
select columnC as MyColumn
October 16, 2005 at 4:36 am
In order to update on a linked server there should be a primary key on the table to function as recordidentifier.
October 15, 2005 at 7:12 am
Delimiting all identifiers is an excellent approach.
I think by lazyness and readability we decided to use a naming convention prohibiting the use of problem object names ( like spaces in...
October 15, 2005 at 7:06 am
Viewing 15 posts - 1,891 through 1,905 (of 2,051 total)