Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameter names newbie question
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01544332
Message ID:
01544341
Views:
15
>>Hi,
>>
>>(sorry for many newbie questions today). Do names of the parameters defined in a stored procedure have to be the same as names defined in the calling procedure? For example, if I am creating a parameter in a .net method and I name the parameter @cMyParam1, exactly the same name has to be in the stored procedure? E.g.
>>
>>
>>procedure MyProc
>>    @cMyParam1 VarChar(20)
>>
>>
>>Or, as in VFP procedure, the name could be anything? TIA.
>
>Seriously?

I just checked one of the VFP stored procedures and the name of a parameter in the procedure is different from the name I specified in a method of .net class that calls this procedure.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform