随笔- 267
文章- 27
评论- 28
阅读-
10万
06 2019 档案
先select 再Insert
摘要:/****** Script for SelectTopNRows command from SSMS ******/ insert [MyDB].[dbo].[shop_sell] ( [shop_strid], incDays, refreshDT, sell_num ) SELECT [shop_strid], 7, '2019-06-13', 0 ...
阅读全文
exists 用法
摘要:/****** Script for SelectTopNRows command from SSMS ******/SELECT * FROM [MyDB].[dbo].[LbShops] where biz_type = 1 and not exists ( SELECT shop_strid
阅读全文