Advertisement

06.13.2005 at 10:16AM PDT, ID: 21456317
[x]
Attachment Details

Connection String

Asked by hongjun in PostgreSQL Database

Tags: connection, string, postgres

I downloaded and installed postgresql-8.0.3.zip from http://www.postgresql.org/ftp/binary/v8.0.3/win32/ . I have created a database with sql statement as below

CREATE TABLE my_table
(
  "ID" int2 NOT NULL,
  "Username" varchar(20) NOT NULL,
  CONSTRAINT my_table_pkey PRIMARY KEY ("ID")
)
WITHOUT OIDS;
ALTER TABLE my_table OWNER TO postgres;

I believe ODBC is also being installed using the same downloaded installer because I see the driver from Data Sources.

My Question is this
1) I tried creating a data source (system dsn) but am not sure if I am correct or not.
2) What should be the connection string to connect? I am using VB 6.0 with ADO for your information.
3) Is Oledb automatically installed like ODBC? Then what's the connection string for oledb?


Cheers
hongjunStart Free Trial
[+][-]06.13.2005 at 11:04AM PDT, ID: 14204707

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: PostgreSQL Database
Tags: connection, string, postgres
Sign Up Now!
Solution Provided By: earthman2
Participating Experts: 2
Solution Grade: B
 
 
[+][-]06.13.2005 at 06:30PM PDT, ID: 14208191

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.13.2005 at 06:31PM PDT, ID: 14208195

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.14.2005 at 03:58AM PDT, ID: 14209786

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.14.2005 at 04:06AM PDT, ID: 14209835

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.14.2005 at 06:18AM PDT, ID: 14210890

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.17.2005 at 06:44AM PDT, ID: 14240694

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32