Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
dbasa
Starting Member
1 Post |
Posted - 2008-12-31 : 16:35:33
|
| I've been reading about schema's and at first it sounded like the schema was the same as the database because the schema has tables...and the database has tables. So I'm a little comfused...If a user can be associated with a specific schema and reference a table with server.schema.table, isn't that the same as server.db.table.Whats the difference? |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
pkj1383
Starting Member
3 Posts |
Posted - 2009-01-01 : 07:55:55
|
| hi dbasa,schema is group of objects by using that we can give specific rights to the all object of schema.if you not use schema u have assign rights to the every table in user property.by using role dbowner u can give all rights but for some restricts it is better to use schema.Prashant Joshi |
 |
|
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2009-01-01 : 11:08:04
|
quote: Originally posted by pkj1383 hi dbasa,schema is group of objects by using that we can give specific rights to the all object of schema.if you not use schema u have assign rights to the every table in user property.Why have to assign rights to all tables? It can be achieved by user-defined role as well.by using role dbowner u can give all rights but for some restricts it is better to use schema.Prashant Joshi
|
 |
|
|
|
|
|