Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.

已答覆 SET ANSI_NULLS ON in SQL Azure

  • 2010年8月2日 下午 03:20
     
     

    Hi ,

                I have created one table in SQL Azure and set "SET ANSI_NULLS ON"  using SQL Server R2,It has executed successfully  but  when I generated script it does not contain "SET ANSI_NULLS ON" code. so i am still not cleare whether it support this feature ot not.

                        If it support why generated script does not contains same.

     

               Thanks in advance.

     

所有回覆

  • 2010年8月3日 上午 07:05
    版主
     
     已答覆

    Hi,

    It is supported in SQL Azure. You can test it with sample code:

    http://msdn.microsoft.com/en-us/library/ms188048.aspx

    I tested with a table in SSMS 2008R2:

    CREATE TABLE [dbo].[t1](

        [a] [int] NULL

    )

    And then right click the table -> Script Table as -> Create to… And then I can see the option SET ANSI_NULLS ON.

     

    Hope this helps,

    Raymond
    Raymond Li - MSFT