select VoucherNo as vNo from tbl_Cash union all select VoucherNo as vNo from tbl_Bank
SELECT VoucherNo into #A FROM tbl_Bank Insert into #A Select VoucherNo from tbl_Cash Select VoucherNo from #A
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)