Viewing 9 posts - 1 through 9 (of 9 total)
1)use db_name
2) set the database recovery to simple - sp_dboption 'db_name', 'trunc. log on chkpt.', true
3) write a store produre to delete about 10000 per loop. After each loop...
April 28, 2011 at 10:49 am
try renamming the server
1) sp_dropserver 'OldServerName'
2) sp_addserver 'NewServerName', local
3) then Retstart mssql
to verify -- select * from master..sysservers
the NewServerName ...
February 2, 2011 at 10:34 am
drop all indexes then BCP in data (fast bcp). After BCP is done recreate the indexes.
February 1, 2011 at 8:21 am
i usuually uninstall and reinstall with correct collation. I believe you can't use your present databases in the new collation you are trying to re-create the instance with.
August 28, 2008 at 9:18 am
this may help
How to run profiler in batch mode:
start profiler and create new trace -- click - save to file, roll over & max. file size 100 meg then select...
August 1, 2008 at 11:59 am
see if this helps
declare @dumpdest char(100)
declare @date varchar(20)
select @date = convert(varchar,getdate(),112) + convert(varchar,getdate(),108)
select @date = stuff(@date,charindex(':',@date),1,'_')
select @date = stuff(@date,charindex(':',@date),1,'_')
set @dumpdest = 'c:\junk\db1_' + @date + '.tdmp'
backup log db1 to...
January 17, 2008 at 8:15 am
Aaaaah! this is music to my ears!
July 3, 2007 at 7:54 am
BCP out the two tables to saprate files use NT/Unix diff utility
H. Singh
February 2, 2006 at 11:35 am
Viewing 9 posts - 1 through 9 (of 9 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy