F
Faraz Azhar
Hello,
Im just trying to create a temporary table to do some work on it and I
want it to be deleted after my work is done (my program exits). Im
doing it the following way in VB6:
SQL = "CREATE TEMPORARY TABLE ViewInventoryLedger (dDate DATETIME,
Type TEXT (1), Voucher INTEGER, Quantity REAL, UnitCost REAL, Total
REAL)"
Conn.Execute SQL
This keeps giving syntax error. If I remove the TEMPORARY keyword, it
works ok. What am I missing here? Can anyone help please.
Im just trying to create a temporary table to do some work on it and I
want it to be deleted after my work is done (my program exits). Im
doing it the following way in VB6:
SQL = "CREATE TEMPORARY TABLE ViewInventoryLedger (dDate DATETIME,
Type TEXT (1), Voucher INTEGER, Quantity REAL, UnitCost REAL, Total
REAL)"
Conn.Execute SQL
This keeps giving syntax error. If I remove the TEMPORARY keyword, it
works ok. What am I missing here? Can anyone help please.