坚持,做最好的自己
分类: Oracle
2013-01-29 18:22:26
create table test_qu ( col_num number(10), col_var varchar2(10), col_dat date ); insert into test_qu select rownum,to_char(rownum*5),round(sysdate+rownum) from dual connect by rownum < 20; commit; select * from test_qu;
exp report/oracle@ora10 file=1.dmp TABLES=\(test_qu\) QUERY=\"WHERE col_num \>= 5\" exp report/oracle@ora10 file=1.dmp TABLES=\(test_qu\) QUERY=\"WHERE col_var \>= \'5\'\" exp report/oracle@ora10 file=1.dmp TABLES=\(test_qu\) QUERY=\"WHERE col_dat \>= to_date\(\'20130129\',\'yyyymmdd\'\)\"
exp report/oracle@ora10 file=1.dmp TABLES=(test_qu) QUERY="'WHERE col_num >= 5'" exp report/oracle@ora10 file=1.dmp TABLES=(test_qu) QUERY='"WHERE col_num >= 5"' exp report/oracle@ora10 file=1.dmp TABLES=(test_qu) QUERY="'WHERE col_var >= ''5'''" exp report/oracle@ora10 file=1.dmp TABLES=(test_qu) QUERY='"WHERE col_var >= ''5''"' exp report/oracle@ora10 file=1.dmp TABLES=(test_qu) QUERY="'WHERE col_dat >= to_date(''20130206'',''yyyymmdd'')'" exp report/oracle@ora10 file=1.dmp TABLES=(test_qu) QUERY='"WHERE col_dat >= to_date(''20130206'',''yyyymmdd'')"'