I resently developed a stock charting system using Java front end, and a SQL2000 backend. Everything was working great. Once the system outgrew running off a SQL instance running of of my devlopment box, I aquired new Server class hardware to run the Database. I had SQL installed, and coppied over my procedures and tables to the new box, and repointed my client to the new box. Whenever I try to call a particular procedure i get the following errorjava.sql.SQLException: Procedure or function usp_getbars has too many arguments specified.
I know, i an sending the right number of arguments to the procedure. I captured the string before i sent it to the server and it comes out as follows.usp_getbars 4,200,1
and here is the header of the procedure in questionSET QUOTED_IDENTIFIER ON GOSET ANSI_NULLS ON GOALTER proc usp_GetBars @n int,-- @rc int, @barcount int, @symbolID intASSET NOCOUNT ON--SET ROWCOUNT @rcSET ROWCOUNT @barcount...query specifics in hereSET NOCOUNT OFFGOSET QUOTED_IDENTIFIER OFF GOSET ANSI_NULLS ON GO
Has anyone seen anything like this? I tried upgrading my JDBC driver, and my MDAC. One more thing, the procedure call runs fine inside the query analyzer.