cycle Posted May 27, 2020 Report Posted May 27, 2020 Bro’s i want to pull the count of all the records from a particular column which are not in 24hrs format. Also have to pull if i have records as 25:00,26:00 etc example: i have to pull which are 6:00, 5:00,4:00 etc Skip valid format is 06:00, 05:00, 04:00 Appreciate your Help Quote
cycle Posted May 27, 2020 Author Report Posted May 27, 2020 9 minutes ago, isthri_chembu said: Explore function REGEXP_LIKE Tried bro not working. Tried with select * from TableName where REGEXP_LIKE (ColumnName,'([01]?[0-9]|2[0-3]):[0-5][0-9]'); Quote
dasari4kntr Posted May 28, 2020 Report Posted May 28, 2020 Can u try this? ^([0-1][0-9]|[2][0-3]):([0-5][0-9])$ 1 Quote
cycle Posted May 28, 2020 Author Report Posted May 28, 2020 6 minutes ago, dasari4kntr said: Can u try this? ^([0-1][0-9]|[2][0-3]):([0-5][0-9])$ Thanks a lot bro. Working Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.