What does ON [PRIMARY] mean?

后端 未结 4 1936
广开言路
广开言路 2020-12-04 08:56

I\'m creating an SQL setup script and I\'m using someone else\'s script as an example. Here\'s an example of the script:

SET ANSI_NULLS ON
GO
SET QUOTED_IDE         


        
4条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 09:18

    It refers to which filegroup the object you are creating resides on. So your Primary filegroup could reside on drive D:\ of your server. you could then create another filegroup called Indexes. This filegroup could reside on drive E:\ of your server.

提交回复
热议问题