me,myself,english and programming..

Export SQL result to CSV file easily.

 

Microsoft Excel (Windows)

Image via Wikipedia

 

Have you ever experience with excel limitation that only allow you to store up to certain row of data ?

 

If not, then I just want to share with you that Excel limit only 65,536 rows per worksheet. If you have more than 65,536 records, then you no choice, need to put it in another worksheet and this will be troublesome.

excel the end

The easiest way to get rid of this limitation is to put your data in csv file.There are no limitation on how many records you want to put into it.

Using SQL Query Analyzer, you can export your result set to textfile but not to csv file.

Using Toad you can export your result set to csv format easily.

Toad is a powerful, low-overhead tool that makes database and application development faster and easier and simplifies day-to-day administration tasks.

Good news is that, there are few version of Toad. Currently there are Toad for Oracle,SQL Server,DB2 and MySQL

 

Below is capture screen to give you the idea how it works. See, it’s easy right. :)

csv

Oh..not only csv, there are few other format that you can choose.

output format

 

Hope it helps. :)

  1. 5 Responses to “Export SQL result to CSV file easily.”

  2. By OktaEndy on May 29, 2008 | Reply

    Blom pernah pake toad sih..
    tapi sepertiinya tools yang “indah” hehehe
    thanks buat infonya, bisa menambah wawasan kalau2 butuh exporter.

  3. By arejae on May 29, 2008 | Reply

    hi andy,yeah..harap ianya membantu :)
    thanks for visiting yer.

  4. By drizzter on Jun 1, 2008 | Reply

    deeply technicalnyo blog demo arejae wes… hahaha .. ngakk bisa ambo nok implement ..

    bab english toksoh risau la tungging tanggok pom .. kawe 2×5 … wak lolok bijok jah

    buke betul pom grammar kawe hahaa

  5. By arejae on Jun 2, 2008 | Reply

    aloh lar abey,takdok lar teknikal sangat weh,byk lagi keno belajar. :)

    ho lar…english kawe ni bukey stakat tungging tanggok doh…nammo ghima tok tahu lar. ehehe…hantam saja.

    anyway, welcome to my blog and enjoy your stay. do correct me if im wrong yer. :)

  6. By Promotional Code on Oct 23, 2008 | Reply

    Thank you very much for the post. It does help to solve my problem.
    Cheers

Post a Comment