Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to apply Replace for a column content in string format(say {0},{1} etc) in Sql server ?

In the data {0} is set by me for Created Date in the field content and I want to replace it with the current date via Sql server.

I am able to replace the string functions in general. Here I want to replace data content via Sql server.
Posted
Comments
Neetin_1809 5-Sep-14 8:09am    
Can You Give Example to ellaborate more ?

Check this String.Format like functionality in T-SQL?[^], you will be amazed :)
 
Share this answer
 
Hi,

Check this Replace in SQL[^]


Hope this will help you.


Cheers
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900