Re: PG 8 INOUT parameters & ADO
am 26.04.2006 09:56:31 von Philippe LangThis is a multi-part message in MIME format.
------=_NextPart_000_001B_01C66917.B1CE2800
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Hiroshi,
It works fine, thanks.
Now I can use:
oCommand.Parameters.Refresh
oCommand.Parameters(0).Value =3D a
oCommand.Parameters(1).Value =3D b
=20
Just one question, which might be ADO-specific... Is the refresh capable =
of
recognizing the parameters names?
After the refresh, all parameters names are set to "". If they =
inhereited
the names of the parameters in Postgreql, that would allow us to do
something like:
oCommand.Parameters.Refresh
oCommand.Parameters("a").Value =3D a
oCommand.Parameters("b").Value =3D b=20
That would avoid confusion and bugs when giving initial values to the
parameters...
-----Message d'origine-----
De : Hiroshi Inoue [mailto:inoue@tpf.co.jp]=20
Envoy=E9 : mardi, 25. avril 2006 23:32
=C0 : Philippe Lang
Cc : Ludek Finstrle; pgsql-odbc@postgresql.org
Objet : Re: [ODBC] PG 8 INOUT parameters & ADO
Philippe Lang wrote:
>Ludek,
>
>There is small problem apparently: if I replace
> =20
>
Please replace the dll by the one at
http://www.geocities.jp/inocchichichi/psqlodbc/index.html .
regards,
Hiroshi Inoue
------=_NextPart_000_001B_01C66917.B1CE2800
Content-Type: application/x-pkcs7-signature;
name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEH AQAAoIII/zCCAocw
ggHwoAMCAQICEH9zwUYvHtvw6IJCOxLOs/kwDQYJKoZIhvcNAQEEBQAwYjEL MAkGA1UEBhMCWkEx
JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNV BAMTI1RoYXd0ZSBQ
ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA2MDQxMzEzNTE0MVoX DTA3MDQxMzEzNTE0
MV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