Is it possible to update the multiple field values in a
single query? If possible then write the actual query.

Answer Posted / manjiri

update table_name
set col1=new_value, col2= new_value...
where condition/'s

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database? : sql server DBA

656


What is dcl? : sql server DBA

646


How does propagation differ between Advanced Replication and Snapshot Replication (read-only)?

1589


What purpose does the model database server? : sql server DBA

629


currently iam working in mnc as a oracleappsdba,please send the EXPERIENCE RESUME those who r worked as a oracle apps dba

1869






When setting replication, can you have distributor on sql server 2005, publisher on sql server 2008? : sql server DBA

560


What is the cache hit ratio, what impact does it have on performance of an Oracle database and what is involved in tuning it?

1971


how can you schedule a job in database?

597


what is logical system in sap basis

1135


Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris).

1493


how can you enable flashback feature?

536


You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?

2389


What is the default fill factor value? : sql server DBA

574


internal architecture

1755


How do you troubleshoot errors in a sql server agent job? : sql server DBA

565