07
11/11
sql得到中文首字母
USE [JewelryRetailClientDB]GO /****** Object: UserDefinedFunction [dbo].[Func_GetPY] Script Date: 10/19/2011 14:21:59 ******/SET ANSI_NULLS ONGO SET QUOTED_IDENTIFIER ONGO -- ============================================= -- Author: xoyozo-- Create date: 2010-4-17 -- Description: 提供中文首字母 -- ============================================= CREATE FUNCTION [dbo].[Func_GetPY]( @str NVARCHAR(4000)) RETURNS NVARCHAR(4000) AS BEGIN DECLARE @word NCHAR(1),@PY NV...