SELECT INTO

  • I need to copy some databases into a reporting database. I'm using a metatable to house the information needed to do the process. Can I use the SELECT INTO statement to get the Index info along with the data? If so can someone give me the syntax

     

    Thanks

    -WM 

  • No.

    Select into makes a basic copy of the table.

    You'll have to create the table with indexes and do a normal insert

    Cheers,CrispinI can't die, there are too many people who still have to meet me!It's not a bug, SQL just misunderstood me!

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply