1

I would like to know whether my stored procedure will get impacted without specifying Go

Here is the code flow:

Create or replace store_proc1
As
Begin
   While loop
    {SQL statements repeating itself until source table record count is 0}
   End

"Go"

Here I have missed Go at the end of my stored procedure.. Will it impact the performance?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Vignesh
  • 215
  • 3
  • 10

1 Answers1

3

GO is not a SQL statement - it's a delimiter used only in SQL Server Management Studio.

So no, omitting GO will NOT in any way affect your stored procedure's ability to run, nor it performance.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459