Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

unable to insert !

2 posts in JDBC Connect (product renamed to JConnect) Last posting was on 1997-06-02 16:27:30.0Z
Matthias Jakob Posted on 1997-06-02 16:27:30.0Z
Message-ID: <3392F472.4670@Dive.Informatik.FH-Schmalkalden.de>
Date: Mon, 02 Jun 1997 18:27:30 +0200
From: Matthias Jakob <Matthias.Jakob@Dive.Informatik.FH-Schmalkalden.de>
Reply-To: Matthias.Jakob@Dive.Informatik.FH-Schmalkalden.de
Organization: FH-Schmalkalden
X-Mailer: Mozilla 3.01Gold (WinNT; I)
MIME-Version: 1.0
Subject: unable to insert !
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 8
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:756
Article PK: 252507

Hi there!

I have an new problem. I can't insert Data via jConnect.
e.g. insert into Phone (1,1,23323) also update and stored Procedures.
(su login!)


Exception: java.sql.SQLException: Incorrect syntax near the keyword
'insert'


Please help me!

Thank you, Matthias!


Magnus Thall Posted on 1997-05-30 07:58:07.0Z
Message-ID: <338E888C.629A@tv4.se>
Date: Fri, 30 May 1997 09:58:07 +0200
From: Magnus Thall <magnus.thall@tv4.se>
Organization: TV4
X-Mailer: Mozilla 3.01 (Macintosh; I; PPC)
MIME-Version: 1.0
To: Matthias.Jakob@Dive.Informatik.FH-Schmalkalden.de
Subject: Re: unable to insert !
References: <3392F472.4670@Dive.Informatik.FH-Schmalkalden.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 3
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:750
Article PK: 252502

Instead of
insert into Phone (1,1,23323)

I sugest
insert into Phone values (1,1,23323)

//Magnus