SyntaxFix
Write A Post
Hire A Developer
Questions
It's the correct way to access linked DB:
EXEC [ServerName].[DatabaseName].dbo.sp_HelpText 'storedProcName'
But make sure to mention dbo as it owns the sp_helptext.
dbo
sp_helptext