Hy all

I'm currently trying to use SAP DB's JDBC driver to insert some data into our 
database. So when I'm trying to send the the following statement (which runs fine in 
SQL Studio) I'm getting an exception "SQL Statement generates a row count":


INSERT INTO XYZ (ID, SID, HOST_NAME, INSTANCE_NAME) VALUES (XYZ_SEQ.NEXTVAL, 'SAP', 
'xyz.wdf.sap-ag.de', 'M00')

com.sap.dbtech.jdbc.exceptions.SQLExceptionSapDB: SQL Statement generates a row count
 at com.sap.dbtech.jdbc.StatementSapDB.executeQuery(StatementSapDB.java:311)
 at jedicol.DBConnection.ExecuteStmt(DBConnection.java:317)
 at jedicol.DBConnection.InsertUpdate(DBConnection.java:306)
 at jedicol.jedicol.write2pdb(jedicol.java:859)


"XYZ_SEQ.NEXTVAL" means a sequence in the DB only for calculating an unique ID.

Does anybody know what the problem could be ?? What is that error message meaning ??

Thanks in advance, Marius
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to