How to Replace Sub string in String
Microsoft Net Framework

The REPLACE() function replaces all occurrences of a specified string.

Note: The REPLACE() function performs a case-sensitive replacement.

 For Example we have a string [First Name] we want to change in [Last   Name ] means Replace first into last

SELECT Replace ('FirstName','First','Last') AS ReplaceValue

it Give us Result like this

ReplaceValue

Last Name

 

Share This with your friend by choosing any social account


Upcoming Articles
You may also read following recent Post
Copyright Future Minutes © 2015- 2024 All Rights Reserved.   Terms of Service  |   Privacy Policy |  Contact US|  Pages|  Whats new?
Update on: Dec 20 2023 05:10 PM