摘要:
如下SQL报错: 错误:Cannot re solve the collation conflict between "Chinese_PRC_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation. 报错原因:两个跨库 阅读全文
摘要:
统计查询时,如下代码报错 错误信息:Arithmetic overflow error converting expression to data type int.(将expression转化为数据类型int时发生算术溢出错误) 原因:itemcount 为int类型,在sum聚合函数求该列和时, 阅读全文
摘要:
之前碰到一条如下语句 sql server 2000及2005上跑,均报错——Line 3: Incorrect syntax near ','. 后来查了一下,这是sql server2008出来的新特性。所以此语句仅限于sql server 2008及以上版本使用。 PS:顺道提一下,sql s 阅读全文