SQLServer
jjpweb
个人简介
展开
-
SQLserver修复数据库相关
//更新系统表 sp_configure 'allow updates',1 reconfigure with override sp_configure 'allow updates',0 reconfigure with override //紧急模式 update sysdatabases set status =32768 where name='dbname' update sysda...原创 2018-08-15 12:10:27 · 227 阅读 · 0 评论 -
SQL生成简拼码
/*创建取拼音首字母函数*/ create function [dbo].[fn_ChineseToSpell](@strChinese varchar(500)='') returns varchar(500) as begin /*函数实现开始*/ declare @strLen int,@return varchar(500),@i int declare @...转载 2019-07-19 12:18:06 · 921 阅读 · 0 评论