Question: Modify the search expression for InvoiceDueDate from the previous solution. Rather than 30 days from today, return invoices due before the last day of the

Modify the search expression for InvoiceDueDate from the previous solution. Rather than 30 days from today, return invoices due before the last day of the current month.

This is what I have and I referred to it in the title as "Previous solution":

SELECT InvoiceNumber, (InvoiceTotal - PaymentTotal - CreditTotal) AS Balance, InvoiceDueDate FROM Invoices WHERE (InvoiceTotal - PaymentTotal - CreditTotal) > 0 and InvoiceDueDate < GETDATE() + 30;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!