Sql server Insert...Select 语句的问题

2025-06-21 15:22:39
推荐回答(1个)
回答1:

1.王牛 后面漏了一个单引号
2.试一下
Insert into Employee(EmployeeID, Name,Department,Gender,DateofBirth,Party,Position,DateofEmployed)
select 'E0002','王牛','董事会','女','1986-02-08','无',position,'2005-02-03' from Salary_Standard where Salary_Standard.PositionID ='P002'