Unicode character input

  • Hi:

    I think this is a fairly basic question, so I'm sure somebody'll be able to answer it easily.

    I've been seeing in some code samples (in books and on the web) that when string data is being entered, there is often an 'N' preceding the data.

    For example:

    UPDATE Products

    SET ProductName = N'Toy Car'

    WHERE ProductID = 1

    Does the N character denote that the value be entered (cast) as unicode date?

    Thanks,

    Simon

  • Yes the N' casts to unicode.

  • Thanks, Ninja.

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

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