When do I need to use a semicolon vs a slash in Oracle SQL?

前端 未结 6 771
刺人心
刺人心 2020-11-21 22:58

We have been having some debate this week at my company as to how we should write our SQL scripts.

Background: Our database is Oracle 10g (upgrading to 11 soon).

6条回答
  •  醉话见心
    2020-11-21 23:43

    I only use the forward slash once at the end of each script, to tell sqlplus that there is not more lines of code. In the middle of a script, I do not use a slash.

提交回复
热议问题