How to use Replace function in sql server:




SQL server 2008 is most usefull date base among many now in this post we will learn about how to use Replace function in SQL Server 2008 Replace function is use for the replace the spacific string from the given stringas show below

/////////////////////////////////////////////////
declare @str varchar(50)
select @str='Hi Welcome to my blog -Nirav daraniya'
select @str
select REPLACE(@str,'to my','this')
//////////////////////////////////////////////////
OUTPUT:


See Also :
  Follow Me On Facebook

--
/\/ir@\/  <(.'.)>

Comments

Popular posts from this blog

How to get column value from the selected row in data grid in wpf c#.net

How to make and use web service in Microsoft Dynamics Navision.

How to use Format function in Microsoft Dynamics Navision.