GO在SQL Server Management Studio中有什么用处&处理 SQL?

2021-12-02 00:00:00 tsql sql-server ssms

当我使用右键单击脚本为"菜单创建查询时,SQL Server Management Studio 总是插入 GO 命令.为什么?GO 实际上是做什么的?

SQL Server Management Studio always inserts a GO command when I create a query using the right click "Script As" menu. Why? What does GO actually do?

推荐答案

它是一个批处理终止符,但是你可以将它更改为任何你想要的

It is a batch terminator, you can however change it to whatever you want

相关文章