write down the sql query?
Table Name : emp1
empid empname
1 bala
2 guna
Table Name : emp2
empid empname
1 <Null>
2 <Null>
Solution : emp1 names are updated in emp2, write a query?
Answer Posted / vicky
update emp2 e2 set e2.empname = (select e1.empname from
emp1 e1 where e2.empid=e1.empid)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to loop through the result set with @@fetch_status?
What is instead of trigger sql server?
What is candidate key with example?
How do you manipulate data?
Explain table valued parameters in sql server? Why tvp used?
What are out-of-range errors with date and time literals?
What is Sqlpaging in SqlServer 2005 ?
What is field with example?
How do we know if any query is retrieving a large amount of data or very little data?
What is triggers and its types?
What are the types of dml?
What is table join?
Explain database normalization?
what method you can use to reduce the overhead of Reporting Services data sources?
How to encrypt data between dialogs?