Re: Error accessing sql server
From: Brian Brown (BrianBrown_at_discussions.microsoft.com)
Date: 01/25/05
- Next message: Bruce Wood: "Re: Difference between <summary> and <value> tags"
- Previous message: Bela Istok: "Re: OutOfMemory Exception"
- In reply to: Ricardo: "Re: Error accessing sql server"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 25 Jan 2005 11:11:01 -0800
Ricardo,
You can do this using osql. First open a command prompt and type in osql -U
<username>. Once you are logged in you can grant the user access to the
database just type in sp_grantlogin <username> then GO. After the user has
access to the database you can grant the user specific permissions to the
tables/stored procedures/views/etc. (e.g. GRANT SELECT ON <tablename> TO
<username>).
I hope this helps.
- Next message: Bruce Wood: "Re: Difference between <summary> and <value> tags"
- Previous message: Bela Istok: "Re: OutOfMemory Exception"
- In reply to: Ricardo: "Re: Error accessing sql server"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|