Design sql table

        Built in Enterprise Manager table, click Enterprise Manager ----- control root directory ----- microsoft sql servers ---- sql server group ----- local (windows nt) ----- database -------- hotel --- table, right-click on the frame construction of the table, (type, field names)

in the tool ----- query analyzer, insert a table of contents
select * from table1
insert table1 (date, name) values ( ' January 21', 'Xiao Ming)


the SELECT * from News the WHERE NEWID = 222
INSERT News (NEWID, title) values (678,' ABCD hello hello, everyone! ')
INSERT News ( NEWID, title, datetime, Content, newstype) values (010, 'DKS dkdk', '2006-1-19', 'dkskdisii', 12121)

SELECT * from table1
INSERT table1 (DATE, name) values ( 'January 23, day, '' Jiang Tao ')
INSERT table1 (dATE, name) values (' January 24 ',' obviously)




Reproduced in: https: //www.cnblogs.com/qiandan/archive/2006/01/23/322292.html

Guess you like

Origin blog.csdn.net/weixin_34248705/article/details/92842356