Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Remind me how you Select @dateParam

Author  Topic 

mikebird
Aged Yak Warrior

529 Posts

Posted - 2009-05-15 : 08:47:27
In a SP?

When pulling from keyboard input, please? It's been years

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2009-05-15 : 09:08:11
quote:
Originally posted by mikebird

In a SP?

When pulling from keyboard input, please? It's been years


Can you be more specific?

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-05-15 : 13:35:20
do you mean creation of sp with params?
if yes, its like

CREATE PROC spname
@param1 datatype,
@param2 datatype,
...

GO


if you meant passing value while calling its as follows

EXEC spname @param1=value1,@param2=value2....
Go to Top of Page
   

- Advertisement -