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

Author  Topic 

baska123
Yak Posting Veteran

64 Posts

Posted - 2006-10-16 : 13:22:57
is it possible to run user defined function from query analyzer and see the results?

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-10-16 : 13:34:12
YES!


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2006-10-16 : 13:34:21


yes

Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-10-16 : 13:42:05
However, if the function returns a scalar value, you MUST add owner to the function call.
select dbo.fnSomeFunction(1, 2)

This is not necessary with functions that returns a table
select * from fnSomeFunction(1, 2)


Peter Larsson
Helsingborg, Sweden
Go to Top of Page
   

- Advertisement -