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

How to use go command in "sqlcmd"?

853


Is sql server implemented as a service or an application? : Sql server database administration

702


What is ms sql server reporting services?

727


What is extended stored procedures?

722


what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration

737






how will add additional conditions in sql?

742


Is sql server is free?

706


What is the difference between coalesce() & isnull()?

734


how many triggers you can have on a table? : Sql server database administration

713


What is meant by Active-Passive and Active-Active clustering setup?

752


System requirements for sql server 2005 express edition?

729


Explain an automatic checkpoint

722


Can You Use Data Mining Models In Ssrs?

115


What is in place upgrade in sql server?

717


why does a sql statement work correctly outside of a user-defined function, but incorrectly inside it? : Sql server administration

784