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)
 help on function

Author  Topic 

krish001
Yak Posting Veteran

61 Posts

Posted - 2009-11-24 : 13:43:43
Iam using function where it is returning always the last value of column how to get multiple values??

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2009-11-24 : 13:47:31
you can return a table variable


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2009-11-25 : 01:50:15
quote:
Originally posted by webfred

you can return a table variable


No, you're never too old to Yak'n'Roll if you're too young to die.


You meant to say "You can use table valued function"?

Madhivanan

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

kbhere
Yak Posting Veteran

58 Posts

Posted - 2009-11-25 : 03:14:42
Krish,

Provide much more information about your function and its purpose..
If you post your code, then we can understand much better and provide relevant solutions..
Otherwise we assume something and may post some irrelevant replies to you..
Since, each will have different assumptions and our assumptions may go wrong..
So, make it clear, if u want to get accurate results..



Balaji.K
Go to Top of Page
   

- Advertisement -