---
title: "How To Create A Database and Table in SQL Server?"  
description: "How To Create A Database and Table in SQL Server?"  
author: "Anonymous User"  
published: 2018-07-31  
updated: 2018-07-31  
canonical: https://www.mindstick.com/forum/34638/how-to-create-a-database-and-table-in-sql-server  
category: "mssql server"  
tags: ["database", "sql server"]  
reading_time: 1 minute  

---

# How To Create A Database and Table in SQL Server?

\

## Replies

### Reply by Anonymous User

Step 1: First Create A Data Base

```
Create Database APCRUD
  and	Use APCRUD
```

Step 2: – Create a Table like Customer

```
Create Table Contact
(
ContactID int Primary Key Identity (1,1),
Name  varchar(50),
Mobile  varchar(50),
 Address  varchar(250)
)
```

Then after -> Go to the objectExplorer window in a sqlserver and select database and done refresh -> select CRUD database and open it -> Select Table and done RightClick -> Select Edit Top 200 rows for insert some record and execute.


---

Original Source: https://www.mindstick.com/forum/34638/how-to-create-a-database-and-table-in-sql-server

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
