惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
T
The Blog of Author Tim Ferriss
I
InfoQ
博客园_首页
G
Google Developers Blog
爱范儿
爱范儿
Last Week in AI
Last Week in AI
量子位
阮一峰的网络日志
阮一峰的网络日志
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
Vercel News
Vercel News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
月光博客
月光博客
The GitHub Blog
The GitHub Blog
V
Visual Studio Blog
N
Netflix TechBlog - Medium
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东

博客园 - prayforsmile

向android虚拟机中push文件提示Read-only file system 存储 时间对应多条记录 =iif(RowNumber("table6_Group3")=1,"Solid","None") - prayforsmile - 博客园 StringSplitToTable SP 拼音 临时表 调用另一个存储过程 返回主键 时间 sp数组处理 同一个表取取相同列内容剔除,附加 1 rrr 再见吧,09 ddl - prayforsmile - 博客园 ~~ 关于Case项目 2009悲剧男
SP插入
prayforsmile · 2010-05-17 · via 博客园 - prayforsmile

INSERT CheckTemp (ChkCode,BarCode,ChkState, ChkTime,CounterID,ChkUserID,Sp_Id)
    (SELECT @ChkCode,A.BarCode,0,getdate(),@Sc_Id,@ChkUserID,@Sp_Id
        FROM ShopCounterStorage A       
      left join ProductModelInfo B on A.Pm_Id=B.Pm_Id 
      left join ExInStockInfo C on A.BarCode=C.BarCode 
        WHERE A.Sp_Id=@Sp_Id AND
          (@Sc_Id=-1 OR Sc_Id=@Sc_Id) AND
          (@Pq_Id=-1 OR A.Pq_Id=@Pq_Id) AND
          (@Pc_Id=0 OR B.Pc_Id=@Pc_Id) AND
           C.InStockType=1 AND ProdCterStor_State=5)

posted on 2010-05-17 17:19  prayforsmile  阅读(209)  评论()    收藏  举报