Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我必须将数据从旧数据库传输到表名和列名不同的新数据库。可以使用 DOS 命令或任何其他解决方案来完成吗?一种是 POSTGRESQL,旧的是 MYSQL。
我担心的是表名和列名不同,列号相同。谢谢
I do not know the postgresql part but for sql server you can use sqlcmd.exe to export data as text format with or w/o column names
sqlcmd.exe
Please check
http://msdn.microsoft.com/en-us/library/ms162773.aspx