Received: from mercury.noida.hclt.com ([204.160.248.59]) by hub.org (8.9.3/8.9.3) with ESMTP id HAA27908 for ; Fri, 7 Jan 2000 07:34:44 -0500 (EST) (envelope-from sirishk@titanium.noida.hclt.com) Received: from sirishk.noida.hclt.com (sirishk [204.160.254.237]) by mercury.noida.hclt.com (8.8.7/8.8.7) with SMTP id SAA32173 for ; Fri, 7 Jan 2000 18:06:37 +0530 Message-ID: <00ad01bf5909$90147220$edfea0cc@noida.hclt.com> From: "Sirish Kumar" To: Subject: Create database problem Date: Fri, 7 Jan 2000 17:50:18 +0530 Organization: HCLT MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Hello, I tried to create database using embedded SQL through following statements ... exec sql begin declare section; char dbname[]="pgdb"; ... exec sql end declare section; main() { ... exec sql create database :dbname ; ... } On compilation ecpg gives parser error at "...create database..." statement. Can anybody help ? Thanks Sirish ************ ---------------------------------------- Best Regards Sirish Kumar HCL Technologies (India) Pvt. Ltd. Ph : +91-11-8-510813/701/702 Ext.1107 Fax : +91-11-8-510713 ----------------------------------------