Viewing 15 posts - 4,726 through 4,740 (of 4,744 total)
do not copy the master database. Look up script sp_help revlogin and use that to copy logins or use the dts transfer logins task as servers on same network. Check...
April 26, 2007 at 3:49 am
so anyway, can I have my point for saying write performance is worse please.
April 26, 2007 at 3:38 am
are the default database file locations in EM defined with a \ at the end? if so , remove it
April 24, 2007 at 4:32 am
if the server name and ip address is the same you should be fine moving system database as long as SQL versions and directory strucures are identical. Just bring SQL...
April 24, 2007 at 4:29 am
had something simialar (but not identical) and it was down to permissions service account had on the registry, in particular HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\SuperSocketNetLib
there is a...
April 19, 2007 at 4:53 am
david, that's great, thanks. I knew it would be embaressingly easy
April 18, 2007 at 6:56 am
try this:
set quoted_identifier off
declare @statement nvarchar(255)
select @statement = 'BACKUP database [dbname] to disk = '+"'" +
'\\servername\E$\fullpath\dbname_db_' +
CONVERT(varchar(4), datepart(yy, getdate()))+
right('0' + CONVERT(varchar(2), datepart(mm, getdate())),2)+
right('0' + CONVERT(varchar(2), datepart(dd, getdate())),2)+
right('0'...
April 18, 2007 at 5:38 am
David,
I am trying to produce the sp_dropuser and sp_grantdbaccess commands for all users in the database, with the quotes required for windows authenticated users, i.e.
exec sp_dropuser 'username'
exec sp_grantdbaccess 'domain\name','name'
Its getting...
April 18, 2007 at 2:38 am
reindexing actions are stored in the tran log so yes the effects are seen on the standby. If it goes in the log it happens on the other side.
If the...
April 17, 2007 at 4:45 am
sp_help_revlogin works great and is possibly the most useful script I have used.
However remember it does not set default database, default language or asign any server roles so you may...
April 16, 2007 at 5:36 am
if you are restoring via QA also include the stats parameter which will record progress for you in percentage terms
April 13, 2007 at 3:45 am
greg, thanks for that. The script also pointed me towards sp_drop_dtspackage in msdb which can beused to drop specific versions of a package, but you have to give it versionid.
george
April 12, 2007 at 5:04 am
I believe this happens when the ID is not explicitly defined as a user but gets its access via group membership, sql agent is not able to determine if user...
April 10, 2007 at 3:57 am
if you are sure you're tran log only is corrupt and you have no backups, you can try detaching the database then reattach with sp_attach_single_file_db, specifying .mdf only (see BOL)
restore...
April 3, 2007 at 10:44 am
you probably have an open transaction that is preventing the log being truncated. in the database run command 'dbcc opentran' , this will tell you oldest open command (with its...
March 28, 2007 at 9:12 am
Viewing 15 posts - 4,726 through 4,740 (of 4,744 total)