From: P.M <pmdanger@yahoo.com>
To: pgsql-odbc@postgresql.org
Subject: script to create DB under VB.net 2005 and ODBC
Date: Sun, 13 Nov 2005 11:53:53 -0800 (PST)
Message-ID: <20051113195353.76702.qmail@web33201.mail.mud.yahoo.com> (raw)
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
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-odbc@postgresql.org
Cc: pmdanger@yahoo.com
Subject: Re: script to create DB under VB.net 2005 and ODBC
In-Reply-To: <20051113195353.76702.qmail@web33201.mail.mud.yahoo.com>
References: <20051113195353.76702.qmail@web33201.mail.mud.yahoo.com>
* 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