Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Are the first 2 Characters a letter??

$
0
0
I do not have any experience with DB2, but i have an issue that i need to resolve. I want to select all records from a table where the first 2 characters within a field are alphanumeric. I know that this can easily be achieved within SQL Server i.e.

Select * from table Where field like ([A-z],[A-z]%)

Can anyone provide me with an example of how to do this in DB2

Thank you all in advance

Viewing all articles
Browse latest Browse all 13329