创建表
This commit is contained in:
parent
d2efbf40cb
commit
8d5940af35
15
数据库/头歌/创建表/创建表.sh
Normal file
15
数据库/头歌/创建表/创建表.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
sqlcmd -S localhost -U sa -P '<123123Aa!@>'
|
||||||
|
|
||||||
|
CREATE DATABASE TestDb;
|
||||||
|
go
|
||||||
|
|
||||||
|
USE TestDb;
|
||||||
|
go
|
||||||
|
CREATE TABLE t_emp
|
||||||
|
(
|
||||||
|
id INT,
|
||||||
|
name VARCHAR(32),
|
||||||
|
deptId INT,
|
||||||
|
salary FLOAT
|
||||||
|
)
|
||||||
|
go
|
Loading…
x
Reference in New Issue
Block a user