Sign Up Now!Log In
AaronT 11/23/2016 12:15:27 PM

FORMATMESSAGE (SQL equivalent to String.Format)

* This article, and all our great SQL (General) documentation, Is available on the SQL (General) menu

I really love the .NET String.Format function, and you can use the SQL FORMATMESSAGE function to achieve the same thing.

Copy the code below into SQL and run it so see all the possibilities

Version: All
Section: SQL Scripts