模式和解
我已经写了一个案例语句为:
cases当urluck ='abc'然后nowed_bal else null结束,因为nower_balances_ro
和我的工作失败了,说这个错误
源是ODBC连接器,已连接到Microsoft SQL Server。
架构对帐检测到类型不匹配的现场nower_balances_ro。将数据从字段类型varchar(最小= 0,最大= 58)移动到十进制(15,3)
I have written a case statement as :
Case when currency=‘Abc’ then outstanding_bal else null end as outstanding _balances_RO
And i my job is failing saying this error messege
Source is ODBC connector , connected to Microsoft SQL server.
Schema reconciliation detected a type mismatch for field outstanding_balances_RO . When moving data from field type varchar(min=0,max=58) into Decimal (15,3)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于您已经在Select语句中使用了表达式,因此将该表达式包装在铸件中以迫使其为十进制(15,3)数据类型。
Since you're already using an expression in the SELECT statement, wrap that expression in a CAST to force it to DECIMAL(15,3) data type.