In a sql stored procedure I see a block of sql that looks like this:
SELECT @GenPlanGuid = GenPlanGuid
FROM ACM.BeeBusiness
WHERE BeeBusinessGuid = @BeeBusinessGuid
There is no database named ACM, no linked server, no functions, nothing that is a subselect with an alias like this –> (select something from something) ACM
So where is that alias hidden?
It could be the ‘schema name’, sometimes referred to as ‘owner name’ or ‘user name’.
Which DBMS?