I have a user defined function in a different database than the one i am querying from. Is there a way to access the function such as a fully qualified name or something similar in SQL?
I am trying to do this
[dbo].[EscalationManagementSystem].fncCVUnix2DateTZ(...
But i get an error saying that it cannot find the column “dbo” or the user defined function “dbo.EscalationManagemntSystem.fncCVUnix2DateTZ”. Is my syntax wrong?
The proper format is Database.Schema.Object, so you would have:
[EscalationManagementSystem].[dbo].[fncCVUnix2DateTZ](...