Hi,

I have created 2 connection db1 and db2. Some codes of my program are as follow:

db1.execute sql1 -----> 1st statement
db2.execute sql2 -----> 2nd statement

The task of the 1st statement is to import a table to another database.

The task of the 2nd statement is to do some alteration of the imported table.

So I have to ensure that the imported table is already in the other database after executing 1st statement & before executing the 2nd statement.
How can I ensure that the 1st statement has completed it actual execution before executing the 2nd statement ? Thanks in advance.