MySQL Forums
Forum List  »  General

Re: Converting SQL server query to mysql
Posted by: Peter Brawley
Date: May 25, 2022 09:44AM

Approximate MySQL equivalents of patindex() would be instr(), regexp_instr(), regexp_substr(), substring_index(), eg see the manual pages for those funcs, and https://stackoverflow.com/questions/38315658/patindex-replacement-in-mysql#:~:text=REGEXP_INSTR%20is%20close%20in%20functionality,released%20before%208.0%20was%205.7.

Options: ReplyQuote


Subject
Written By
Posted
Re: Converting SQL server query to mysql
May 25, 2022 09:44AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.