Suppose that I have one column in SQL from a simple SELECT statement.
How can I modify the text of particular row entries without overwriting the data?
I am looking at indenting some particular entries for a table I am creating in VS (e.g. every entry that is called ‘Name’ will be changed to ‘ Name’). So I want to modify my SQL query to change some particular fields to be indented when they are called.
Thanks in advance!
For MySQL you can use replace
For Oracle you can do translate
you can also do this in both MySQL and T-SQL via a CASE statement too.