schema in sql server 2008 -
what difference between creating ordinary tables using 'dbo' , creating tables using schemas.how schema works & supports tables
a schema container db objects - tables, views etc. allows structure large database solution might have. sample, have @ newer adventureworks sample databases - have number of schemata included, "humanresources" , forth.
a schema can security boundary, e.g. can give or deny users access schema whole. schema can used keep tables same name apart, e.g. create "user schema" each user of application, , have "settings" table in each of them, holding user's settings, e.g. "bob.settings", "mary.settings" etc.
in experience, schemata not used in sql server. it's way organize database objects containers, unless have huge amount of database objects, it's won't use much.
Comments
Post a Comment