SQL Server Articles, SQL Server Tips, SQL Server Tutorials, SQL Server Tuning, SQL Server DBA, SQL Server Basics, Training, etc - MyTechMantra.com

STRING_SPLIT Function and STRING_ESCAPE Function in SQL Server 2016

Previous Page.. Begin Tutorial.. Next Page..

SQL Server 2016 introduces two new string functions namely STRING_SPLIT and STRING_ESCAPE.

This is Part 8 of 10 Part T-SQL Enhancements in SQL Server 2016 for Developers and DBAs. Click here to read it from the beginning….

STRING_SPLIT: This string function can be used to split the character expression using the specified separator.

For more information, see STRING_SPLIT (Transact-SQL).

Syntax: STRING_SPLIT (string , separator)
Example: SELECT STRING_SPLIT('MyTechMantra Helps DBAs and Developers Daily', ' ');
Output

MyTechMantra
Helps
DBAs
and
Developers
Daily

Trending SQL Server Articles and Tips

STRING_ESCAPE: This function can escape special characters within texts and will return text with escaped characters. For more information, see STRING_ESCAPE (Transact-SQL).

Syntax: STRING_ESCAPE(text , type)

Clicking Next Page button to continue reading the topics and click on the Previous Page button to revisit the previous topic.

Previous Page.. Begin Tutorial.. Next Page..

Related Topics

Ashish Mehta

Ashish Mehta

Ashish Kumar Mehta is a database manager, trainer and technical author. He has more than a decade of IT experience in database administration, performance tuning, database development and technical training on Microsoft SQL Server from SQL Server 2000 to SQL Server 2014. Ashish has authored more than 325 technical articles on SQL Server across leading SQL Server technology portals. Over the last few years, he has also developed and delivered many successful projects in database infrastructure; data warehouse and business intelligence; database migration; and upgrade projects for companies such as Hewlett-Packard, Microsoft, Cognizant and Centrica PLC, UK. He holds an engineering degree in computer science and industry standard certifications from Microsoft including MCITP Database Administrator 2005/2008, MCDBA SQL Server 2000 and MCTS .NET Framework 2.0 Web Applications.

Newsletter Signup! Join 15,000+ Professionals




Be Social! Like & Follow Us...

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.

Recent SQL Server Tips

Manning