Exporting a View to a CSV

  • How do I export a view to a csv file?

  • Use DTS, BCP, or Query analyzer.

    For QA you first have to set your results to be comma delimited.

    Tools --> Options --> Results tab --> Results output format pick comma delimited.  Then hit Okay.

    In a query analyzer window select Query --> Results to File.

    Then type select * from Mytable. QA will ask you to give it a file name, and your off.

    See books online for BCP, and dts

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

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