Skip to content
Advertisement

Search specific format value in database field

I have to search for specific format values in a database field. Value format as below:

YYYY– could be a year i.e. 2018, 2019

I tried to use Format() function as well as tried with RegEX but it’s not getting results as expected. Any help would be appreciated!

Advertisement

Answer

Here I am assuming that atleast 4 digits will follow ‘ABC ‘ and post the digits you will have : and followed by years ‘2018’ or ‘2019’

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement