This document contains an ALTER procedure statement that modifies a stored procedure called ProManageInvoice. The modified procedure selects the customer name, invoice ID, invoice address, buyer ID, date range, primary key, and currency name from three tables - Tbl_ILSM_Customer, Main_Invoice_Table, and Tbl_ILSM_Currency - and joins them on primary key fields to return the aggregated data.
This document contains an ALTER procedure statement that modifies a stored procedure called ProManageInvoice. The modified procedure selects the customer name, invoice ID, invoice address, buyer ID, date range, primary key, and currency name from three tables - Tbl_ILSM_Customer, Main_Invoice_Table, and Tbl_ILSM_Currency - and joins them on primary key fields to return the aggregated data.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
This document contains an ALTER procedure statement that modifies a stored procedure called ProManageInvoice. The modified procedure selects the customer name, invoice ID, invoice address, buyer ID, date range, primary key, and currency name from three tables - Tbl_ILSM_Customer, Main_Invoice_Table, and Tbl_ILSM_Currency - and joins them on primary key fields to return the aggregated data.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
as begin SELECT Tbl_ILSM_Customer.CustomerName, Main_Invoice_Table.Invoice_Id, Main_Invoice_Table.Inv_Address, Main_Invoice_Table.Buyrs_Id, Main_Invoice_Table.WEF, Main_Invoice_Table.pk, Tbl_ILSM_Currency.CurrencyName FROM Tbl_ILSM_Customer INNER JOIN Main_Invoice_Table ON Tbl_ILSM_Customer.PK = Main_Invoice_Table.ClntFK INNER JOIN Tbl_ILSM_Currency ON Main_Invoice_Table.Invoice_Currency = Tbl_ILSM_Currency.id end