Inserting 444.44 into a DECimal(11,2) defined database field does not work
From: Arnold Peters (apet10_at_hotmail.com)
Date: 10/20/04
- Next message: Ann: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Previous message: Nathan Zumwalt: "Re: Anybody using java and Ingres?"
- Next in thread: Ann: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Reply: Ann: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Reply: Luke Webber: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Reply: Paul Lutus: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Reply: Tor Iver Wilhelmsen: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Reply: steph: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Reply: Jørn Hansen: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 20 Oct 2004 00:05:02 +0200
When I try to insert a record into a database I got a SQLException
java.sql.SQLException: Unexpected token: 444.0 in statement [
The database column is defined DECimal(11,2) and the value is of type double and value 444.44
Why does the database not accept this value ?
Arni
- Next message: Ann: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Previous message: Nathan Zumwalt: "Re: Anybody using java and Ingres?"
- Next in thread: Ann: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Reply: Ann: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Reply: Luke Webber: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Reply: Paul Lutus: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Reply: Tor Iver Wilhelmsen: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Reply: steph: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Reply: Jørn Hansen: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|