What is the SQL syntax to dump a table from a database

I want to dump a table from a MySQL, SQLite, MS SQL, Oracle  PostgreSQL DB.  I was informed their system is using SQL 5.x.  What is the SQL code?
Vanavah EdwardsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

EyalCommented:
drop table TABLENAME
Vanavah EdwardsAuthor Commented:
I know this command already.  I am not looking for DROP tablle but DUMP table syntax
EyalCommented:
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

Vanavah EdwardsAuthor Commented:
That site does not solve the problem only complicate it  It outlined that the DUMP command would be removed from all future version of MS SQL.  If you know the commands just post them with good references
OP_ZaharinCommented:
- in Oracle you can use EXP or EXPDP utility from command prompt to dump tables or the whole database into a dump file. however this dump format is only recognize by Oracle.
http://www.orafaq.com/wiki/Import_Export_FAQ
http://psoug.org/reference/export.html
http://psoug.org/reference/datapump.html
http://docs.oracle.com/cd/B28359_01/server.111/b28319/dp_export.htm

- should you need to dump a table into a text file, for eg a comma delimeter file, you can use the free Oracle's SQL Developer tool and choose export to CSV options:
http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html

- the following link also listed various way of getting a table from various database into a dump/text file format:
http://www.spatialkey.com/support/how-to/export-your-data-to-csv-from-a-database/

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Vanavah EdwardsAuthor Commented:
I need to dump MySQL, SQLite, MS SQL, PostgreSQL in a SQL formatted file with extension .SQL  What is teh dump code for each?
OP_ZaharinCommented:
.SQL file usually refers to a file contain DML operation list or DDL of table/database. can you confirm with "their" that you are referring to, is requiring a table definition instead of a table data?  
OP_ZaharinCommented:
- if my assumption on DDL above is true, you can use a 30day full feature razorsql to generate the .sql file on various databases:

http://www.razorsql.com/docs/ddl_generator.html
http://www.razorsql.com/download.html
NeilChakCommented:
Here is how to export using ms sql studio.
http://msdn.microsoft.com/en-us/library/ms141209.aspx
Vanavah EdwardsAuthor Commented:
The answer did not include a solution to SQLite or mySQL database which was ask.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Databases

From novice to tech pro — start learning today.