|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, February 25, 2008 6:26 AM
Points: 7,
Visits: 27
|
|
I have been assigned to teach db lab. we have sql server 2005 installed in the server, and the students are supposed to work on the sql analyzer.
I did create a user account through the EM from the server, but could't connect with it from the sql query analyzer. to connect I put the IP address in the computer box, then the user name & password that I created!! I'm not sure if that's how it should be done
I have never done this before, I'm really lost. Please help me.
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 5:02 AM
Points: 2,365,
Visits: 1,825
|
|
Hi
What exactly is the error that you get?
Have u actually created the login and the user. The user must be created in the database that you are trying to connect. Can u view the login & the user through EM.
In the SQL query analyzer put the instance name of SQL server.
"Keep Trying"
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, February 25, 2008 6:26 AM
Points: 7,
Visits: 27
|
|
Thanks for your help. it is silly but I realized that I was using the server user & pwd instead of the one I created in the EM to access the sql server mng
now all I have to do is create a user account for each student. how can I make sure each user can only see the db they created?
Thank you so much
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 5:02 AM
Points: 2,365,
Visits: 1,825
|
|
Hi
Sorry for the delay in reply.
U will have to create a separate login for each student. Then in the students respective database u can create the database user corresponding to the students login.
"Keep Trying"
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, February 25, 2008 6:26 AM
Points: 7,
Visits: 27
|
|
I assigned the students to one database (master) and during class they were all working on the same db. how can I change their db ownership without having to recreate the accounts?
Thank You,
|
|
|
|
|
Right there with Babe
      
Group: General Forum Members
Last Login: Friday, May 03, 2013 4:27 AM
Points: 798,
Visits: 983
|
|
you want to change the default database for the login or to set the login as dbo for their database? if you can explain a bit please
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 5:02 AM
Points: 2,365,
Visits: 1,825
|
|
Hi
Give us the exact details that you want and then we can try.
Will each student will have his own database or will all students have a single common database.
have u created logins.
do each of them login with their own logins
"Keep Trying"
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, February 25, 2008 6:26 AM
Points: 7,
Visits: 27
|
|
Yes, each student has their own log in( user & pwd). & they should have their own db. so that they can create tables and modify it as we go along. But what I did was that I created one database and I set some students ownership to it. and the other students to the master db. so now I'm stuck with two db full of data entered by different students. When they should each have their own.
should I just create one for each of them & then have them reexecute their queries next class? or can they create a db from the query analyzer?
Thank you so much.
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Thursday, August 04, 2011 3:46 PM
Points: 230,
Visits: 196
|
|
| HI, I think its best for yu to create the database for each one so you have control and Assign a single user to single database. That way the users dot have access to others databases
|
|
|
|
|
Right there with Babe
      
Group: General Forum Members
Last Login: Friday, May 03, 2013 4:27 AM
Points: 798,
Visits: 983
|
|
| i think you should create the database for each student, bind the login to it(i mean, give permission to the database only for the login and set the db as default for the login)... and ask them to re-do the work if needed (if you have the time and possibility, you could move the objects yourself maybe)
|
|
|
|