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.
Author |
Topic |
karthik425
Starting Member
3 Posts |
Posted - 2011-08-23 : 01:43:40
|
How to call a function from stored procedure in sql server..please show me an examplekarthik |
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2011-08-23 : 01:46:06
|
Depends on whether you want to call scalar or table-valued function. Scalar function can be called just like normal SQL server function:select dbo.myfunc(col) from tableTable-valued function can be called as below:select * from dbo.myTableValuedFunc() as tempHarsh Athalyehttp://www.letsgeek.net/ |
 |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-08-23 : 01:58:03
|
for table valued functions you can use them like a normal table in joins etc------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
|
|