Viewing 15 posts - 286 through 300 (of 692 total)
You'll have to restore it with all 4 files.
Then, you'll need to use the DBCC SHRINKFILE command with the EMPTYFILE option to move all the data out of the file...
December 3, 2004 at 11:47 am
There is absolutely no doubt that it would have been cheaper and more fun, and I'd probably have more hair!
Steve
Oh, and I checked that book cover, and, umm, I still...
December 3, 2004 at 11:37 am
Joe,
Speak for yourself! I weigh nearly twice what I did in the 70's! And I think the only clothes that I still have from back then is the coveralls...
December 3, 2004 at 10:46 am
When I first became a SQL DBA, SWYNK.com was THE website to go to for help, reference, scripts, etc. I spent a lot of time...
December 3, 2004 at 10:35 am
If its always from the same machine, put a key-logger on it. That'd give you concrete proof.
Steve
December 3, 2004 at 9:58 am
Yes, of course. Sorry about that. However, the general idea will still work. Just plug in @strTableName where I have tmpCDR_Hold_Table in the IF EXISTS
Steve
December 2, 2004 at 7:44 am
Another possibility is that they realized that the full backup wasn't truncating the log, and added the log backup to achieve that, without considering recoverability at all.
Steve
December 1, 2004 at 10:57 am
Its not leakage. SQL, by default, will grab memory from the system as it needs it and will keep it unless another process needs it. So, if at some point,...
December 1, 2004 at 10:50 am
Here's a stored procedure that will delete backup files based on the age given in the filename. Note that it gets retention information and the path for the backups from...
November 30, 2004 at 3:58 pm
Here's some code that will include the date and time in your backup name -
DECLARE
@BKdate varchar(20),
@BKExec varchar(200),
@BKDevice varchar(200),
@path varchar(150),
@DBname varchar(30)
SET @path = 'X:\SQL_Backups\'
SET @DBname = 'PUBS'
SELECT @BKdate= CONVERT(varchar(26),getdate(),21)
SELECT...
November 30, 2004 at 3:53 pm
You can check for the existence of the table before the insert, raise your error if the table doesn't exist, and bypass the insert statement.
if exists (select * from sysobjects...
November 30, 2004 at 2:01 pm
You said that you can't get them to shut everything down and bring up one by one. Can you get them to bring clients down one by one? Bring one...
November 30, 2004 at 12:47 pm
Its a "typematch error". Basically, you're trying to load a non-numeric character into a numeric field, or a non-date value into a datetime field.
Steve
November 30, 2004 at 12:33 pm
For the record-
I just checked our MSDE instance, and sp_oacreate and its partners exist in the extended stored procedures grouping in Enterprise Manager.
Steve
November 30, 2004 at 11:54 am
Here's a sample that I have saved on my harddrive. It should get you going...
declare
@command nvarchar(1000),
@parmlist nvarchar(100),
@fname varchar(20),
@lname varchar(20)
set @lname = 'accorti'
set @command = N'select @fname = fname from...
November 24, 2004 at 3:11 pm
Viewing 15 posts - 286 through 300 (of 692 total)