Sunday, February 19, 2012

Installing SQL

Hi;
I am new to sql. I want to install MSSQL 2000 and have connectivity ( I am
learning DB design). I do not know how to setup the SQL Executive account. I
think it has something to do with network. I am using single PC ( no
network). I need server and client on my PC and don't know how to do it,.
Could somebody explain how to do it or point me to book or any material how
to do it so I can connect to DB, please.
Thanks in advance.jan (janpiasz@.sympatico.ca) writes:
> I am new to sql. I want to install MSSQL 2000 and have connectivity ( I
> am learning DB design). I do not know how to setup the SQL Executive
> account. I think it has something to do with network. I am using single
> PC ( no network). I need server and client on my PC and don't know how
> to do it,. Could somebody explain how to do it or point me to book or
> any material how to do it so I can connect to DB, please.

You mean the account under which SQL Server is to run?

The easiest way is to use the local system account, then you don't need
passwords or anything.

Else right-click on My Computer and choose Manage. Somewhere there,
you should be able to add users to your machine. Exactly how depends
on the OS you are running.

--
Erland Sommarskog, SQL Server MVP, sommar@.algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp|||Yes, I read a book about MSSQL but I still can't do it. Local account does
not give me the possibility to connect to DB. for example I make ER diagram
in some kind of software, the software is suppose to generate SQL script
that is suppose to be ported to lets say Access. When I want to port the
script the ER program asks me for user name and password, I think it is the
password from SQL Executive and I am stuck. Is it possible to setup MSSQL
on a single PC to have server and client?

"Erland Sommarskog" <sommar@.algonet.se> wrote in message
news:Xns948D5D54F709Yazorman@.127.0.0.1...
> jan (janpiasz@.sympatico.ca) writes:
>> I am new to sql. I want to install MSSQL 2000 and have connectivity ( I
>> am learning DB design). I do not know how to setup the SQL Executive
>> account. I think it has something to do with network. I am using single
>> PC ( no network). I need server and client on my PC and don't know how
>> to do it,. Could somebody explain how to do it or point me to book or
>> any material how to do it so I can connect to DB, please.
> You mean the account under which SQL Server is to run?
> The easiest way is to use the local system account, then you don't need
> passwords or anything.
> Else right-click on My Computer and choose Manage. Somewhere there,
> you should be able to add users to your machine. Exactly how depends
> on the OS you are running.
>
> --
> Erland Sommarskog, SQL Server MVP, sommar@.algonet.se
> Books Online for SQL Server SP3 at
> http://www.microsoft.com/sql/techin.../2000/books.asp|||Thanks; I think the key to solve my problems with setting up the account is
that I used Control panel to set it up. You say that I should use My
Computer/Manage, I think this is it. Thanks.
Jan

"Erland Sommarskog" <sommar@.algonet.se> wrote in message
news:Xns948D5D54F709Yazorman@.127.0.0.1...
> jan (janpiasz@.sympatico.ca) writes:
>> I am new to sql. I want to install MSSQL 2000 and have connectivity ( I
>> am learning DB design). I do not know how to setup the SQL Executive
>> account. I think it has something to do with network. I am using single
>> PC ( no network). I need server and client on my PC and don't know how
>> to do it,. Could somebody explain how to do it or point me to book or
>> any material how to do it so I can connect to DB, please.
> You mean the account under which SQL Server is to run?
> The easiest way is to use the local system account, then you don't need
> passwords or anything.
> Else right-click on My Computer and choose Manage. Somewhere there,
> you should be able to add users to your machine. Exactly how depends
> on the OS you are running.
>
> --
> Erland Sommarskog, SQL Server MVP, sommar@.algonet.se
> Books Online for SQL Server SP3 at
> http://www.microsoft.com/sql/techin.../2000/books.asp|||jan (janpiasz@.sympatico.ca) writes:
> Thanks; I think the key to solve my problems with setting up the account
> is that I used Control panel to set it up. You say that I should use My
> Computer/Manage, I think this is it. Thanks.

Sorry, if I pointed you to the wrong place. That's a Windows issue and not
an SQL Server thing, so I blame it on that.

Any way, judging from your other post, I might have misunderstood your
question. The username/password you set up in the Control Panel is the
account with which SQL Server itself logs into Windows.

But if you use a data-modelling tool for ER diagrams, this tool ask you
for username/password to log into SQL Server, and that's a different
thing.

There are two ways to log in to SQL Server: Windows authentication and
SQL Server authentication. With Windows authentication, you don't provide
username and password, but SQL Server checks you credentials with Windows,
and if your Windows user have been granted access to SQL Server you are
let in. With SQL Server authentication, you provide username and password
and SQL Server looks them up in its internal register, and Windows is
not involved.

