![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SQL
RR_SQL
I send my miss to the scattering stars and with you a sweet dream under the light shedding throgh
展开
-
校对并同步两个不同数据库的方法(VS 2010)
校对并同步两个不同数据库的方法(VS 2010)原创 2017-09-21 09:49:32 · 552 阅读 · 0 评论 -
SQL把表中某字段的所有值(字符串转换成int)
create table temp_kh2 ( khid int, khbh int ) insert into temp_kh2( khid, khbh) (select khid, khbh from tbl_xx_kh ) 表:tbl_xx_kh, khbh是字符串。原创 2018-01-12 11:19:19 · 4601 阅读 · 0 评论 -
SQL 函数 字符串
ISNULL(LEFT (@field2,len(@field2)) +RIGHT(Replicate('0',(@field3-1))+LTRIM(CAST(SUBSTRING((ISNULL((select max(khbh) from tbl_xx_kh where patindex('%[^0-9]%',khbh)=0 ),@field2+Replicate('0',(@field3-1)原创 2018-01-12 11:59:50 · 173 阅读 · 0 评论 -
数据库还原失败解决方法
一。失败原因:还原失败1.设置权限。二。失败原因:出现与数据库不一致。。。。。。。1.选择这个覆盖现有数据库2.在进行还原原创 2018-02-24 12:18:31 · 16024 阅读 · 0 评论