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

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -