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
Manohar Gova
1.5k
255
38.8k
Conversion failed when converting the varchar value to int
Jul 15 2015 4:15 AM
Hi ,
while executing the below query getting error
declare @thirdpartyvendorid varchar(1000)
declare @thirdpartyvendoridNew varchar(1000)
select
@thirdpartyvendorid = a.thirdpartyvendorid
from dbo.stageloaninfo a (nolock)
where slid='160897'
select @thirdpartyvendoridNew = COALESCE(@thirdpartyvendoridNew + ', ','') +CONVERT(VARCHAR, V.VendorID) from Vendors V
where V.VendorID in (CAST(@thirdpartyvendorid as varchar )) and VendorType = 4
select @thirdpartyvendoridNew
Anybody pls help
Conversion failed when converting the varchar value '1130,1117' to data type int.
Reply
Answers (
1
)
use of SUBSTRING function in WHERE clause using SQL SERVER 8
how to count row size in mysql