How update row without using update query and View in sqlserver 2008 -
i have doubt in sql server
my question is:
i have 2 table named table1 , table2
table1:
**id name current_address** 44 john 44, t-nagar, chennai
table2:
**id addreess** 44 102, cit nagar, chennai 44 44, t-nager, channai
and question is:
when insert new address in table2, last insert address automatically update in table1. difficulty without using update query , view in sql server
help....
thanks in advance..
in case when don't want update query
, first delete data table1
having id=44 , use insert query :p
Comments
Post a Comment