Code:
CREATE VIEW [MIS].[dbo].[WH_Code]
AS
SELECT tab1.cFtyCD,tab1.cBOICWHCode,tab2.cFtyCD
FROM MAS.dbo.sglFactory tab1
INNER JOIN MIS.dbo.vInvFinal tab2
ON tab1.cFtyCD = tab2.cFtyCD ;
This is my code. But this is not correct.When I executed the view they said,
Code:
'CREATE/ALTER VIEW' does not allow specifying the database name as a prefix to the object name.
Thank you