Re: Create Database

From: Usman (jathol@hotmail.com)
Date: 03/19/03


From: "Usman" <jathol@hotmail.com>
Date: Tue, 18 Mar 2003 16:25:54 -0800


well.
chaeck if you are using Windows authentication...
go for SQL

thanks
Usman
"Roy" <rx46@hotmail.com> wrote in message
news:0c6a01c2ecf7$be0e7150$a301280a@phx.gbl...
> I have installed sql server 2000 on two systems.
> I add my domain account to the system administrion group
> on the second system.
> I add a new sql server registration on the 1st system so
> that it point to the sql server on the 2nd one.
> I launch the Query Analizer and connect to the sql server
> on the 2nd system by using the previous account. Run a
> script to CREATE DATABASE. It fails by telling me that
> there is a permission problem.
> If I run the script on the query analyzer of the 2nd
> system directly, it is successful. So the script itself
> is correct.
> Why can't I create the db on the 2nd system from the 1st
> system by connecting the query analyzer in this case?



Relevant Pages

  • Re: Error 15401 using sp_grantlogin (not addressed by current KB articles)
    ... Restarting Windows 2000 resolved the problem for this particular account, ... confused when it sees a duplicate SID. ... > One way to get SQL Server to agree with the renamed NT ... > Preview (to ensure the script was created), ...
    (microsoft.public.sqlserver.security)
  • Re: SP4 Installation Problem on Win2000/SQL Enterprise Edit.
    ... Hmm...didn't helped (the manual MDAC installation)... ... I’ve tried running the script from Query Analyzer as well. ... > Jasper Smith (SQL Server MVP) ... This should indicate why the script failed. ...
    (microsoft.public.sqlserver.setup)
  • Re: Scripting a SQL database
    ... Virtually everything SQL Server Enterprise Manager does can be ... To run the generated script in ASP, ... You can also create a DTS (Data Transformation Package) ... that you'll want to select the "copy database objects and data" ...
    (microsoft.public.inetserver.asp.db)
  • Re: SQL Security
    ... except I'm having problems making it work in a script. ... ;Set properties of DB objects and open connection to database ... > from Books Online (within the SQL Server program group): ... > communicate with SQL Server. ...
    (microsoft.public.sqlserver.server)
  • Re: Scripting a SQL database
    ... Virtually everything SQL Server Enterprise Manager does can be ... To run the generated script in ASP, ... You can also create a DTS (Data Transformation Package) ... that you'll want to select the "copy database objects and data" ...
    (microsoft.public.sqlserver.server)

Quantcast