using System;
using System.Data.SqlTypes;
using Microsoft.SqlServer.Server;
public partial class UserDefinedFunctions
{
[Microsoft.SqlServer.Server.SqlFunction ]
public static SqlString BigToGB(SqlString inString)
{
if (inString.IsNull) return SqlString .Null;
return (Microsoft.VisualBasic.Strings .StrConv(inString.Value, Microsoft.VisualBasic.VbStrConv .SimplifiedChinese, 0));
}
[Microsoft.SqlServer.Server.SqlFunction ]
public static SqlString GBToBig(SqlString inString)
{
if (inString.IsNull) return SqlString .Null;
return (Microsoft.VisualBasic.Strings .StrConv(inString.Value, Microsoft.VisualBasic.VbStrConv .TraditionalChinese, 0));
}
};
© 版权声明
文章版权归作者所有,未经允许请勿转载。