获得汉字笔画
createfunctionfun_getbh(@charnchar(2))returnsintasbeginreturn(casewhenunicode(@char)between19968and40869then(selecttop1idfrom(selectid=1,ch=N'亅'unionallselect2,N'阝'unionallselect3,N'马'unionallselect4,N'风'unionallselect5,N'龙'
createfunctionfun_getbh(@charnchar(2))returnsintasbeginreturn(casewhenunicode(@char)between19968and40869then(selecttop1idfrom(selectid=1,ch=N'亅'unionallselect2,N'阝'unionallselect3,N'马'unionallselect4,N'风'unionallselect5,N'龙'