Search Postgresql Archives

Re: Transactions, PostgreSQL and MS Access front end.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try to use ADO

Dim con as ADODB.Connection
set con = new ADODB.Connection
con.Open "DRIVER={PostgreSQL};
                SERVER=ipaddress; port=5432;
                DATABASE=dbname;
                UID=username;PWD=password;"

con.BeginTrans
con.Execute "UPDATE accounts SET balance = balance + 100.00
                     WHERE acctnum = 12345"
con.Execute "UPDATE accounts SET balance = balance - 100.00
                     WHERE acctnum = 7534"
Con.CommitTrans



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux