Saturday, October 12, 2013

SQL SERVER – TRIM Function to Remove Leading and Trailing Spaces of String

DECLARE @String1 NVARCHAR(MAX)SET @String1 ' String 'SELECT @String1 OriginalStringRTRIM(LTRIM(@String1)) TrimmedValue
GO

No comments:

Post a Comment

📱Build WhatsApp Bot using .NET + OpenAI

   In this article, you will learn how to build a real-world WhatsApp chatbot using ASP.NET Core and OpenAI. This bot can automatically repl...