Viewing 15 posts - 31 through 45 (of 79 total)
Great Rutter, and thanks.
Its working now.
Regards
Binu John
July 5, 2005 at 2:48 am
Tried this osql -SWIP-7ADLZFDZW -E -dmaster -Q"sp_msforeachdb @command1='print ?'"
But giving error like this for all databases.
Server: Msg 128, Level 15, State 1, Line 1
The name 'DBA' is not permitted in...
July 5, 2005 at 1:01 am
Try osql -SServerNameHere -E -dmaster -Q"sp_msforeachdb @command1='print "?"'"
C:\>osql -SWIP-7ADLZFDZW -E -dmaster -Q"sp_msforeachdb @command1="print '?'""
I tried your code only.WIP-7ADLZFDZW is the server name.
Regards
Binu John
July 4, 2005 at 11:58 pm
Getting the samething!!
C:\>osql -SWIP-7ADLZFDZW -E -dmaster -Q"sp_msforeachdb @command1="print '?'""
usage: osql [-U login id] ...
July 4, 2005 at 6:03 am
Getting the samething!!
C:\>osql -SWIP-7ADLZFDZW -E -dmaster -Q"sp_msforeachdb @command1="print '?'""
usage: osql [-U login id] ...
July 4, 2005 at 6:03 am
Can we delete a file in Primary filegroup??
July 1, 2005 at 1:03 am
In BOL it is mentioned that a 'separate database connection required for each open browse cursor.Each connection counts toward the total number of user connections configured on an instance of...
June 30, 2005 at 4:45 am
One doubt please..
why cant you use the msdb database for your requirement.
sysjobsteps has all the scripts which were used to create the jobs?
June 28, 2005 at 12:42 am
I located at Bangalore,India.Is there any restriction for people outside US?
June 28, 2005 at 12:07 am
dont need C: and bk_db_pro should be shared
dbcc traceon(1807)
go
BACKUP DATABASE [northwind]
TO DISK = N'\\192.168.4.23\bk_db_pro\northwind'
with format
GO
June 27, 2005 at 6:04 am
Osama,
Try this
dbcc traceon(1807)
go
BACKUP DATABASE [northwind]
TO DISK = N'\\192.168.4.23\c:\bk_db_pro\northwind.bkp'
with format
GO
Rgds
Binu john
June 27, 2005 at 4:38 am
1.Right click on Instance and click on 'edit sql server registration properties'
2.Click on button 'use sql server authentication'
3.check box 'Always prompt for username and password.
4.click on Ok button
Next time you...
June 24, 2005 at 12:38 am
If you dont want to practise, use this
declare @cmd varchar(200) , @i bigint
set @i = 0
while 1 = 1
begin
set @cmd = 'drop database db' +cast (@i as varchar(50))
...
June 23, 2005 at 2:58 am
Viewing 15 posts - 31 through 45 (of 79 total)