From: lonh SENG <slonh@camgsm.com.kh>
To: pgsql-admin@postgresql.org
Subject: SQL Script
Date: Wed, 30 Jan 2002 08:12:32 +0700
Message-ID: <00ba01c1a92b$31c58280$05a00017@idlonh> (raw)
Hi all,
I have one table containing data as "source.txt" attached file. I want to create a script to clean the data and get the result as "result.txt" attached file.
inbtime and inbtime1 is datetime data type.
Anyone has an idea?
Any help will be appreciated.
thanks in advance
Sorry. It seems to be out of the topic.
Regards,
lonh
Attachments:result.txt (text/plain, 585B) download
card inbtime inbtime1
---------------- --------------------------- ---------------------------
0250002 2002-01-25 19:16:41.000 2002-01-25 19:17:18.000
0250002 2002-01-25 19:17:18.000 2002-01-25 20:12:07.000
0250002 2002-01-25 20:12:07.000 2002-01-26 05:34:09.000
0250002 2002-01-26 05:34:09.000 2002-01-27 18:38:52.000
0250002 2002-01-27 18:38:52.000 2002-01-27 18:38:52.000
0250003 2002-01-25 06:28:31.000 2002-01-25 17:13:26.000
0250003 2002-01-25 17:13:26.000 2002-01-26 06:39:00.000
source.txt (text/plain, 378B) download
card inbtime
---------------- ---------------------------
0250002 2002-01-25 19:16:41.000
0250002 2002-01-25 19:17:18.000
0250002 2002-01-25 20:12:07.000
0250002 2002-01-26 05:34:09.000
0250002 2002-01-27 18:38:52.000
0250003 2002-01-25 06:28:31.000
0250003 2002-01-25 17:13:26.000
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: slonh@camgsm.com.kh
Subject: Re: SQL Script
In-Reply-To: <00ba01c1a92b$31c58280$05a00017@idlonh>
References: <00ba01c1a92b$31c58280$05a00017@idlonh>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox