• It really depends on many parameters, but as a rule of thumb - check if you need to apply this fix in many views or procedures and if all solutions are the same. If so, you might wanna forget about touching the SQL code and opting for external solutions that wil simply add those 2 empty lines in the beginning of your file.

    Some of the available tools for that could be:

    1. CMD --> type 2 empty lines and then your original files into a new CSV file (however, you might need the commas. I don't know which tool are you using to read your CSV files)

    2. LOGPARSER --> You can use Microsoft's LogParser to do the same thing you wanted SQL to

    3. Use CSCRIPT (JS / VBSCRIPT) to append replicate the first two lines

    etc...