in a table is b in column k (manikanta,sivananda,muralidhar) i want result like (mnikanta,sivnanda,murlidhar) please slove it
Answer / Aman Kumar Chaudhary
You can achieve this by using the SQL REPLACE function. In SQL Server, you can use this query: SELECT REPLACE(REPLACE(REPLACE(k, 'manikanta', ''), 'sivananda', ''), 'muralidhar', '') as new_name FROM your_table; Replace 'your_table' with the name of your table.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do I view a stored procedure in sql server query?
What is the command to change the recovery model?
What is a db view?
What do you do in data exploration
What is referential integrity and how is it achieved?
What is catalog views?
Explain logical operators in sql server?
What is the difference between osql and query analyzer?
Differentiate between truncate vs delete in mssql?
if 3 duplicate records in a table,i want to delete 2 duplicate records by keeping 1 as it is,how?
Explain foreign key in sql server?
Is it possible to delete duplicate rows in a table without using a temporary table ?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)