SELECT TempLn.CustID as CustID, TempLn.*, BSpotDt.*; FROM TempLn; JOIN BSpotDt ON TempLn.BoIdBase = BSpotDt.BoIdBase; WHERE &cSqlCmd2; INTO table ResultsThe CustIDs in TempLn.* and BSpotDt.* will still be aliased.
>SELECT TempLn.*, BSpotDt.*; > FROM TempLn; > JOIN BSpotDt ON TempLn.BoIdBase = BSpotDt.BoIdBase; > WHERE &cSqlCmd2; > INTO table Results >>