how to save result in notepad via sql query

  • hi,

    When i fire

    Select * from <tablename>

    the result should should get save in txt file(notepad). C:\test.txt

    the tablename can be any table name .

    Plz give me some solution.

    Thank u in advance,

    Regards,

    Nikhil P Desai

  • plz refer...bcp(BULK COPY) commands..we will get more info(i.e. not only to txt files, even you can copy the data into different types of files..)

    [font="Comic Sans MS"]Praveen Goud[/font]

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

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