Hello Again,Well I would really like to post my original code but due to confidentiality agreement I can't. I tried to come up with an example of what I mean...I can't even run it but I think it shows what I mean.ALTER VIEW [dbo].[vwCustomerDetail] WITH SCHEMABINDING AS SELECT CUS.typeID, PRD.[Description] AS Product, CUS.Fund, CUS.Status, CUS.Class, CUS.Code, COUNT_BIG(*) AS cBigFROM dbo.Customer CUS INNER JOIN dbo.tbl_lkpCustomerType CTY ON CUS.typeID = CTY.typeID INNER JOIN dbo.tblProduct PRD ON PRD.productID = CUS.Product INNER JOIN dbo.tbl_lkpFund FND ON FND.FundID = CUS.Fund INNER JOIN dbo.tbl_lkpValue LV1 ON LV1.LOVID = CUS.Status INNER JOIN dbo.tbl_lkpValue LV2 ON LV2.LOVID = CUS.Class INNER JOIN dbo.tbl_lkpValue LV3 ON LV3.LOVID = CUS.CodeGROUP BY CUS.typeID, PRD.[Description], CUS.Fund, CUS.Status, CUS.Class, CUS.Code, COUNT_BIG(*) AS cBig
The self joins on tbl_lkpValue are what is causing the problem. I thought this would work since they are named different aliases (LV1, LV2, LV3). I need to find a way to get around this so I can index this view. Thanks for trying!