Article View: comp.lang.pascal.delphi.databases
Article #190Re: ADOExpress Stored procedure parameters (TeamB - any ideas?)
From: pittsje
Date: Wed, 15 Sep 1999 00:00
Date: Wed, 15 Sep 1999 00:00
33 lines
2092 bytes
2092 bytes
Question restated - Is there an ADO method call to retrieve the parameters for a stored procedure? Or, what am I doing wrong here: (is it possible that this is only valid for ADO 2.5 beta?) rs := OpenSchema( adSchemaProcedureParameters, ['salesdata', 'dbo', 'sp_Cleanup', ''], nil ) this call tells me that a parameter is incorrect. Help, anyone? In article <7rbrd7$upm$1@nnrp1.deja.com>, pittsje@my-deja.com wrote: > I am trying to reverse-engineer the method that Delphi 5 (ADO, > preferably) uses to populate the Parameters collection for a > TADOStoredProc component at design for my own use at run time. So far, > my options are to directly call sp_procedure_params_rowset and parse > those results. The preferred method would be to reuse Borland's method. > > Yes, I am aware of the potential performance hit associated with this > action - my design includes cacheing the results for later use if > necessary. > > Any ideas? > > Sent via Deja.com http://www.deja.com/ > Share what you know. Learn what you don't. > Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.
Technical Details
Message-ID:
<7roc29$gpq$1@nnrp1.deja.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7rbrd7$upm$1@nnrp1.deja.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ffff5,c51ebedf9ded6f20,start X-Google-Attributes: gidffff5,public X-Google-Thread: fb0ea,c51ebedf9ded6f20,start X-Google-Attributes: gidfb0ea,public X-Google-Thread: fd196,ab6636b57e7d0587 X-Google-Attributes: gidfd196,public From: pittsje@my-deja.com Subject: Re: ADOExpress Stored procedure parameters (TeamB - any ideas?) Date: 1999/09/15 Message-ID: <7roc29$gpq$1@nnrp1.deja.com> X-Deja-AN: 525369122 References: <7rbrd7$upm$1@nnrp1.deja.com> X-Http-Proxy: 1.1 x21.deja.com:80 (Squid/1.1.22) for client 12.20.122.76 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Wed Sep 15 14:56:16 1999 GMT X-MyDeja-Info: XMYDJUIDpittsje Newsgroups: comp.lang.pascal.delphi.databases,borland.public.delphi.vcl.components.using,borland.public.delphi.oleautomation X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)