solidDB如何实现表数据导出

来源:百度知道 编辑:UC知道 时间:2024/05/13 09:28:10
solidDB的工具solexp如何到数据?

请参考:
全表导出:
solexp "tcp 2315" username password TABLE_NAME

条件导出:
solexp -e"select c1, c2, c3 from TABLE_NAME where c1 = xxx and c2 = yyy" "tcp 2315" username password TABLE_NAME

另外,可用solsql执行查询语句,结果从定向到文件的方法代替,如:
solsql -e "select c1, c2, c3 from test_table where c1 = xxx and c2 = yyy" "tcp 2315" username password >> xxxxxx.log