Hi Friends,
I have a table in which there are thousands of records and
in city field there is NULL value for all records now i want
to change that null value with distinct values in each
record say delhi, bihar, agra, jaipur etc, what will be the
query for that?????
its not possible to update thousands of records one by one.
is there any alternative ...?
Plz help ... its urgent
Thanx in advance
Answer / kiran kumar
it is not possible.since you have to provide 1000(if table
have 1000 records) city Name based on certain condition.So
there is no alternative.
| Is This Answer Correct ? | 3 Yes | 0 No |
Explain some stored procedure creating best practices or guidelines?
Can a stored procedure call itself or a recursive stored procedure? How many levels of sp nesting is possible?
Write a SQL query to make a column as unique?
What guidelines should be followed to help minimize deadlocks?
Can we delete data from a view?
What is table-valued sub query?
What is sql server replication? : sql server replication
Can you explain the role of each service?
How can you check the version of sql server?
What are the two virtual tables SQL Server maintains for triggers?
What are the main control-of-flow T-SQL constructs?
How to use subqueries with the in operators in ms sql server?
Oracle (3259)
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)