- 浏览: 27324 次
- 性别:
- 来自: 广州
最新评论
文章列表
1.打印流(PrintStream、PrintWriter)
String name = "apq"; int age = 100;
PrintStream out = new PrintStream(new FileOutputStream(new File("d:/1.dat")));
out.printf("Name: %s, Age: %s", name, age);
2.字节流(InputStream、OutputStream)
InputStream in = new FileInputStream( ...
Class:
package Heap;
import MyInterface.Comparator;
import MyInterface.Queue;
import java.util.NoSuchElementException;
import java.util.Arrays;
public class PriorityQueue<T> implements Queue<T> {
private T[] arr;
private int qSize;
private Comparator<T> comp;
...
--运行sql脚本
start d:\sql\test.sql;
--截取屏幕内容
spool d:\sql\test_bak.sql;
select * from emp;
spool off;
--导出表(要进到oracle安装目录下面的bin目录下面进行导出)
exp userid=scott/tiger@ORA1 tables=(emp) file=d:\emp_bak.dmp;
--导出表结构
exp userid=scott/tiger@ORA1 tables=(emp) file=d:\emp_bak.dmp rows=n;
--导出表结构
exp ...