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
hongjun
Start Free Trial