VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Delete a Table - Access / Sql Server or Others(to test) thru VB 6.0 Code.

by Unni Menon (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 2nd March 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Delete a Table - Access / Sql Server or Others(to test) thru VB 6.0 Code.

Rate Delete a Table - Access / Sql Server or Others(to test) thru VB 6.0 Code.



1.  Need to establish a Connection with the specific provider before deleting 
    a table.
2.  Connection to name as ex. CONN

CONN.EXECUTE "DROP TABLE <tablename>"

Ex. Table Name - mytable

CONN.EXECUTE "DROP TABLE mytable"


Download this snippet    Add to My Saved Code

Delete a Table - Access / Sql Server or Others(to test) thru VB 6.0 Code. Comments

No comments have been posted about Delete a Table - Access / Sql Server or Others(to test) thru VB 6.0 Code.. Why not be the first to post a comment about Delete a Table - Access / Sql Server or Others(to test) thru VB 6.0 Code..

Post your comment

Subject:
Message:
0/1000 characters