Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. ORA-01036: illegal variable name/number

ORA-01036: illegal variable name/number

Scheduled Pinned Locked Moved ASP.NET
databaseoraclehelpquestionannouncement
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sebastian Stan
    wrote on last edited by
    #1

    Hi, I've tried a simple app with a gridview, sqldatasource connected to Oracle. On the Update COmmand i've wrote a simple query :UPDATE X SET field=77. In SQLBUilder when i execute it it works just fine but from app i get this "ORA-01036: illegal variable name/number" Can anyone help please ? thanks!

    D 1 Reply Last reply
    0
    • S Sebastian Stan

      Hi, I've tried a simple app with a gridview, sqldatasource connected to Oracle. On the Update COmmand i've wrote a simple query :UPDATE X SET field=77. In SQLBUilder when i execute it it works just fine but from app i get this "ORA-01036: illegal variable name/number" Can anyone help please ? thanks!

      D Offline
      D Offline
      Dipan Patel From Gandhinagar
      wrote on last edited by
      #2

      you write query like:" UPDATE X SET field=77" so as per your query, Table Name : X Field Name : field so u must understand that "field" must be field name of table X. and datatype with any numeric. try this. Dipan Patel.

      S 1 Reply Last reply
      0
      • D Dipan Patel From Gandhinagar

        you write query like:" UPDATE X SET field=77" so as per your query, Table Name : X Field Name : field so u must understand that "field" must be field name of table X. and datatype with any numeric. try this. Dipan Patel.

        S Offline
        S Offline
        Sebastian Stan
        wrote on last edited by
        #3

        Hi and thanks you for your reply, yes i understand.. the exact SQL is : "UpdateCommand="UPDATE TABLOU SET STADIU=77" the field called STADIU is type number. I've tried also with integer but i get the same error -- modified at 17:40 Saturday 6th May, 2006

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups