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

解决方案 »

  1.   

    就是 EXP usename/password@dbname 一些选项 query=‘where 这里我就不会写了
      

  2.   

    导出从客户端导就行了,一般客户端都装在windows下,你用plsql导,怎么导都行。
      

  3.   

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

  4.   


     query=\"where t.a = 'aa' and t.b = 2011 and t.c like '%D'\" 我也是这样写的,但是是报错的