in the below statement, what does N mean?

  • I know that in the below statement the sproc disables replication on the database ReplTesting, but I want to know what the N charachter does infront of the parameters, as i have run it with and without the N and it seems to run ok either way.

    exec

    sp_replicationdboption @dbname = 'ReplTesting'

    ,

    @optname = N'publish'

    ,

    @value = N'false'

  • The N in front of a string constant, like N'false', simply indicates that the string is converted into Unicode (nchar or nvarchar data types.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply