|
  
- 帖子
- 209
- 金币
- 117 个
- 经验
- 334 点
- 在线时间
- 123 小时
- 最后登录
- 2010-9-5
|
1#
发表于 2010-7-5 20:06
| 只看该作者
升级当中出现排班丢失的问题
由于建立了t_employeeshift 和t_shift之间的外键约束,所以,升级数据库的时候,t_employeeshift表可能会不能导入新的数据库,通过以下语句可以手动的导入:
insert into humanresource.dbo.t_employeeshift select * from hrtemp.dbo.t_employeeshift where shiftid in (select shiftid from hrtemp.dbo.t_shift) |
|