Hello All,
First TIA.
I have POS software that changed the way they show the last 4 of a CC. I am able to see it in the SQL table but need to give my customer a way to be able to search for it and have it display in either a cmd or PS window.
I am able to create the SQL command just need help setting up to allow for the user to put in variable information.
Here is what I have
SQL
SELECT*FROM[dbanme].[dbo].[Transactions]WHEREdt_when='10/03/2018'anddt_when<'10/04/2018'ANDs_card_last_four='cc#'
I also want to only return certain fields in this order:
dt_when
i_transaction_id
c_amount
s_card_last_four
I need the ability to allow the customer to fill in the date range and allow for it to be either only one day or a range and be able to enter the last four digits of a card #.
Any assistance is greatly appreciated.