Click here to Skip to main content
16,013,933 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
plz i need to insert data after it from substraction table to payment table
Posted
Comments
CRDave1988 31-Jan-12 7:11am    
Can u please make ur Question more clear

Use SQL Trigger.
Please try it yourself first then asked question in case if you get any error.
Learn more about SQl trigger on the net.
 
Share this answer
 
Hi, I think that you want to insert data from one table to 2nd table for this use below query:

Insert into TABLE1 Select * from TABLE2

If column name are change then

Insert into TABLE1(Amount) Select Amount from TABLE2
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900