Jump to content

SQL Query Help!


cycle

Recommended Posts

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

Link to comment
Share on other sites

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]');
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...