我是 sql 新手。我需要创建一个表来保存员工详细信息“员工 ID、姓名、出生日期、地址和电话”。
创建这样一个表的查询是什么。地址字段应该是多行文本
提前致谢
CREATE TABLE [dbo].[employee](
[id] [int] IDENTITY(1,1) NOT NULL,
[name] [varchar](255) NOT NULL,
[birth_date] [datetime2](7) NOT NULL,
[phone] [varchar](17) NOT NULL,
[address] [text] NOT NULL,
CONSTRAINT [PK_employee] PRIMARY KEY CLUSTERED
(
[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]