• I'm assuming you want to copy the output and execute it.

    Try this

    select col1 + char(10) + 'go' from table

    https://sqlroadie.com/