Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2006
    Posts
    44

    Unanswered: ASP - Creating new table in existing db

    Hi all...

    I have a question... i have been searching answer for this for quite a l0ng time...

    I'm using asp and microsoft access..

    I have a database name, "db1.mdb"

    I want to create a new table inside this database after submittin a name in my form..

    But how do i write my sql statement to execute this?

    Thanx

  2. #2
    Join Date
    Jan 2005
    Posts
    362

    sql

    As I understand you need the "create table" statement.
    Look at http://www.w3schools.com/sql/sql_create.asp
    for more
    dimis

  3. #3
    Join Date
    Jan 2006
    Posts
    44
    okay, thanx!

  4. #4
    Join Date
    Jan 2006
    Posts
    44
    ya, wanna ask u something.. can we change the name of the table using sql statement? i know we can change the name of column..

  5. #5
    Join Date
    Jun 2003
    Location
    USA
    Posts
    1,032
    I'd suggest checking around the link you have ( http://www.w3schools.com/sql ).

    Otherwise not sure if perhaps could do this using ADOX:

    How do I create a database from ASP?
    http://www.aspfaq.com/show.asp?id=2029

    ADOX API Reference
    http://msdn.microsoft.com/library/de...ireference.asp
    J. Paul Schmidt, Freelance Web and Database Developer
    www.Bullschmidt.com
    Access Database Sample, Web Database Sample, ASP Design Tips

Posting Permissions

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