TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ramon Quintana
NA
404
66k
Comparation aritmetic with a nvarchar type field
Jun 19 2019 9:49 AM
Hi,
I want to compare numerics values with a varchar type field, so i have this table (Account_Master_Group2):
where fields (Inicio and Fin) are nvarchar type, so i run this query:
but i got records out of the range from 50000000 and 89999999:
My question is: How can i handle that nvarchar fields as a numeric fields? to avoid records out of the range.
Thanks WORLD
Reply
Answers (
7
)
Getting absolute values in SQL ?
COnvert Date time formate yyyy-mm-dd to MM/yyyy formate