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
 General SQL Server Forums
 New to SQL Server Programming
 Store procedure return value

Author  Topic 

rsegecin
Yak Posting Veteran

82 Posts

Posted - 2011-01-08 : 04:48:49
Is it possible to a stored procedure return datetime value or anything other than an integer and if it's possible how do I declare it on the procedure?

Thank you very much.

Ideas are bullet proof.

V for Vendetta.

Fell free to correct me if I misspelled something or a "better way to say it".

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2011-01-08 : 04:58:42
yes it is possible with output parameter but not with the return value


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-01-08 : 13:13:01
see
http://www.sqlteam.com/article/stored-procedures-returning-data

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -