njustyxy

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

UPDATE [ECard-Test].[dbo].[class]
   SET [xnbh] = RIGHT('00000000000' + CAST(dbo.Class.xnbh AS nvarchar(11)), 11)

 

insert into BZRYXXB
select *
from Staff
union
select * from StudentFromJWC


insert into student (studentname,studentinstitute,StudentClass) select xm,lsdwm,lsdwm1 from [BZRYXXB-jwc]

posted on 2009-06-22 10:19  yxy  阅读(278)  评论(0编辑  收藏  举报