Hello to all
I need help on some sql statements and wondering is anyone out there is able
to help.
I've extracted some data from the database into a new table consisting of 4
fields
CustomerID Date Pallets Quantity
A0001 20050108 3 800
A0001 20050111 -2 -300
A0001 20050203 8 1200
A0001 20050212 -3 -500
my requirements:
1. to convert the date format from 20050118 to 18-Jan-2005
2. To have an option for selection by customer and date range :-
Selected Customer : A0001
Date Range : 01-Feb-2005 to 12-Feb-2005
3. the result to be display :-
CustomerID Date RunningPallet# RunningTotalQty
A0001 01-Feb-2005 1
500
A0001 03-Feb-2005 9
1,700
A0001 12-Feb-2005 6
1,200
hope someone can help me out on this as i am not an sql user
TQ
I need help on some sql statements and wondering is anyone out there is able
to help.
I've extracted some data from the database into a new table consisting of 4
fields
CustomerID Date Pallets Quantity
A0001 20050108 3 800
A0001 20050111 -2 -300
A0001 20050203 8 1200
A0001 20050212 -3 -500
my requirements:
1. to convert the date format from 20050118 to 18-Jan-2005
2. To have an option for selection by customer and date range :-
Selected Customer : A0001
Date Range : 01-Feb-2005 to 12-Feb-2005
3. the result to be display :-
CustomerID Date RunningPallet# RunningTotalQty
A0001 01-Feb-2005 1
500
A0001 03-Feb-2005 9
1,700
A0001 12-Feb-2005 6
1,200
hope someone can help me out on this as i am not an sql user
TQ
Comment