How to Create Tables

来源:互联网 发布:数字规律软件 编辑:程序博客网 时间:2024/05/22 02:09

It's easy to create tables in sql server.  

 

There are 2 ways to accomplish this task. 

 

Image

 

  1. Right click Tables, in the menu, select Table. 

Design your table on the right side. 

  1. Insert data by command lines. This will be introduced later. 

 

Or you can use import feature to import excel into database. 

Image

Right click your database, click Import Data… 

 

Image

 

In this step click excel, browse the location, then next, here is a Test File for you,  names and student numbers all  

fake. 

  

<<MS course.xlsx>>

 

Image

 

Next step, select SQL server Native Client 11.0 in the drop down. 

Image

 

Then select which work sheet you want to import, here you can edit the file name. 

Image

 

Run immediately 

Image

 

Image


Then done! 

 

You can check this at any time here. 

 

Image
0 0
原创粉丝点击