[JDBC]SQLException:Column index 29 is out of range.
salut,
voilà j'ai ma requête qui marche très bien quand je l'exécute dans SQL server mais depuis code java, j'obtiens cette erreur:
Code:
1 2 3
|
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Column index 29 is out of range.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)(Inlined Compiled Code) |
requête :
Code:
SELECT top 9 M.*,L.logiciel AS logiciel,L.version AS version FROM WB_Materiel M INNER JOIN WB_LogMat L ON M.CLE_MATERIEL = L.CLE_MATERIEL WHERE (logiciel ='Acrobat Reader' and version= '' and M.CLE_MATERIEL > 0) or (logiciel ='Acrobat Reader' and version > '' and M.CLE_MATERIEL > 0) order by version ASC , M.CLE_MATERIEL ASC
[Modéré par Didier]
Ajout de tag dans le titre
Lire les règles du forum : Règles du forum Java