Hi,
I got the error if SP link to another DB that is not include in DA Schema.
SP statement like as following. “Garment” DB & “yorkapp” DB are the same SQL server. Why need to sperate two DB? Reason is “Garment” DB is belong to vendor. I must not change the DB functions anymore such as Views and SP. So I need to using the other DB to keep my business logic in Views or SP.
SELECT ColorCode, Color = ltrim(upper(Color)), ChnColor, UDField2|
FROM Garment.dbo.Ma_Color (nolock)|
WHERE (ISNULL(UDField1, N’N’) <> ‘Y’)|