Windows authentication is preferrable in terms of security and simplicity.
Therefore, you need to configure SQL Server to accept SQL authentication.
But in the beginning, SQL authentication was all there was. So it might
be that your ER tool does not know about trusted connection, and prompts
you for a username/password. You can activate SQL authentication from
Enterprise Manager. Right-click the server, and choose Property and
head for the Security tab. From EM you can also create SQL Logins and
set their passwords. To have them to run the ER tool, you may have give
them privileges in the database; since this is a standalone machine, you
easiser may be to add them to the sysadmin role. Also, there is a built-in
user "sa" which has rights everywhere in the database. Check that this
user does not have a blank password, because that is very bad.

--
Erland Sommarskog, SQL Server MVP, sommar@.algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp|||jan (janpiasz@.sympatico.ca) writes:
> Thanks for your help, but it does not work because I am missing 'Model
> Manager'.
> It takes to much time and I must be doing something wrong. I know too
> little about MSSQL, but it will come (I hope in this lifetime ;-)).

"Model Manager"? Do you mean that you do not have Enterprise Manager?

Indeed, if all you have is MSDE, you don't have Enterprise Manager. In
such case this KB article covers this case:
http://support.microsoft.com/default.aspx?scid=325022.

But I have to confess that I am only guessing what your problem really
is.

--
Erland Sommarskog, SQL Server MVP, sommar@.algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp|||No it is called 'ModelMart' in ERWIN, I don't know where to find it. The
demo model doesn't have it.
Jan
"Erland Sommarskog" <sommar@.algonet.se> wrote in message
news:Xns9490CE17536F4Yazorman@.127.0.0.1...
> jan (janpiasz@.sympatico.ca) writes:
>> Thanks for your help, but it does not work because I am missing 'Model
>> Manager'.
>> It takes to much time and I must be doing something wrong. I know too
>> little about MSSQL, but it will come (I hope in this lifetime ;-)).
> "Model Manager"? Do you mean that you do not have Enterprise Manager?
> Indeed, if all you have is MSDE, you don't have Enterprise Manager. In
> such case this KB article covers this case:
> http://support.microsoft.com/default.aspx?scid=325022.
> But I have to confess that I am only guessing what your problem really
> is.
> --
> Erland Sommarskog, SQL Server MVP, sommar@.algonet.se
> Books Online for SQL Server SP3 at
> http://www.microsoft.com/sql/techin.../2000/books.asp|||You dont NEED model mart to use erwin. Just patience.

"jan" <janpiasz@.sympatico.ca> wrote in message news:<FvSYb.9274$d34.1112877@.news20.bellglobal.com>...
> No it is called 'ModelMart' in ERWIN, I don't know where to find it. The
> demo model doesn't have it.
> Jan
> "Erland Sommarskog" <sommar@.algonet.se> wrote in message
> news:Xns9490CE17536F4Yazorman@.127.0.0.1...
> > jan (janpiasz@.sympatico.ca) writes:
> >> Thanks for your help, but it does not work because I am missing 'Model
> >> Manager'.
> >> It takes to much time and I must be doing something wrong. I know too
> >> little about MSSQL, but it will come (I hope in this lifetime ;-)).
> > "Model Manager"? Do you mean that you do not have Enterprise Manager?
> > Indeed, if all you have is MSDE, you don't have Enterprise Manager. In
> > such case this KB article covers this case:
> > http://support.microsoft.com/default.aspx?scid=325022.
> > But I have to confess that I am only guessing what your problem really
> > is.
> > --
> > Erland Sommarskog, SQL Server MVP, sommar@.algonet.se
> > Books Online for SQL Server SP3 at
> > http://www.microsoft.com/sql/techin.../2000/books.asp|||I understand, but I want to port models to SQL 2000 or Access and don't now
haw to do it. If you know how to do it please let me know.
Thanks, Jan

"WangKhar" <Wangkhar@.yahoo.com> wrote in message
news:bb269444.0402190336.504db7df@.posting.google.c om...
> You dont NEED model mart to use erwin. Just patience.
> "jan" <janpiasz@.sympatico.ca> wrote in message
> news:<FvSYb.9274$d34.1112877@.news20.bellglobal.com>...
>> No it is called 'ModelMart' in ERWIN, I don't know where to find it. The
>> demo model doesn't have it.
>> Jan
>> "Erland Sommarskog" <sommar@.algonet.se> wrote in message
>> news:Xns9490CE17536F4Yazorman@.127.0.0.1...
>> > jan (janpiasz@.sympatico.ca) writes:
>> >> Thanks for your help, but it does not work because I am missing 'Model
>> >> Manager'.
>> >> It takes to much time and I must be doing something wrong. I know too
>> >> little about MSSQL, but it will come (I hope in this lifetime ;-)).
>>> > "Model Manager"? Do you mean that you do not have Enterprise Manager?
>>> > Indeed, if all you have is MSDE, you don't have Enterprise Manager. In
>> > such case this KB article covers this case:
>> > http://support.microsoft.com/default.aspx?scid=325022.
>>> > But I have to confess that I am only guessing what your problem really
>> > is.
>>> > --
>> > Erland Sommarskog, SQL Server MVP, sommar@.algonet.se
>>> > Books Online for SQL Server SP3 at
>> > http://www.microsoft.com/sql/techin.../2000/books.asp

No comments:

Post a Comment