logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: postgresql equivalent to ms access parameter query: msg#00067

db.postgresql.odbc

Subject: Re: postgresql equivalent to ms access parameter query

--- "David P. Lurie" <dbase4@xxxxxxxxxxx> wrote:
>

>
> I presume that a connection string would be
> something like:
>
> connection_name.Open "Provider=ODBC; DSN=xxx
> ;DATABASE=yyy;"

At a minimum, you can get away with just "DSN=xxx".
The database name would usually be specified in the
DSN, and ADO assumes ODBC by default.

I personally like the simplicity of working with
DSN's, but that does add a portability issue, being
the need to create a DSN wherever the application is
deployed. That may or may not be an issue for you,
depending on the environment in which you are working.
Some people like to do without DSN's by specifying
all necessary parameters in the connection string. I
haven't messed much with this, but AFAIK the psqlodbc
driver will use default values for all settings not
explicitly specified, so you don't need to provide a
full connection string in any case.

>
> An ADO recordset equivalent for the TABLE=zzz
> parameter could be:
>
> recordset1.Open ''zzz", connection_name

Yes.

>
>
> David P. Lurie
>
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose
> an index scan if your
> joining column's datatypes do not match


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings



<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo