Copy your SQL Script from SQL Server Management Studio (SSMS) and paste it in here.
Click the [Colapse and combine all!] button.
(You may have to move some items together, depending on how large your script is.)
Once it is finished, it will be copied to your clipboard. Simply paste it into your SQL Server script in your page.