MikeKohler
Technical User
Hi, I have the following code:
db.Execute "ALTER TABLE PT001 " & "DROP COLUMN GPS_RESERVED;"
db.Execute "ALTER TABLE PT001 " & "DROP COLUMN dROLLSTATUS;"
db.Execute "ALTER TABLE PT001 " & "DROP COLUMN dSTATUSCODE;"
db.Execute "ALTER TABLE PT001 " & "DROP COLUMN dKEY;"
db.Execute "ALTER TABLE PT001 " & "DROP COLUMN dSERIES;"
db.Execute "ALTER TABLE PT001 " & "DROP COLUMN DNAMEADDRESSTYPE;"
db.Execute "ALTER TABLE PT001 " & "DROP COLUMN dCLASSID;"
What I was wondering, is their a syntax where I cand do this in one line and only use the the command DROP COLUMN once?
Thank you, Michael Kohler
mkohler@telusplanet.net
db.Execute "ALTER TABLE PT001 " & "DROP COLUMN GPS_RESERVED;"
db.Execute "ALTER TABLE PT001 " & "DROP COLUMN dROLLSTATUS;"
db.Execute "ALTER TABLE PT001 " & "DROP COLUMN dSTATUSCODE;"
db.Execute "ALTER TABLE PT001 " & "DROP COLUMN dKEY;"
db.Execute "ALTER TABLE PT001 " & "DROP COLUMN dSERIES;"
db.Execute "ALTER TABLE PT001 " & "DROP COLUMN DNAMEADDRESSTYPE;"
db.Execute "ALTER TABLE PT001 " & "DROP COLUMN dCLASSID;"
What I was wondering, is their a syntax where I cand do this in one line and only use the the command DROP COLUMN once?
Thank you, Michael Kohler
mkohler@telusplanet.net