c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android
SQL

How to append prefix to existing value in a field using sql query?

| | SQL

In this article, I describe how to append prefix to all existing value in a field using sql query. Here I am adding ‘+’ prefix to countrycode in a country table.

 
UPDATE [masters].[country] SET Countrycode = '+' +Countrycode

Output

+91

+971

+961