File input into T-SQL script?

  • Not to sure about the first option but you could load the file into a table or variable (VARCHAR(8000)) max.

    Have a look at BULK INSERT in BOL.

    Cheers,

    Crispin

    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 post 1 (of 2 total)

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