Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in SQL Server only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
SQL Server
i could not execute update comd
i could not execute update comd
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
monirhossen
New Member
Join Date:
Sep 2014
Posts:
1
#1
i could not execute update comd
Sep 23 '14, 04:52 AM
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
Join Date:
Jan 2007
Posts:
12517
#2
Sep 23 '14, 05:36 AM
Convert the string to a number using the cast or convert function.
Comment
Post
Cancel
Frinavale
Recognized Expert
Expert
Join Date:
Oct 2006
Posts:
9749
#3
Oct 2 '14, 02:24 PM
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
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment