Suppose we have a column in a database which containse numeric, alpha-numeric or alpha . Following query can be be used to retrieve only alphanumeric fields:
Sample:
Select * from tblUser Where Name like '%[0-9]%'
Sample:
Select * from tblUser Where Name like '%[0-9]%'
No comments:
Post a Comment