|
Kalaiselvan
Posting Yak Master
112 Posts |
Posted - 2011-07-15 : 13:17:31
|
| Table1-----UserIDUserNamePhoneNumberTable1 Values---------1, Sriram, 99406123452,Kalai,99406123463,Ganesh,99406123474,Das,9940612348Table2-----UserIDDeptIDAddressLine1AddressLine2CityStateZipTable2 Values----------1,21,45,Ambala Road, chennai,TN,6000831,22,15,Suchi Road, chennai,TN,6000841,23,56,Mount Road, chennai,TN,6000762,21,12,Varun St, Madurai,TN,4000832,22,65,Peepee Road, Selam,TN,5000662,23,96,Main Road, Trichy,TN,556880Table3 Structure------------UserIDUserNamePhoneNumDept21AddressLine1Dept21AddressLine2Dept21CityDept21StateDept21ZipDept22AddressLine1Dept22AddressLine2Dept22CityDept22StateDept22ZipDept23AddressLine1Dept23AddressLine2Dept23CityDept23StateDept23ZipI need a Query to Insert the Values in Table3 using Table1 and Table2.Consider all the columns as VARCHAR.Regards,Kalaiselvan RLove Yourself First.... |
|