murray83
Games Collector
- Local time
- Today, 21:03
- Joined
- Mar 31, 2017
- Messages
- 827
Below code is almost perfect but for just one addition where i have it SUBSTR i want it then to CONCANT the numbers into one nice string
have tried google and after reading a few articles tried adding the CONCANT but it just went into error so any help would be great cheers
have tried google and after reading a few articles tried adding the CONCANT but it just went into error so any help would be great cheers

Code:
SELECT DISTINCT
Container_Id, From_Loc_Id, Final_Loc_Id, Priority, Task_Type, SUBSTR(Consignment,11,4)
FROM
Move_Task
WHERE
-- Task Type T = Marshall
Task_Type = 'T' AND Final_Loc_Id LIKE 'HRS%'
ORDER BY Priority DESC