If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > fixpack 10a and varchar limit 254 on DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-08-03, 21:00
mixxalot mixxalot is offline
Registered User
 
Join Date: May 2003
Posts: 369
fixpack 10a and varchar limit 254 on DB2

We recently upgraded to DB2 UDB 7.2 32 bit with FP10a on AIX 5.2L 32 bit for our new database server. Now the problem is

1. tables are hitting a varchar limit error if the varchar is greater than 254 when new tables are created

2. Do I need to back out of FP 10a to a lower release?

Thanks

Scott
Reply With Quote
  #2 (permalink)  
Old 12-09-03, 12:53
dlafreni dlafreni is offline
Registered User
 
Join Date: Jun 2003
Location: Canada
Posts: 35
You upgrated from which version?
Reply With Quote
  #3 (permalink)  
Old 12-09-03, 13:23
mixxalot mixxalot is offline
Registered User
 
Join Date: May 2003
Posts: 369
Fixpak 6 to Fixpak10a

Previous version: DB2 UDB 7.2 EEE on FP6 running on AIX 5.2L
(both O/S and DB are 32 bit)

Upgraded to: same DB2 UDB version but upgraded to Fixpak 10a.

Now we get this error when creating new tables:

SQL0604N
The length, precision, or scale attribute for column, distinct type, structured type, attribute of structured type, function, or type mapping "char(256)" is not valid. SQLSTATE=42611 | Unspecified error

The table data is loaded from a SQL Server 2000 database via ODBC connection.
Reply With Quote
  #4 (permalink)  
Old 12-09-03, 13:37
dlafreni dlafreni is offline
Registered User
 
Join Date: Jun 2003
Location: Canada
Posts: 35
I think you r problem might be going through the ODBC their is conversion to a CHAR and if I am not mistaken CHAR are limited to 256 (or it could be an ODBC limitation)

HTH
Reply With Quote
  #5 (permalink)  
Old 12-09-03, 17:51
mixxalot mixxalot is offline
Registered User
 
Join Date: May 2003
Posts: 369
cannot compile stored procedures after fixpak upgrade

We are running DB2 7.2 UDB EEE 32bit on AIX 5.2L 32 bit and recently upgraded from Fixpak6 to Fixpak10a. We get the following errors when compiling stored procedures:


SQL10013N The specified library "/home/db2inst1/sqllib/function/db2udp" could
not be loaded

How can I fix this problem? Thanks

Scott
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On