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 |
|
Apollois
Starting Member
49 Posts |
Posted - 2004-02-10 : 00:29:32
|
| How/where do I create user-defined functions that can be used by all DBs in a Server?IOW, I want everyone to have unrestricted execution access to these functions.I tried saving a test function in the master DB, but to call it from any other DB, I had to use the fully qualified name:SELECT master.dbo.fn_Test()I would like to be able to simply use:SELECT fn_Test()I was hoping that the prefix of "fn_" would do the trick, but it didn't.Any ideas?Best Regards,Jim |
|
|
|
|
|