Viewing 15 posts - 6,016 through 6,030 (of 6,678 total)
I seem to remember getting that error on an older version. I ended up using the SSMS plug in, setting it up for the deletion I wanted and then...
October 22, 2008 at 2:29 pm
SELECT ...
FROM table1 t1
LEFT JOIN table1 t2 ON t2.key = t1.key AND t2.ID_SET_STATUS_TYPE = 3
WHERE t1.ID_SET_STATUS_TYPE = 1;
Need to identify the key column(s) for...
October 21, 2008 at 2:40 pm
DEL D:\backup\data\SPProd_Cfg _10-19-2008.bak
The above has a space following Cfg. Don't know what else I can say other than the command you have posted has that space in it which...
October 21, 2008 at 1:49 pm
Davroche (10/21/2008)
October 21, 2008 at 1:46 pm
Okay, I think I know where the problem is - however, you are going to have to determine how to fix it. The easiest way to find the problem...
October 20, 2008 at 4:05 pm
You have a space after Cfg and before the underscore which is causing the command to fail. Remove the extra space and it should work.
October 20, 2008 at 3:46 pm
Yeah, doesn't sound like simple is going to work. And yes, you need to truncate the transaction log before it will shrink. When you perform a transaction log...
October 20, 2008 at 3:37 pm
Okay, the transaction log on the source system needs to be managed. To start, what is the recovery model for that database? And, how often are you backing...
October 20, 2008 at 3:09 pm
How large is the transaction log on the system where you took the backup? Not only do you need space for the database (*.mdf), but you need space for...
October 20, 2008 at 2:49 pm
For Litespeed, you can either use 'xp_procedure' or 'xp_slssqlmaint'. I use 'xp_slssqlmaint' and set it up as:
Execute master.dbo.xp_slssqlmaint '-MAINTDEL -DELFOLDER "%backupDirectory%%database% -DELEXTENSION "%extension%" -DELUNIT "%minutes%" -DELUNITTYPE "minutes" -DELUSEAGE';
Replace the...
October 20, 2008 at 1:59 pm
You can create a non-clustered index on the column(s) you want indexed. You don't need to drop the clustered index.
October 20, 2008 at 1:08 pm
This is a simple group by query:
Select cpp.Service
,Sum(cpp.PhaseValue -(cpp.PhaseIPT + cpp.Supplier1Charge + cpp.Supplier2Charge)) As Total
From yourTable cpp
Where CPP.PhaseStartDate >=...
October 20, 2008 at 12:23 pm
nilmov (10/19/2008)
October 19, 2008 at 4:37 pm
Perry Whittle (10/18/2008)
use the following to start, stop and close the trace(must stop a trace before it can be closed. Must be closed before you can access the file)
Just to...
October 19, 2008 at 9:42 am
Leo (10/19/2008)
Sorry, I get back to you a bit late. I am not fully understanding about Transaction Log. Let say I switched my DB Model to 'SIMPLE'. I don't...
October 19, 2008 at 9:06 am
Viewing 15 posts - 6,016 through 6,030 (of 6,678 total)