create the table automatically

  • Hi,

    is there a way to create the table automatically (like select into)that will hold the info from the query?

    RESTORE HEADERONLY FROM DISK = N'C:\test.bak'

    if no is there a way to see the datatype and name for every column in the query?

    THX

  • is there a way to see the datatype and name for every column in the query?

    Yes, it is listed in the BOL.

  • Thx but this i know.

    i need to see it in the query results.

    is it doable?

    and what about my first question? is it doable too?

    THX

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

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