microsoft sql server(关于SQLserver有哪些书籍)
一、Microsoft SQL Server如何创建,自定义函数
CreateFunctionRmGetPY(@chnnchar(1))
returnschar(1)
as
begin
declare@nint
declare@cchar(1)
set@n=63
select@n=@n+1,@c=casechnwhen@chnthenchar(@n)else@cendfrom(
selecttop27*from(
selectchn=
'吖'unionallselect
'八'unionallselect
'嚓'unionallselect
'咑'unionallselect
'妸'unionallselect
'发'unionallselect
'旮'unionallselect
'铪'unionallselect
'丌'unionallselect
'丌'unionallselect
'咔'unionallselect
'垃'unionallselect
'呒'unionallselect
'拏'unionallselect
'噢'unionallselect
'妑'unionallselect
'七'unionallselect
'呥'unionallselect
'仨'unionallselect
'他'unionallselect
'屲'unionallselect
'屲'unionallselect
'屲'unionallselect
'夕'unionallselect
'丫'unionallselect
'帀'unionallselect@chn)asa
orderbychnCOLLATEChinese_PRC_CI_AS
)asb
return(@c)
end
go
CreateFunctionGetAllPY(@chnnvarchar(100))
returnsvarchar(30)
as
begin
declare@iint,@jint,@resultvarchar(100)
set@result=''
set@i=len(@chn)
set@j=1
while@j<=@i
begin
set@result=@result+dbo.RmGetPY(substring(@chn,@j,1))
set@j=@j+1
end
return@result
end
看看这两个,典型的取汉字拼音码的函数
二、注册表里的microsoft sql server可以删除吗
未卸干净。若是安程序造成的,可以
1.若程序已卸掉,就重安那个程序,用360软件管家(360安全卫士里有它)的卸载功能,卸载时,一定要注意将注册信息等卸干净(注意第3步骤)。
2.也可以用完美卸载试试。
3.也可下载安装unlocker试试(安好后,右键点击图标,菜单里有它。针对文件夹效果也好)。
4.装个强制删除工具试试
三、关于SQLserver有哪些书籍
你好,有《MicrosoftSQLServer2008技术内幕:T-SQL语言基础》,ItzikBen-Gan著,成保栋、张昱译,电子工业出版社出版。适合零基础的人学习T-SQL。看完以后,还可以看该系列的后两本《MicrosoftSQLServer2008技术内幕:T-SQL查询》和《InsideMicrosoftSQLServer2008T-SQLProgramming》。三本都看完基本就是大侠了。这三本在网上都有PDF下载,这是我的个人建议,希望可以帮助到你