哪位高手能帮忙写个储存过程 本帖最后由 hqs19821108 于 2009-12-08 14:50:33 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 insert into 表B (price_id,cur_id,cus_no,prd_no,qty,s_dd,up)Select (3,'000000','021001',BOM_NO,1,getdate(),123.222)From 表A insert into 表B (price_id,cur_id,cus_no,prd_no,qty,s_dd,up) select 3,'000000','021001',BOM_NO,1,getdate(),123.222from 表A 刚才多了()insert into 表B (price_id,cur_id,cus_no,prd_no,qty,s_dd,up)Select 3,'000000','021001',BOM_NO,1,getdate(),123.222From 表A 表A的值是通过 select bom_no from mf_zc where bom_no in (select bom_no from tf_zc where zc_no='049'); 这个得到的该怎么加上呢 insert into 表B (price_id,cur_id,cus_no,prd_no,qty,s_dd,up)Select 3,'000000','021001',BOM_NO,1,getdate(),123.222From 表A insert into 表B (price_id,cur_id,cus_no,prd_no,qty,s_dd,up) select 3,'000000','021001',BOM_NO,1,getdate(),123.222from 表A首次看到剪大嫂,套用她的帖吧. 关于sql分页 大数据查询速度问题 SQL2000 同步问题 将截断字符串或二进制数据。 已知一数据库表名字段, 如何知道是否被定义为主键? 问一个关于Photo的简单问题. 事务(进程ID55)与另一个进程已被死锁在lock资源上,且该事务已被选作死锁牺牲品,请重新运行该事务。 找一条语句 一个事务里怎么去掉写锁 请教一个基础问题,UP者有分!!! 以逗号分隔的多字符转化数字后如何取值比较?急 数据库置疑
Select (3,'000000','021001',BOM_NO,1,getdate(),123.222)
From 表A
select 3,'000000','021001',BOM_NO,1,getdate(),123.222
from 表A
insert into 表B (price_id,cur_id,cus_no,prd_no,qty,s_dd,up)
Select 3,'000000','021001',BOM_NO,1,getdate(),123.222
From 表A
该怎么加上呢
表B (price_id,cur_id,cus_no,prd_no,qty,s_dd,up)
Select
3,'000000','021001',BOM_NO,1,getdate(),123.222
From
表A
select 3,'000000','021001',BOM_NO,1,getdate(),123.222
from 表A首次看到剪大嫂,套用她的帖吧.