Viewing 4 posts - 1 through 4 (of 4 total)
Even if I put a new GO before the CREATE USER, I can't use the same variables, right? I'll have to again create the variables, set their values again which...
January 20, 2011 at 3:27 am
I need the USE statement so that the user is created in the mentioned database. If I remove GO, will the USE statement work?
Regards.
January 20, 2011 at 3:21 am
/************************
** Create command to create Logins (Server Principal) and Users (Database Principal)
**********************************/
DECLARE @defaultDatabase VARCHAR(50)
SET @defaultDatabase = 'enginedb2'
DECLARE @engineDboLogin VARCHAR(50)
SET @engineDboLogin = 'Dengine_vj'
DECLARE @engineDboUser VARCHAR(50)
SET @engineDboUser = 'Dengine_vj'
DECLARE
January 20, 2011 at 3:05 am
Its not huge. It has around 100 tables but only around 9-10 have data.
Regards.
January 18, 2011 at 4:48 am
Viewing 4 posts - 1 through 4 (of 4 total)