Received: from ns.nitek.ru (ns.nitek.ru [194.247.139.2]) by hub.org (8.8.8/8.7.5) with ESMTP id CAA10417 for ; Fri, 15 May 1998 02:29:38 -0400 (EDT) Received: from igor (igor.nitek.ru [194.247.139.10]) by ns.nitek.ru (8.8.4/8.8.5) with ESMTP id KAA24995; Fri, 15 May 1998 10:26:30 +0400 (MSD) Message-Id: <199805150626.KAA24995@ns.nitek.ru> From: "Igor Sysoev" To: Cc: Subject: Re: [SQL] Perl and SQL Date: Fri, 15 May 1998 10:24:38 +0400 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit > Does anybody know an easy way to convert the 'INSERT INTO' command using > perl to move data into SQL? I know I can use Pg.pm, but this is really > intended to do all the commands. I simply want to use my existing Perl > scripts and all I need to do is the 'INSERT INTO' command to put new data > into my table. I do not have the Pg.pm set up on my site and I really do > not need it to be if there is a simple way to use the 'INSERT INTO' command > with my existing perl script. I think you can try: $result = `psql base -c 'insert into ...'` ; and of course your script must have rights to access database . with best regards, Igor Sysoev