摘要:
将表达式改为: case when b=0 then 0 else a/b end 阅读全文
摘要:
语法: select x into new_tableName from ori_tableName例如:SELECT [site] ,[day] ,[val]/31.4 [val] into t_init FROM [RainFactor].[dbo].[t_fa... 阅读全文
摘要:
如,FErrorTimes为Null时,要增加“1”,而“Null + 1”还是等于Null。使用语句可以写成:Update T_Table set FErrorTimes= ISNull(FErrorTimes,0)+1where FName=@name. 阅读全文