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 

Saving parameters

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





PostPosted: Mon Sep 22, 2003 10:53 pm    Post subject: Saving parameters Reply with quote



How can I Save the parameters from a stored procedure and restore them
to another stored procedure or the same stored procedure (when I change
the procedurename value)? It should be obvious that these procedures
have the same parameter list, however, when I change the name the
parameter list goes out the window and there is no sense creating them
individually.


Back to top
Robert Cerny
Guest





PostPosted: Mon Sep 29, 2003 6:33 am    Post subject: Re: Saving parameters Reply with quote



At designtime?
Parameters are autocreated when you prepare the procedure, so does not have
much sense saving them. If you mean parameter values, you'd have to write
your own property editor for procedure name property.
At runtime you simply assign them to parameters of another stored proc.

--
Robert Cerny
DelphiShaman
"RandChris" <RCoyle (AT) pfshouston (DOT) com> wrote

Quote:
How can I Save the parameters from a stored procedure and restore them
to another stored procedure or the same stored procedure (when I change
the procedurename value)? It should be obvious that these procedures
have the same parameter list, however, when I change the name the
parameter list goes out the window and there is no sense creating them
individually.




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) 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.