Thanks for your answer.
No that solves not my problem. I think is it deeper. The errors in the debug-output differs from "syntax error " (the SP runs wll in Query analyzer) to "Parameter-failure" and other. I have tested a small native sql-string (without sp) to insert data into a db-table and i receive the same errors only if i pass parameters by array to the placeholder(?). I have no plan why this is not functions, but i think i cannot resolve the Problem with the stored procedures until "normal", small sql-querys dont run. My system is a sql-2000 server with all servicepacks, installed jdbc 3.0 driver (4.0 dont run, it means that the major server version is not accepted)
client code:
cmd.Name = "select_hbw"
cmd.Parameters =Array As Object(2)
reqManager.ExecuteQuery(cmd, 0,"HBWListe")
with config:
sql.select_hbw=SELECT a.col1 ,a.col2 from tbl1 WHERE (IDDevice = ?)
creates failures
and
cmd.Name = "select_hbw"
'cmd.Parameters =Array As Object(2)
reqManager.ExecuteQuery(cmd, 0,"HBWListe")
with config
sql.select_hbw=SELECT a.col1 ,a.col2 from tbl1 WHERE (IDDevice = 2)
runs well.
Whats wrong with it?????
best regards
Hagen