MyTechMantra.com
Connect With MyTechMantra.com

Like Us on Facebook    Follow Us on Twitter     Subscribe to our Feeds     Subscribe to NewsLetter
























SQL Server 2016: FORMATMESSAGE Statement T-SQL Enhancement in SQL Server 2016

Read Comments   |   Related Topic: TSQL Enhancements SQL Server 2016 > Next Topic: SERVERPROPERTY System Function


Click here to read about new T-SQL enhancements in SQL Server 2016 from the beginning...

FORMATMESSAGE Statement T-SQL Enhancement in SQL Server 2016

FORMATMESSAGE statement is enhanced in SQL Server 2016 to accept a msg_string argument. In the previous versions this function was used to form a message from text located in sys.messages

DECLARE @ExampleMessage VARCHAR(150)

SET @ExampleMessage = FORMATMESSAGE ('SQL Server %s, has some amazing new features and learn 
them on %s!', '2016', 'MyTechMantra.com');

SELECT @ExampleMessage;	
FORMATMESSAGE T-SQL Enhancement in SQL Server 2016

Related Tips

SERVERPROPERTY T-SQL Enhancement in SQL Server 2016
TRUNCATE TABLE WITH PARTITIONS T-SQL Enhancement in SQL Server 2016
COMPRESS and DECOMPRESS T-SQL Enhancement in SQL Server 2016
ALTER TABLE WITH (ONLINE = ON | OFF) T-SQL Enhancement in SQL Server 2016
MAXDOP for DBCC CHECKDB, DBCC CHECKTABLE and DBCC CHECKFILEGROUP

Thank you for taking your time to read this article. Let's be Connected....

Sign-up for Our Newsletter to Get Free SQL Server Tips and News to Build your Career

Like MyTechMantra on Facebook to get updates on What's Happening in SQL Server

Click the Next Page button to continue reading about New T-SQL enhancements in SQL Server 2016 and click on the Previous Page button to revise the previouly read topic.

Previous Page.. Next Page..




Learn More...





Last Updated On: May 17, 2016



Share this Article



Receive Free SQL Server Tips and Keep Learning
Get Free SQL Server Tips




Please leave your Valuable Comment or Let us know how this article helped you: