X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 60A33DB691 for ; Sun, 13 Nov 2005 15:53:56 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 90317-08 for ; Sun, 13 Nov 2005 19:53:52 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from web33201.mail.mud.yahoo.com (web33201.mail.mud.yahoo.com [68.142.206.99]) by svr1.postgresql.org (Postfix) with SMTP id EF3E5DB662 for ; Sun, 13 Nov 2005 15:53:52 -0400 (AST) Received: (qmail 76704 invoked by uid 60001); 13 Nov 2005 19:53:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=vuM1ij3vSLKaNaDvlGMn3/E3Vx7pifF4Jn+VALmBYJ/XIFv6ETd5/h6nQA0PCkf2p2PWd5Ubh9q3/9a7CINKVQvVjwzc7m3ig3CbJsM9EkHrnNaIU/Pp/WviVnf7exkLTHkdDC/5dz1aUkPezgAGHT9e97LtKjgLkzVtm/WrtLc= ; Message-ID: <20051113195353.76702.qmail@web33201.mail.mud.yahoo.com> Received: from [212.81.22.52] by web33201.mail.mud.yahoo.com via HTTP; Sun, 13 Nov 2005 11:53:53 PST Date: Sun, 13 Nov 2005 11:53:53 -0800 (PST) From: "P.M" Subject: script to create DB under VB.net 2005 and ODBC To: pgsql-odbc@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.479 required=5 tests=[DNS_FROM_RFC_ABUSE=0.479] X-Spam-Score: 0.479 X-Spam-Level: X-Archive-Number: 200511/125 X-Sequence-Number: 6362 Hi, I'm able without any trouble to test if postgreSQL connectionstring is correct via a simple connection open and close. However, now i want to write a script (a simple txt file) that will create from scratch my new DB. the first command i want to test is "CREATE DATABASE myDBtest;" so i use normal odbcConnection and odbcCommand class under VB.net 2005 for this. it works perfectly under MS SQL 2000, but not under PostgreSQL 8.0.4. I tried to find if my ExecuteNonQuery command is wrong but everything is ok... So, i would appreciate some help if someone knows how to solve this issue. thanks a lot, Maileen __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com