phpMyAdmin export not compatible with MS SQL

Posted on 2008-11-17
Last Modified: 2012-05-05
I'm trying to export my MySQL data as a bunch of inserts to be run on my MS SQL database. In the past, phpMyAdmin would export it like so:

INSERT INTO table VALUES(1, 2, 3);
INSERT INTO table VALUES(4, 5, 6);
INSERT INTO table VALUES(7, 8, 9);

Which was perfect, however, the current version of phpMyAdmin I am using (2.11.6) exports it like this:

(1, 2, 3),
(1, 2, 3),
(1, 2, 3);

Which probably takes less space, but is not compatible with MS SQL. How can I make it so it creates an INSERT record for each exported item?
Question by:DarkHill
    LVL 16

    Accepted Solution

    Hello DarkHill,

    Phpmyadmin will enable you to do that. You just need to unselect the tick box 'Extended inserts' prior to running your export.


    LVL 7

    Author Closing Comment

    Perfect, thanks a bunch.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    As a database administrator, you may need to audit your table(s) to determine whether the data types are optimal for your real-world data needs.  This Article is intended to be a resource for such a task. Preface The other day, I was involved …
    This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
    The viewer will learn how to dynamically set the form action using jQuery.
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now