0

I am getting the following error

ORA-24373: invalid length specified for statement

The sql that I am trying to execute is a simple update query

UPDATE Table1 SET C_LOGIN ='HIS LOGIN' Where C_USER='HIS'

I only get this error when I try to run the ExecuteSQl method from VBScript. But there is no error when I run the query in SQLDeveloper. I can't figure out what is wrong.

7
  • 2
    The query as shown is fine so the error will be in the VB.NET code. Please add the VB.NET code to your question.
    – Ed Gibbs
    Nov 25, 2016 at 7:50
  • @EdGibbs VBScript is not VB.Net they are a both completely different, one is a scripting language the other is a fully fledged programming language.
    – user692942
    Nov 25, 2016 at 8:21
  • What is the size of the column C_LOGIN in Table1? That error occurs when the field is too small to fit the data you are attempting to set.
    – user692942
    Nov 25, 2016 at 8:30
  • 1
    Please show us your VBSctipt code. Nov 25, 2016 at 8:45
  • 1
    Thanks @Lankymart - 100% correct; I misread the language.
    – Ed Gibbs
    Nov 25, 2016 at 16:00

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.