This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes ALTER TABLE - regarding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "ALTER TABLE - regarding" Watch "ALTER TABLE - regarding" New topic

ALTER TABLE - regarding

Sub swamy
Ranch Hand

Joined: Oct 02, 2002
Posts: 121
I get the below exception during ALTER TABLE statement

SQL0109N ALTER TABLE "<>" specified attributes for column "" that are not compatible with the existing column. SQLSTATE=42837.

I tried a google and didnt get any useful information - or perhaps i was unable to interpret the information suitably. Any reason why this exception occurs during the ALTER table statement.

Datatbase: DB2 on z/OS.
Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3899

Can you please post your current table structure and your ALTER TABLE sql statement, that way people will be able to see the problem if any.
[ December 09, 2008: Message edited by: Vijitha Kumara ]

[How to ask questions] [Twitter]
I agree. Here's the link:
subject: ALTER TABLE - regarding
It's not a secret anymore!