i could not execute update comd

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • monirhossen
    New Member
    • Sep 2014
    • 1

    #1

    i could not execute update comd

    Code:
    update tbl_ApplicantInfo set PinNo=substring(pinno,2,10)
    hear pinno is numeric, for this reason this comd is not execute
    Last edited by Frinavale; Oct 2 '14, 02:23 PM. Reason: Added code tags.
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Convert the string to a number using the cast or convert function.

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      Just in case you don't know about the convert or cast functions check out this article about Cast and Convert in SQL.

      -Frinny

      Comment

      Working...