MySQL Forums
Forum List  »  Quality Assurance

INSERT
Posted by: Gerald McNally
Date: November 16, 2012 06:38AM

copying data from one table to another using the insert into command but also trying to change 2 of the fields at the same time in visual studio.

INSERT INTO park
(tiller, custref)
SELECT Stock_code, Description, Vat, VatRate, Qty, Price, Total, Discount2, Nominal, tiller, Audit_Trail, AccName, Category, UnitOfSale, custref, DepartNo, Emailed
FROM zread
WHERE (Inv = @find1)
VALUES (@find2, @find3)



tried above but not working.

Options: ReplyQuote


Subject
Views
Written By
Posted
INSERT
2571
November 16, 2012 06:38AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.