Linqpad not listing all the stored procedures
Just confirmed that even though the sprocs are all in the same schema, linqpad is not listing some of them. All of them are being properly listed in SSMS though.
I also tried listing the sprocs using this query and it shows that the missing ones and the shown ones both have the same schema.
SELECT specific_schema, routine_schema, specific_name FROM information_schema.routines
WHERE routine_type = 'PROCEDURE'
ORDER BY specific_name
I also tried listing the sprocs using this query and it shows that the missing ones and the shown ones both have the same schema.
SELECT specific_schema, routine_schema, specific_name FROM information_schema.routines
WHERE routine_type = 'PROCEDURE'
ORDER BY specific_name
Comments
We're seeing this issue with Stored Procs that use custom Table Types. The interesting thing is that LINQPad 7 works properly, but LP5 and LP8 don't. (All licensed)
LP7 shows a Table Types section with our custom types, and all the stored procs show properly.
Both LP5 and LP8 do not show a Table Types section, and don't show the stored procs that use them (but others show fine). So there is a clear regression from LP7 to LP8.
Everything is in one schema (dbo), and there is no duplication of names anywhere.
Should be very easy to repro, but if I can assist, let me know.
Can you provide a MRE? A simple script that I can run on SQL Server to reproduce the problem.
Sure:
Here's a contrived (and poorly normalized) db that shows it:
Thanks for the repro. This is caused by a strange bug in SQL Server, whereby user-generated table types report as system-generated. There will be a workaround in the next beta; in the meantime, you can avoid this problem by checking the 'Include System Tables/Views' option in the connection dialog.