I have a user defined function in one database. Within query analyer, I would call the function with this syntax dbo.myfunction(). my function is in the first database. I'm writing a stored procedure and want to call this function within an instance of another database. I can't seem to reference my function outside of the first database.