Reputation: 127
Hii Guys!!! i have a table named cdrcost which has dst column.I am need to retrieve the values based on digits in the column values. For example:
dst
0001266 2545 874545565612 25452`
Any suggestion will be welcomed
Upvotes: 1
Views: 172
Reputation: 16355
Assuming I understood what you're asking for:
SELECT *
FROM cdrcost
WHERE LENGTH(dst) = 31;
Upvotes: 1