liujjun 发表于 2018-8-18 06:18:54

shell 执行 oracle sql-Linux一万小时

  创建可以自动增长的表
  create table timetb(id number,time date);
  create table timetb(id number,time date);
  insert into timetb(id,time) values(1,to_char(sysdate,'YYYY-MM-DD HH24:MI:SS'));
  脚本内容:
  #!/bin/bash
  source ~/.bash_profile
  sqlplus bbgo/bsbnet
页: [1]
查看完整版本: shell 执行 oracle sql-Linux一万小时