Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 771625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T18:40:55+00:00 2026-05-14T18:40:55+00:00

Msg 8114, Level 16, State 5, Procedure spGetDetails, Line 88 Error converting data type

  • 0

Msg 8114, Level 16, State 5, Procedure spGetDetails, Line 88
Error converting data type varchar to numeric.

I have already converted this @mfr_id to int type then also getting the above error.

I’m getting error while executing stored procedure.

The line which I’m getting error is:

if(@mfr_id = 5)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T18:40:56+00:00Added an answer on May 14, 2026 at 6:40 pm

    Use:

    if(@mfr_id = '5')
    

    Value comparisons have to be the same data type, or there has to be implicit data type conversion. Explicit conversion — which is when you use CAST/CONVERT — is ideal for maintenance because the operation is obvious.

    Depending on your needs, the ISNUMERIC function might help. And be careful to define a length to your [n]varchar variables.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 532k
  • Answers 532k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I think the advantage of doing it in the data… May 17, 2026 at 12:07 am
  • Editorial Team
    Editorial Team added an answer From the "Building Custom Components" dev guide, when creating a… May 17, 2026 at 12:07 am
  • Editorial Team
    Editorial Team added an answer Some browsers are likely giving you the absolute path to… May 17, 2026 at 12:07 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Msg 701, Level 17, State 123, Line 1 There is insufficient system memory to
Msg 547, Level 16, State 0, Line 1 The INSERT statement conflicted with the
I have a script that gives an error when being executed: Msg 1505, Level
function msg ($msg) { echo <script type='text/javascript'>alert('$msg');</script>; } if (count($_POST)) { msg('TEST!!!!!'); } <!DOCTYPE
I have a asp.net web site that was developed on the .Net Framework v2
I've got this value '0310D45' I'm using isnumeric to check if values are numeric
msg = EmailMessage(subject, body, from_email, [to_email]) msg.content_subtype = html msg.send() This is how I
NSString *msg = [[NSString alloc]initWithFormat:@Hello %s, What do you do, (self.isUser ? @User :
char * msg = new char[65546]; want to initialize to 0 for all of
void turtle (int gtot) { int msg; fcntl(gtot,F_SETFL,O_NONBLOCK); read(gtot,&msg,4); gotoxy(12, 21); printf(The value of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.