Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Accessing NVARCHAR datatype from MSSQL 2000

New Here ,
Apr 28, 2006 Apr 28, 2006
I had a simple search and result website built using JSP. The database I access is MSSQL 2000. The program that uses it was upgraded, and a few of the fields datatypes were changed from varchar to nvarchar. Now, those fileds don't return any data in my JSP results page. How can I get the JDBC to read the NVARCHAR datatype?

I can run the test from my recordset test button and everything works fine. Also use SQL Query Analyzier and the data returns fine. So it has to be something with the JDBC.

Thanks. Corey
TOPICS
Server side applications
260
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 28, 2006 Apr 28, 2006
NVARCHAR (and the other n-prefixed character data types) uses Unicode text
instead of ANSI text. You might have to tell your JSP page somehow. I'm
not one to know, but I do know that's the only difference between the data
types.

"egfhockey" <webforumsuser@macromedia.com> wrote in message
news:e2tmf6$b60$1@forums.macromedia.com...
> How can I get the JDBC to read the NVARCHAR
> datatype?


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 01, 2006 May 01, 2006
LATEST
Yeah, I have done alot of reading. Sounds, simple. But still can't figure it out. Anyone?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines