Redian新闻
>
random error for CAST( MONEY AS VARCHAR)
avatar
random error for CAST( MONEY AS VARCHAR)# Database - 数据库
f*s
1
我明年秋天要到另外一所大学工作. 我在现在的大学已经工作了3年了, I-140去年
六月拿到. 秋天要去的大学里的律师马上要帮我申请perm 和H1B,她要我给她现在所在
学校的I-140的复印件. 我还没敢去问是不是会给. 一般情况会给一份复印件吗? 他
们已经知道我要辞职. 会不会为难俺呀? 需不需要策略?
多谢! 再问问, 教职工转工作以后, 大学通常会Revoke I-140吗?
avatar
j*n
2
MSSQL 2k5
Here is a table with about 400 columns, billions of rows; we have a view
does this:
SELECT .....,
CAST (col_n AS VARCHAR(11)) AS col_n, -- col_n is MONEY data type in the
table
...
FROM tbl
We have an SSIS ETL runs every day that pulling millions of rows based on
this view; it has been ran for couple years without problem.
Recently (started few weeks ago), we discovered that randomly this converted
col_n returns few 0's, no matter whatever the actual value is. say 20.12,
or -128.33, it returned '0'.
Anyone any idea? 50 baozi for answer... thanks!
avatar
i*a
3
sounds strange.
can it be reproduced or does it only show up in the log/result after
your SSIS run?
would it be possible the source data is actually 0 when you run it?

view
the
on

【在 j*****n 的大作中提到】
: MSSQL 2k5
: Here is a table with about 400 columns, billions of rows; we have a view
: does this:
: SELECT .....,
: CAST (col_n AS VARCHAR(11)) AS col_n, -- col_n is MONEY data type in the
: table
: ...
: FROM tbl
: We have an SSIS ETL runs every day that pulling millions of rows based on
: this view; it has been ran for couple years without problem.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。