Results 1 to 4 of 4

Thread: Deleting table using ADO & SQL

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Location
    Nedelisce, Croatia
    Posts
    2

    Post Deleting table using ADO & SQL

    Does anyone know if it is possible to delete tables using SQL queries with ADO?


  2. #2
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    VB Code:
    1. cn.Execute "DROP TABLE Table1"

    cn = connection object
    -= a peet post =-

  3. #3
    Lively Member
    Join Date
    Jun 2002
    Location
    Kuwait
    Posts
    85
    yes u can dierectly execute the drop table query as :

    connection.execute("drop table yourtablename")


    the table will be deleted.
    Your attitude determines your altitude!!!

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Location
    Nedelisce, Croatia
    Posts
    2
    thnx!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width