Select NAME, CANCEL_DATE..., ACCTID from Table1;
ACCTID
select * from table2 where ACCTID=@ACCTID select * from table3 where ACCTID=@ACCTID
SELECT a.Name, a.Cancel_Date, b.*, c.* FROM Table1 a JOIN Table2 b ON a.ACCID = b.ACCID JOIN Table3 c ON a.ACCID = c.ACCID WHERE a.ACCID = @ACCID
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)