SQL Server on Linux的安装(4)

1> select name from sys.databases;
2> go
name
--------------------------------------------------------------------------------------------------------------------------------
master
tempdb
model
msdb
test

创建表hwtable:

1> create table hwtable ( id int, name varchar(20), gender varchar(20), age int);
2> go

插入数据:

1> insert into hwtable values (1, 'weiheng','male',20);
2> go

查询:

1> select * from hwtable;
2> go
id name gender age
----------- -------------------- -------------------- -----------
1 weiheng male 20
 
(1 rows affected)

MSSQL Sever On Linux就这样安装完成了!

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/1d1b9921e43335f3c729a21eeb76de78.html