Need Expert Help, I think with Negative Lookbehind
Posted: Thu Jul 22, 2021 7:54 pm
I'm trying to match on a SQL INSERT statement, but only up to the first GO statement. I think I need Negative Lookbehind assist, but I could not make it work.
This will keep finding until the LAST GO statement, but I only want the NEXT GO statement after the INSERT.
This will keep finding until the LAST GO statement, but I only want the NEXT GO statement after the INSERT.
insert +into +dbo.account .*GO