We paid $150 to Autotask (now Datto) for a backup / export of our PSA data which they provided in the format of a .BAK file which is an SQL database.
We need to extract data from the Autotask PSA assets' user-defined fields (UDFs) so, in a disposable VM, I have:
- Installed Microsoft SQL Server 2017 Express (latest) and the Microsoft SQL Server Management Studio (SSMS).
- Restored the database using the BAK file.
- Determined that the data we need can be retrieved by using the view
dbo.wh_installed_product_udf. - Found that executing query
select * from wh_installed_product_udf/select * from dbo.wh_installed_product_udffails with the following error messages:
Msg 4121, Level 16, State 1, Procedure wh_installed_product_udf, Line 1 [Batch Start Line 0]
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.fnSafeNumericConvert", or the name is ambiguous.
Msg 4413, Level 16, State 1, Line 1
Could not use view or function 'wh_installed_product_udf' because of binding errors.
I have not been able to find a solution to this online, hence this post.