What is UNISTR(x) used for?

Options
- Converts the characters in x to the national language character set
- Converts the characters in x to the national language character set (VARCHAR)
- Converts the characters in x to the national language character set (CHAR)
- Converts the characters in x to the national language character set (NCHAR)


CORRECT ANSWER : Converts the characters in x to the national language character set (NCHAR)

Discussion Board
UNISTR(x)

UNISTR(x) converts the characters in x to the national language character set (NCHAR). UNISTR takes as its argument a text literal or an expression that resolves to character data and returns it in the national character set. The national character set of the database can be either AL16UTF16 or UTF8. UNISTR provides support for Unicode string literals by letting you specify the Unicode encoding value of characters in the string. This is useful, for example, for inserting data into NCHAR columns.

Prajakta Pandit 02-15-2017 01:26 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement