简体   繁体   English

使用RapidSQL导出Sybase表数据的方法

[英]Methods to export Sybase table data using RapidSQL

I am trying to export Sybase DB tables using RapidSQL. 我正在尝试使用RapidSQL导出Sybase DB表。 I am accessing the DB tables as a client as the DB resides on a remote server. 由于数据库位于远程服务器上,因此我作为客户端访问数据库表。

I need to dump the table contents separated by commas onto my local machine. 我需要将用逗号分隔的表内容转储到本地计算机上。

What are some methods this can be achieved? 这可以实现哪些方法?

Thanks. 谢谢。

Use the Sybase bcp utility. 使用Sybase bcp实用程序。 It allows you to export data from the database, table by table. 它允许您逐表从数据库导出数据。 By default I believe it creates a TAB delineated file, but you can change the field delimiter with the -t option and the row delimiter with the -r option. 默认情况下,我相信它会创建一个TAB轮廓文件,但是您可以使用-t选项更改字段定界符,而使用-r选项更改行定界符。

More information can be found in the Sybase documentation here 有关更多信息,请参见Sybase文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM