Viewing 15 posts - 196 through 210 (of 307 total)
Script solving your sp_helpfile issue..
DECLARE @db varchar(1024)
DECLARE @statement varchar(1024)
CREATE TABLE helpfile
(
name varchar(22),
fileid int,
filename varchar(4000),
filegroup nvarchar(100),
size varchar(15),
maxsize varchar(100),
growth varchar(15),
usage varchar(200) )
DECLARE db CURSOR FOR
SELECT name FROM master..sysdatabases
OPEN db
FETCH NEXT FROM...
November 27, 2007 at 10:49 pm
Got this script from one of the topics here in sqlservercentral
select
name as [DB_NAME]
, isnull(case when status & 1 = 1 then 'autoclose' else null end + ',', '')
+ isnull(case...
November 27, 2007 at 6:58 pm
If you want to script out users from production database to your stand by database hope this script of mine can help you. Just run this script to your production...
November 26, 2007 at 2:51 am
Thanks for the correction James like i said in my first post this scripts has limitations hmm just revised it to add the recreation of index can someone check this...
November 25, 2007 at 11:39 pm
dhara is right you can use DTS for transferring tables but if you want to use a script there are some that can provide you what you want just like...
November 21, 2007 at 7:58 pm
Thank you very much very well said....
November 14, 2007 at 1:43 am
Wow very informative thanks..
Some clarifications..
1. In cases where in production server fails and i can make a last tlog backup from it you are saying that i must apply first...
November 13, 2007 at 8:20 pm
First of all thanks for the link that you gave me ill browse to see if there are informations in there regarding my problem. As to our connectivity yes its...
November 13, 2007 at 5:45 pm
How big is your data and transaction log file?? i think you can truncate then shrink your transaction log but truncating and shrinking the data is not recommended. If you...
November 12, 2007 at 6:31 pm
The publisher has a table called holiday table which is the list of declared national holiday and it must be sync with the branch databases (Bank). I used snapshot replication...
November 12, 2007 at 5:38 pm
I think sql 7 and 2000 is the same when it comes to truncate and shrink. Just be informed that in most cases database didn't shrink or truncate because it...
November 11, 2007 at 6:13 pm
Another question... I thought SP4 is an updated version of SP3 (correct me if im wrong) so if i applied SP4 in a SP3 database its like applying additional features...
November 8, 2007 at 6:33 pm
Viewing 15 posts - 196 through 210 (of 307 total)