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 Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain intellisense for query editing

563


Explain what are page splits? : SQL Server Architecture

652


How many types of keys are there?

526


how will add additional conditions in sql?

574


List the different normalization forms?

536






How to scale out a federation by Sql statement?

92


Explain steps of normalization?

525


What is a data source or ds? : sql server analysis services, ssas

560


How to add additional conditions in SQL?

582


Explain difference between control flow and data flow?

528


What is a trace frag? Where do we use it?

669


How to get a list all databases on the sql server?

579


What is the return type of executeupdate ()?

517


What is rs.exe utility?

118


How to populate a table in sql server?

501