Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INSERT INTO NAMES VALUES(...)
- INSERT INTO PHONES VALUES(...)
- START TRANSACTION;
- INSERT INTO table1 VALUES ('1','2','3');
- INSERT INTO table2 VALUES ('bob','smith');
- COMMIT;
- for x = 0 to 1
- if x = 0 then TableToWrite = "Table1"
- if x = 1 then TableToWrite = "Table2"
- Sql = "INSERT INTO " & TableToWrite & " VALUES ('1','2','3')"
- NEXT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement