In order to correctly 'match' data to another data source, I'm looking to add something (perhaps a collation?) to this query in order to return results A-Z 0-9
instead of 0-9 A-Z
as they are now.
SELECT TOP 1 order_id
FROM orders
WHERE order_id IS NOT NULL
ORDER BY order_id
Note that order_id
is a nvarchar
field.
For this example, I'm getting order 04394 instead of order ASK284 as I'm looking for.