I am trying to execute a stored procedure 'get_lotno' in database 'bb4inlinesamples' from an existing stored procedure 'procbbvsamples' in database 'brightbeer'. Both databases reside on the same server.
I have added the following statement
EXECUTE BB4INLINESAMPLES.dbo get_lotno
within 'procbbvsamples' but it returns the error:-
error 509: UserName 'BB4InlineSamples' not found
can anybody tell me what line of code I need to do this?
I have added the following statement
EXECUTE BB4INLINESAMPLES.dbo get_lotno
within 'procbbvsamples' but it returns the error:-
error 509: UserName 'BB4InlineSamples' not found
can anybody tell me what line of code I need to do this?