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 2000 Forums
 Transact-SQL (2000)
 Function in Sql Server

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-01-04 : 08:26:48
Amr writes "Dear All,
How Can return Mor than one Value from Function In SqlServer
.Can I use Paramers as referece if yes tell me please?
Thanks."

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-01-04 : 08:28:59
You can use the function whose return type is Table
Refer this split function
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=50648

Madhivanan

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

ditch
Master Smack Fu Yak Hacker

1466 Posts

Posted - 2006-01-04 : 08:29:01
You can return a table variable from a function in sql server - that can contain more than 1 value.


Duane.
"It's a thankless job, but I've got a lot of Karma to burn off."
Go to Top of Page

ditch
Master Smack Fu Yak Hacker

1466 Posts

Posted - 2006-01-04 : 08:31:10
You beat me by 2 seconds Maddy - I guess it's not always a good thing to "Last a little Longer"


Duane.
"It's a thankless job, but I've got a lot of Karma to burn off."
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-01-04 : 08:32:12
No problem. This happens to all

Madhivanan

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

- Advertisement -