设计sql表格

        在企业管理器中建表,点击企业管理器-----控制根目录-----microsoft sql servers----sql server组-----local(windows nt)-----数据库--------hotel---表,点击右键,建表的框架,(类型, 字段名,)

在工具-----查询分析器,中插入表的内容
select * from table1
insert table1(date,name) values('1月21日','小明)


select * from news where newid=222
insert news(newid, title) values(678, 'abcd你好大家好!')
insert news(newid,title,datetime,content,newstype) values(010,'dks dkdk','2006-1-19','dkskdisii',12121)

select * from table1
insert table1(date,name) values('1月23日','江涛')
insert table1(date,name) values('1月24日','明明)




转载于:https://www.cnblogs.com/qiandan/archive/2006/01/23/322292.html

猜你喜欢

转载自blog.csdn.net/weixin_34248705/article/details/92842356