Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1437973
  • 博文数量: 704
  • 博客积分: 10140
  • 博客等级: 上将
  • 技术积分: 6230
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-15 20:41
文章分类

全部博文(704)

文章存档

2013年(1)

2012年(16)

2011年(536)

2010年(151)

分类:

2011-03-31 11:29:22

create table "public"."wjpt_conn_tmp_log" ("seq_no" SERIAL, "beap" varchar(15) default ''::character varying, "customer_id" bigint default 0, "status" varchar(15) default ''::character varying, "start_time" varchar(30) default ''::character varying, "end_time" varchar(30) default ''::character varying )WITHOUT OIDS;

copy wjpt_conn_tmp_log (beap, customer_id, status, start_time, end_time) from '/database/pg/postgresql-7.3.1/bin/tt.log' USING DELIMITERS ' ';

create table "public"."wjpt_conn_tmp_log" ("seq_no" SERIAL, "beap" varchar(15) default ''::character varying, "customer_id" bigint default 0, "status" varchar(15) default ''::character varying, "start_time" varchar(30) default ''::character varying, "end_time" varchar(30) default ''::character varying )WITHOUT OIDS;


snprintf(pSQL, sizeof(pSQL) - 1, "Begin work;Truncate customer_status;Lock table customer_status;copy customer_status from '%s';Commit work;", filename);

阅读(614) | 评论(0) | 转发(0) |
0

上一篇:自己的程序在linux下自启动

下一篇:3.31

给主人留下些什么吧!~~