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. Database & SysAdmin
  3. Database
  4. What is the keyword for record no

What is the keyword for record no

Scheduled Pinned Locked Moved Database
databasequestionannouncement
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.
  • P Offline
    P Offline
    prithaa
    wrote on last edited by
    #1

    Hello, I want to write a query something like the following UPDATE INCOMETABLE SET NAME ='PETER',AGE=30 WHERE RECORDNO = 10; In the above what should be the keyword of RECORDNO or there is another way of writing it THANKS Prithaa

    U 1 Reply Last reply
    0
    • P prithaa

      Hello, I want to write a query something like the following UPDATE INCOMETABLE SET NAME ='PETER',AGE=30 WHERE RECORDNO = 10; In the above what should be the keyword of RECORDNO or there is another way of writing it THANKS Prithaa

      U Offline
      U Offline
      Uri Lavi
      wrote on last edited by
      #2

      Hi, There is not such a keyword in Sql Server. (There is one in Oracle, but it's a bad practice to use it in such a case) What you should do is to use a primary key in the INCOMETABLE table. UPDATE INCOMETABLE SET NAME ='PETER',AGE=30 WHERE EMPLOYEEID = 10

      Uri

      P 1 Reply Last reply
      0
      • U Uri Lavi

        Hi, There is not such a keyword in Sql Server. (There is one in Oracle, but it's a bad practice to use it in such a case) What you should do is to use a primary key in the INCOMETABLE table. UPDATE INCOMETABLE SET NAME ='PETER',AGE=30 WHERE EMPLOYEEID = 10

        Uri

        P Offline
        P Offline
        prithaa
        wrote on last edited by
        #3

        Hello, Thanks,I got it. Prithaa

        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