2

I'm looking a command line tool or SQL command to export/import a table or complete database. Much like the imp and exp commands of Oracle databases.

Any suggestions?

1 Answer 1

1

Have a look at the bcp utility (bulk copy).

It only does a table at a time, but here is a script that will do the entire thing.

As for a single command to export an entire database, it appears from this StackOverflow question that it is not possible.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.