Answers

Question and Answer:

  Home  SQL Server DB Administrator

⟩ Explain what is a Schema in SQL Server 2005? Explain how to create a new Schema in a Database?

A schema is used to create database objects. It can be created using CREATE SCHEMA statement. The objects created can be moved between schemas. Multiple database users can share a single default schema.

CREATE SCHEMA sample;

Table creation

Create table sample.sampleinfo

{

id int primary key,

name varchar(20)

}

 151 views

More Questions for you: