Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

sql server 2000 and jsp

  Asked By: Ted    Date: Feb 19    Category: Java    Views: 862
  

i'm a biggener at jsp databases.
i have an error in jsp page when i wanna connect to sql server.
it say "string or binary data would be trancated"
i chech my table and my field but i don't know why i recive this
error.

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Ibtihaj Akhtar     Answered On: Feb 19

The amount of information that you have provided us is
not sufficient (at least for me, because I have not
had a chance to encounter such an error message during
my programming carrier).

Please write us your jsp  code snippet that deals with
the db, and the sql  script for your table so we may
find the cause of the error.

 
Answer #2    Answered By: Leonardo Costa     Answered On: Feb 19

I think the size of one of your table's fields is
less than the size of data to be stored,
check them , you may need to increase the size
of one of your varchar fields.

 
Answer #3    Answered By: Camille Garrett     Answered On: Feb 19

probabely the field length is smaller than the
value you pass to database,
you can increase the size of field
but if this solution does work ,describe your
problem more.

 
Didn't find what you were looking for? Find more on sql server 2000 and jsp Or get search suggestion and latest updates.




Tagged: