BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TADOStoredProc

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
Alan
Guest





PostPosted: Mon Feb 14, 2005 4:48 am    Post subject: TADOStoredProc Reply with quote



Do I need to define the parameters of TADOStoredProc in the same order and
same name as in the stored procedure created in SQL Server 2000 ?


Back to top
Del M
Guest





PostPosted: Mon Feb 14, 2005 11:11 am    Post subject: Re: TADOStoredProc Reply with quote



If you point your data object at the stored procedure it will gather up the
parameters for you.


Back to top
Alan
Guest





PostPosted: Mon Feb 14, 2005 10:44 pm    Post subject: Re: TADOStoredProc Reply with quote



So I can order the parameters in any order provided the name of the
parameters have same name as defined in SQL Server ?

"Del M" <Del.Murray (AT) CreditHawk (DOT) Net> wrote

Quote:
If you point your data object at the stored procedure it will gather up
the
parameters for you.





Back to top
Del M
Guest





PostPosted: Mon Feb 14, 2005 11:42 pm    Post subject: Re: TADOStoredProc Reply with quote

No, the parameters must be in the same order. But, if you just set the
commandtext to the stored procedure name, the IDE will find the parameters
and add them to the object for you and you dont have to worry about order or
anything.


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.