On Jul 28, 2021, at 9:14 AM, Roy Hann <specially@processed.almost.meat> wrote:Actually, I think NVARCHAR uses UCS-2, at least on the Ingres side. That's
A colleague has asked a question for which I have no answer.
When II_CHARSETxx is UTF8 what is the difference between VARCHAR and NVARCHAR?
I know NVARCHAR uses UTF-16.
Why might I use NVARCHAR if my data can be represented with VARCHAR?I think the answer is probably "you wouldn't".
From the OR manuals:
On Jul 28, 2021, at 9:14 AM, Roy Hann <specially@processed.almost.meat>wrote:
A colleague has asked a question for which I have no answer.
When II_CHARSETxx is UTF8 what is the difference between VARCHAR and NVARCHAR?
I know NVARCHAR uses UTF-16.
Why might I use NVARCHAR if my data can be represented with VARCHAR?
I know NVARCHAR uses UTF-16.
Actually, I think NVARCHAR uses UCS-2, at least on the Ingres side. That's not quite the same thing.
Why might I use NVARCHAR if my data can be represented with VARCHAR?
I think the answer is probably "you wouldn't".
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 60 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 04:25:48 |
| Calls: | 812 |
| Files: | 1,289 |
| D/L today: |
8 files (5,275K bytes) |
| Messages: | 213,836 |