首页 > 其他 > 详细

创建表

时间:2015-05-11 12:46:50      阅读:201      评论:0      收藏:0      [点我收藏+]

 

USE  [DawnAuthority] GO   SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[tscore](    name varchar(20), subject varchar(20), score int ) ON [PRIMARY] GO SET ANSI_PADDING OFF GO  insert into [dbo].[tScore] (name,subject,score) values(‘张三‘,‘语文‘,98) insert into [dbo].[tScore] (name,subject,score) values(‘张三‘,‘数学‘,80) insert into [dbo].[tScore] (name,subject,score) values(‘张三‘,‘英语‘,90) insert into [dbo].[tScore] (name,subject,score) values(‘李四‘,‘语文‘,88) insert into [dbo].[tScore] (name,subject,score) values(‘李四‘,‘数学‘,86) insert into [dbo].[tScore] (name,subject,score) values(‘李四‘,‘英语‘,88) insert into [dbo].[tScore] (name,subject,score) values(‘李明‘,‘语文‘,60) insert into [dbo].[tScore] (name,subject,score) values(‘李明‘,‘数学‘,86) insert into [dbo].[tScore] (name,subject,score) values(‘李明‘,‘英语‘,88) insert into [dbo].[tScore] (name,subject,score) values(‘林风‘,‘语文‘,74) insert into [dbo].[tScore] (name,subject,score) values(‘林风‘,‘数学‘,99) insert into [dbo].[tScore] (name,subject,score) values(‘林风‘,‘英语‘,59) insert into [dbo].[tScore] (name,subject,score) values(‘严明‘,‘英语‘,96) /****** Object:  Table [dbo].[Department]    Script Date: 05/11/2015 23:16:23 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO    

创建表

原文:http://www.cnblogs.com/Look_Sun/p/4494031.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!