createtables.sql
来自「windows mobile 开发实例wi ndows mobile 开发实例」· SQL 代码 · 共 20 行
SQL
20 行
DROP TABLE Products
GO
DROP TABLE Categories
GO
CREATE TABLE Categories
( CategoryID integer not null primary key
, CategoryName nchar(20) not null
)
GO
CREATE TABLE Products
( ProductID integer not null primary key
, ProductName nchar(20) not null
, CategoryID integer not null
, CONSTRAINT XXX foreign key (CategoryID) references Categories(CategoryID)
)
GO
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?