I have a query that is supposed to return only records that contain numbers but for some reason doesn't seem to work in Progress. We export our data from Progress to SQL Server and if I run the query in SQL Server it works fine but running in Progress it returns all records. can someone take a look and see if they have any suggestions.
SELECT ShipToNum
FROM Pub.ShipTo
WHERE (CustNum = 10)
AND (ShipToNum NOT LIKE '%[a-z]%')
AND (ShipToNum <> '')
This particular customer has 7 records 1 being blank " ,2,3,4,5,6,hug1" If I run that query in SQL Server it returns "2,3,4,5,6" only. But in Progress it still returns every record.
Thanks,
Ben
SELECT ShipToNum
FROM Pub.ShipTo
WHERE (CustNum = 10)
AND (ShipToNum NOT LIKE '%[a-z]%')
AND (ShipToNum <> '')
This particular customer has 7 records 1 being blank " ,2,3,4,5,6,hug1" If I run that query in SQL Server it returns "2,3,4,5,6" only. But in Progress it still returns every record.
Thanks,
Ben