Viewing 15 posts - 1 through 15 (of 659 total)
Paul White NZ (4/3/2010)
Mike Levan (4/3/2010)
No, I dont have NULL 's from the query result.
There are lots of possibilities here, so I'm going to take them one by one.
Does the...
April 3, 2010 at 6:50 am
bhuvanesh
I think Paul was asking if i had OFF in my query session but NO either in job or query session i am explicitly using " ON "
April 3, 2010 at 6:42 am
No, I dont have NULL 's from the query result.
April 3, 2010 at 6:36 am
Lynn Pettis (3/23/2010)
March 23, 2010 at 7:07 am
Lynn
May be you are missing exec (@SQLCmd); after creating a user.
April 9, 2009 at 11:57 am
Lynn I aggree with you, may code has errors.
that was the rough idea i gave to Tara.
Lynn
When you said she has to run code on each server instead can she...
April 9, 2009 at 11:43 am
I think Tara wants to check dbname from 4 different servers and more over she dont need to give create command, she can directly create database as it is being...
April 9, 2009 at 11:20 am
CREATE PROCEDURE CreateNewClientDatabase
@DBName varchar (128),
@Username varchar (30)
WITH EXECUTE AS 'dbo'
AS
if not exists(select dbid from master.sysdatabases where name = @DBName)
CREATE DATABASE @DBName
print 'Database @DBName Created'
else
raiserror("Database already exists.",3)
CREATE USER...
April 9, 2009 at 10:44 am
That server do not have the capacity to copy all the databases, more over those databases are very big we can not afford to have a copu over there.
Also to...
April 7, 2009 at 9:08 am
yes that is the problem you can try to look if there is any chance from any kind of DMV's which give you that information.
April 6, 2009 at 2:10 pm
Actually here is what i am trying to acheive..
I have PRoduction and Stage Server.
1. Restore production database "Employees" backup onto stage
2. Update stage with latest data
3. Backup stage and restore...
April 4, 2009 at 1:30 pm
may be i have restore it again.
Can i use a single bak file to restore on 2 servers simultaneously.
April 2, 2009 at 2:05 pm
ofcourse i am doing that else how can irun it without EXEC command but my doubt is different.
April 1, 2009 at 8:15 am
guys i didnt follow what that script id doing, but Tara wants to allows a non sys admin to grant access to windows users for the particular databases where database...
March 31, 2009 at 7:25 pm
Viewing 15 posts - 1 through 15 (of 659 total)