阅读背景:

根据变量的类型在SQL中有条件地进行分支

来源:互联网 

I'm selecting a value out of a table that can either be an integer or a nvarchar. It's stored as nvarchar. I want to conditionally call a function that will convert this value if it is an integer (that is, if it can be converted into an integer), otherwise I want to select the nvarchar with no conversion.I'm selecting a value out of a table that can e




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: