What does N'??????' mean?

  • Example.

    IF EXISTS (SELECT name

    FROM sysobjects

    WHERE name = N'ReturnResponseByEventRS'

    AND type = 'P')

    DROP PROCEDURE ReturnResponseByEventRS

    Also I've seen it used in create database sql after keywords

    NAME= and FILENAME =.

    Thanks for enlightening me.

    Howard

  • N means 'National'

    It is used when you want to ensure that the value you are passing is a Unicode value

  • N' means Nchar or Nvarchar meaning it is Unicode text data.

    Kind regards,
    Gift Peddie

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

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