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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2003-08-15 : 07:00:02
|
| Montesh writes "Hi all, I would like to acess a user defined function without specifying the user name of the creator.Lets say function name is getNow(@intVar Integer)i.e. Instead of using Select dbo.getNow(1)I would like to use it as Select getNow(1)Please let me know if that is possible" |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2003-08-15 : 07:01:04
|
From Books Online:quote: Calling User-Defined FunctionsWhen calling a scalar user-defined function, you must supply at least a two-part name:SELECT *, MyUser.MyScalarFunction()FROM MyTableTable-valued functions can be called by using a one-part name:SELECT *FROM MyTableFunction()
|
 |
|
|
Page47
Master Smack Fu Yak Hacker
2878 Posts |
|
|
|
|
|