Viewing 2 posts - 1 through 2 (of 2 total)
All entries with:
EXECUTE sp_msforeachdb 'USE ?
Should be replaced by:
EXECUTE sp_msforeachdb 'USE [?]
Issue: SQL Server database name with hyphen like abc-123
Thanks
February 20, 2024 at 8:30 am
#4381570
February 20, 2024 at 8:29 am
#4381569