I usually write reports for my company in this way. I write the queries for results required from GP into query analyzer. Put the results in excel and give it to my boss/users. They prefer the data in excel where we further process it.
I need to write a query to get all invoices that are past due (not received payments for) and the days they are past due. I was trying to understand the tables to get all this information from SQL but couldn't get much ahead. If anyone can explain which tables this data is stored in and where the relationship between the invoices and payments is, i would be highly obliged, thanks.
Learn everything but implement only what is needed (learned the hard way
)
I need to write a query to get all invoices that are past due (not received payments for) and the days they are past due. I was trying to understand the tables to get all this information from SQL but couldn't get much ahead. If anyone can explain which tables this data is stored in and where the relationship between the invoices and payments is, i would be highly obliged, thanks.
Learn everything but implement only what is needed (learned the hard way