I have a database that contains common functions that I use in several databases. One of these functions takes in the table as a parameter, which is determined by the user TYPE. I would like to know if there is a way to call this function from another database.
I tried to determine the type in another database as follows:
DECLARE @bits as Common.dbo.Bits
However I got the error too many prefixes
I tried adding TYPE to each database, and then passing the table of this type of function to the general database, but there I get an error
Operand type collision: bits are incompatible with bits
Bauer
source share