MSSQL DATABASE INTERVIEW QUESTIONS
Course:Microsoft SQL Server
Chapter:Chapter 5 - DDL (Data Definition Language)
Topic:CREATE TABLE
Questions Count:10
1
What is the purpose of the CREATE TABLE statement in MSSQL?
Explanation:
2
How do you specify a primary key in a CREATE TABLE statement in MSSQL?
Explanation:
3
How do you create a table with default values for columns in MSSQL?
Explanation:
4
How do you define a foreign key in a CREATE TABLE statement in MSSQL?
Explanation:
5
How do you create a table with a composite primary key in MSSQL?
Explanation:
6
How do you create a table with a unique constraint in MSSQL?
Explanation:
7
How do you create a table with an identity column in MSSQL?
Explanation:
8
How do you create a table with check constraints in MSSQL?
Explanation:
9
How do you create a partitioned table in MSSQL?
Explanation:
10
Explain a scenario where creating a table with constraints is crucial for a business application in MSSQL and describe how you would implement it.
Explanation:
