数据库快速导出

SqlServer:

2005以上

sqlcmd -E -Q"select * from person a,person b" -o "d: esult.txt" -s"@"

PostgreSQL:

delphi调用
cmd := 'cmd.exe /c psql -vencoding=uhc -q -A -f d:	mpsql.txt -h 192.168.77.2 -d mydb -U postgres -F "'+chr(9)+'" >d:	mp
esult.txt';

Oracle:

 

MySql:

原文地址:https://www.cnblogs.com/masg/p/9797403.html