Find a select or select top in a query

Published on Tue Mar 01 2022

Some times we need replace de first select in a query to another. In my case i want replace to "Select top 1". With that a can replace any select to select top 1.