Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sub-Schemas in SQL Server 2005/2008

This is a simple question yet I was unable to find any information at all about this.

Is it possible to have sub-schemas in SQL Server 2005/2008?

Example: Having a HR (Human Resources) schema with a sub-schema called Training (with tables related to this). It would end up like HR.Training.* where * would be the tables.

like image 795
Diogo Gomes Avatar asked Apr 28 '26 09:04

Diogo Gomes


1 Answers

No. You could fake this with roles by putting different users into different roles and allowing those roles to use objects.

like image 164
Mladen Prajdic Avatar answered Apr 30 '26 00:04

Mladen Prajdic