Microsoft .NET Developer /* Life Runs on Code */ while(!Success) { Console.WriteLine("Try Again !!!"); }
CREATE FUNCTION Dbo.Trim(@TextValue NVARCHAR(MAX)) RETURNS NVARCHAR(MAX) AS BEGIN DECLARE @TValue NVARCHAR(MAX) SET @TValue=LTRIM(RTRIM(@TextValue)) RETURN (@TValue) END GO
1: SELECT Dbo.Trim(' MS-SQL ')
No comments:
Post a Comment