日期:2014-05-17  浏览次数:20806 次

UNIX下多条件导出数据库
比如说我的SQL语句是:
select * from table t where t.a = 'aa' and t.b = 2011 and t.c like '%D'
请问下像这样的语句在UNIX下怎么把满足这几个条件的表导出来啊!
UNIX的命令怎么写!

------解决方案--------------------
C:\>exp 用户名/密码@连接串 file=导出文件名 tables=(t) query=\"where t.a = 'aa' and t.b = 2011 and t.c like '%D'\"