Solved

10774: sql server 2000 y unicode caracteres

Posted on 2014-10-28
2
282 Views
Last Modified: 2014-10-29
I have a table with records of type "text" is in a SQL Server 2000.
and a user wants to put a word in Greek and when you save it does not recognize

I've been watching and for a field recognize this data must be brought type "NVARCHAR" or "NTEXT" and to keep the prefix "N" + field, and I've tasted in a sql server 2008 and it works, the problem is that SQL Server 2000 does not allow me to change the data type "text" to "NVARCHAR" or "NTEXT"

I get: "Mens 4928, Level 16, State 1, Line 1.
You can change the 'remarks' column because it is 'text'. "

Do you think there is any other way for that field supports such values?
0
Comment
Question by:enrique_aeo
  • 2
2 Comments
 
LVL 48

Expert Comment

by:PortletPaul
ID: 40409670
what SQL did you use when you got that message?

and; did that message say "cannot change"  ?
0
 
LVL 48

Accepted Solution

by:
PortletPaul earned 500 total points
ID: 40409682
SQL 2000 is 14 years old already, it is time to consider upgrading.

Make absolutely certain you have backups before doing any of this.

However, it appears you can't just alter the data type  here. One workaround is to RENAME the old column to [remaksOLD] and then add a new column of type NTEXT [remarks]

Then update [remarks] with content of [remarksOLD]

Once you are satisfied all is well then the [remaksOLD] column could be removed from the table.

Make absolutely certain you have backups before doing any of this.

Also note. BOTH TEXT/NTEXT are DEPRECATED in later versions of SQL Server and when upgrading you should consider changing to VARCHAR(max)/NVARCHAR(max) instead
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now