SQLserver 语句

select top(10)* from xihu_PreOrders
select top(10)* from CustomerThresholdInfo

update CustomerThresholdInfo set Enable=0,FeatureEnable=0 where AddressID=‘R_Anbang’

select product_name_Chinese,product_description_Chinese from ProductData
where SKU_local_red=‘GF92443574-20EA’

select pd.sku_local_red ,list_price_posttax_red,brand from ProductVariance pv
INNER JOIN ProductData pd ON pv.sku_local_red=pd.sku_local_red
where Red_status =N’新增’
and GTS_control_class not like ‘%CNDPC%’
and GTS_control_class not like ‘%CNHAZ%’
and GTS_control_class not like ‘%CNTOX%’
and GTS_control_class not like ‘%CNXPL%’
and pd.sku_local_red !=‘’
and Sellable_red=‘Y’
and brand=‘Greiner’

-----------插入数据
USE [MerckB2B]
GO
insert into [dbo].[ProductData]
(
[SKU_local_red]
,[SKU_local_blue]
,[product_number]
,[list_price_pretax]
,[list_price_usd]
,[product_name_English]
,[product_synonyms_English]
,[product_name_Chinese]
,[product_synonyms_Chinese]
,[product_description_English]
,[product_description_Chinese]
,[base_unit]
,[size_dimension]
,[gross_weight]
,[net_weight]
,[weight_unit]
,[volume]
,[volume_unit]
,[storage_condition]
,[storage_condition_description]
,[temp_condition]
,[temp_condition_description]
,[empirical_formula]
,[linear_formula]
,[cas_no]
,[mdl_no]
,[molecular_weight]
,[assay]
,[boiling_point]
,[melting_point]
,[pack_size]
,[pack_unit]
,[hazardous_prod]
,[brand]
,[business_division]
,[SDV]
,[SDV_description]
,[SBU]
,[SBU_description]
,[GTS_status]
,[GTS_control_class]
,[MClarity_quality_level]
,[web_url]
,[image_url]
,[primary_product_category]
,[secondary_product_category]
,[tertiary_product_category]
,[updateDate]
,[BOR]
,[list_price_posttax_red]
,[list_price_posttax_blue]
,[Sellable_red]
,[Sellable_blue])
select

   [SKU_local_red]
  ,[SKU_local_blue]
  ,[product_number]
  ,[list_price_pretax]
  ,[list_price_usd]
  ,[product_name_English]
  ,[product_synonyms_English]
  ,[product_name_Chinese]
  ,[product_synonyms_Chinese]
  ,[product_description_English]
  ,[product_description_Chinese]
  ,[base_unit]
  ,[size_dimension]
  ,[gross_weight]
  ,[net_weight]
  ,[weight_unit]
  ,[volume]
  ,[volume_unit]
  ,[storage_condition]
  ,[storage_condition_description]
  ,[temp_condition]
  ,[temp_condition_description]
  ,[empirical_formula]
  ,[linear_formula]
  ,[cas_no]
  ,[mdl_no]
  ,[molecular_weight]
  ,[assay]
  ,[boiling_point]
  ,[melting_point]
  ,[pack_size]
  ,[pack_unit]
  ,[hazardous_prod]
  ,[brand]
  ,[business_division]
  ,[SDV]
  ,[SDV_description]
  ,[SBU]
  ,[SBU_description]
  ,[GTS_status]
  ,[GTS_control_class]
  ,[MClarity_quality_level]
  ,[web_url]
  ,[image_url]
  ,[primary_product_category]
  ,[secondary_product_category]
  ,[tertiary_product_category]
  ,[updateDate]
  ,[BOR]
  ,[list_price_posttax_red]
  ,[list_price_posttax_blue]
  ,[Sellable_red]
  ,[Sellable_blue]
  from ProductData_Backup
  where sku_local_red='N3877-1G'
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值