X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 51620474E5C for ; Sun, 23 Feb 2003 17:18:03 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 29250-06 for ; Sun, 23 Feb 2003 17:17:52 -0500 (EST) Received: from mail.horistjr.com (66-23-193-54.clients.speedfactory.net [66.23.193.54]) by postgresql.org (Postfix) with SMTP id 9CB374758F1 for ; Sun, 23 Feb 2003 17:17:51 -0500 (EST) Received: (qmail 13221 invoked from network); 23 Feb 2003 22:17:53 -0000 Received: from localhost (HELO horistjr.com) (127.0.0.1) by localhost with SMTP; 23 Feb 2003 22:17:53 -0000 Received: from 192.168.100.1 (SquirrelMail authenticated user plist@horistjr.com) by mail.horistjr.com with HTTP; Sun, 23 Feb 2003 17:17:53 -0500 (EST) Message-ID: <1519.192.168.100.1.1046038673.squirrel@mail.horistjr.com> Date: Sun, 23 Feb 2003 17:17:53 -0500 (EST) Subject: SQL Statements question, why I get errors... From: To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.9) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/515 X-Sequence-Number: 11913 I work a software company and our software is run on databases.. We have no problem using MS SQL, DB2, ect... One of my customers wanted to try and use POSTGRESQL.. He tried it and is having problems, so I downloaded it and am running it on my Red Hat 7.3 box.. I am running version 7.3.2 of Postgresql.. I hope this is the right place to ask this.. When we first launch our program we create several tables... Here is an example of one table we create: create table test (f1 int, f2 char(30), f3 char(30), f4 char(30)) create unique index itest on test (f1 asc) The first statement works fine.. However the second statement is when i get this error: Error: parser: parse error at or near "asc" at character 43 Does anyone know of how I can get the last statement to work with this database???? Thanks...