Viewing 15 posts - 9,166 through 9,180 (of 9,248 total)
jsgault (7/14/2008)
Thanks for your help everyone. It is working now, hooray!!
well done!!
jsgault (7/14/2008)
July 17, 2008 at 10:54 am
srbrewster (7/17/2008)
I need the query to determine the mdf file location of a database.
just change fileid to 1 instead of 2 as below
select a.name, b.name as 'Logical filename', b.filename from...
July 17, 2008 at 10:49 am
if you have the original SP2 file sitting around on the network remove it and replace it with the latest so it doesnt get re deployed in future 😉
July 17, 2008 at 10:47 am
what disk set up (RAID arrays, etc) are you using on your SQL server
July 17, 2008 at 10:44 am
you don't need to detach the database
set the database offline using
ALTER DATABASE mydatabase SET OFFLINE
you can then do what you like with the disk files (even delete them). Move the...
July 17, 2008 at 10:38 am
what state do you require the replicated database to be in?
standby or full access
July 17, 2008 at 6:20 am
rinu philip (7/16/2008)
Now if the target size is not reached with the above command, we can go on to truncate the...
July 17, 2008 at 3:21 am
Ratheesh
i would install SQL2005 developer alongside as a separate instance.
move databases, logins, etc to the new instance.
remove the old one when finished.
script the logins off using the MS script at
http://support.microsoft.com/kb/246133
detach...
July 17, 2008 at 3:15 am
i'm using Redgate SQL Backup v5.x, its a great product offering good speed and very high compression. It also gives us 256bit encryption which we need for our backups. Very...
July 16, 2008 at 4:29 pm
hi yes you can move the files and also add new files
First set the database offline.
Copy the current disk files to the new location.
Use the "ALTER DATABASE MODIFY FILE"...
July 16, 2008 at 3:50 pm
at the end of the day SQL Server is just another application, the OS is the fundamental part of the equation. Every DBA whether Oracle\SQL\etc should understand and be able...
July 16, 2008 at 3:45 pm
Jay Murthy (7/16/2008)
declare @val1 varchar(25),@VAL2 varchar(25)
SET @val1 = ''
SET @VAL2 = 'W'
If 'W' In(@val1,@VAL2)
Begin
PRINT...
July 16, 2008 at 11:05 am
yes, its under HKLM\SYSTEM\currentcontrolset\services but i find a WMI query easier personally
July 16, 2008 at 10:06 am
here you go try this, reports database name, logical filename and log file locations for all databases on an instance
select a.name, b.name as 'Logical filename', b.filename from sys.sysdatabases a
inner...
July 16, 2008 at 9:53 am
Viewing 15 posts - 9,166 through 9,180 (of 9,248 total)