[导入]导数据的sql语句
insert into Product([P_ID],[C_ID],[Pname],[Ptitle],[Ptype],[IsProduct],[onLine],[IsSecrecy],[FirstSort],[SecSort],[Sort],
[Introduce],[picPath1],[Effective],[United],[UnitPrice],[Brand],[IssuseTime],[FlushTime],[IsPass],[PassTime],[PassAdmin],[isdelete])
select replace(newid(),'-',''),C_ID,标题,标题,1,1,1,0,Fid,Sid,Tid,产品描述,缩略图,1000,计量单位,单价,产品品牌,getdate(),getdate(),1,getdate(),'admin',0 from ProContent
文章来源: http://www.cnblogs.com/wangdetian168/archive/2008/09/25/1298661.html