Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder ellisd5's Avatar
    Join Date
    Jun 2002
    Location
    Uk
    Posts
    160
    Thanks
    5
    Thanked 0 Times in 0 Posts

    create a new duplicate table

    I want to create a table identical to the first table but with no data in.
    With Oracle SQL i usually do this
    Code:
        CREATE TABLE newTable AS (
            SELECT * FROM exisitingTable
        )
    However this doesn't work in access, how do I do it?

    TIA
    Dale
    Dale Ellis
    __________________

  • #2
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It's just

    SELECT oldtable.* INTO newtable FROM oldtable


  •  

    Posting Permissions

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