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 5962351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T19:05:36+00:00 2026-05-22T19:05:36+00:00

im trying to concatenate 3 columns in a select query to show in one

  • 0

im trying to concatenate 3 columns in a select query to show in one column in the results. the column is called DelPostalName and for some reason always shows a ‘0’ when i run the select query. like its trying to add up the strings but theres not actual numbers to add. ive been googling string concatenation and this seems to be the correct syntax. any ideas?

isc_orders.ordShipFirstName + ' ' + isc_orders.ordshiplastname + isc_orders.ordshipcompany as DelPostalName,

  • 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-22T19:05:37+00:00Added an answer on May 22, 2026 at 7:05 pm

    The result appears as zero since you are trying to arithmetically add the strings to each other.

    The correct method for concatenating strings in MySQL is using the CONCAT(str1, str2, str3) function.

    Here is the manual for the function.

    PS: if you want to concate with a seperator use CONCAT_WS() – also in the same manual

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

Sidebar

Related Questions

I am trying to concatenate results of some string data in a query using
i'm trying to concatenate several columns from a persistent table into one column of
I am trying to select multiple column values and concatenate them into one column.
I'm trying to concatenate two properties into one string like so: public class thing
I'm trying to update a column with the concatenated and converted results of two
I am trying to concatenate some fields to return a single string for each
I am trying to concatenate strings in oracle. The following is my query: insert
I am trying to concatenate cells in every other column with a semi-colon delimiter.
I am trying to write a MySQL query that retrieves one record from table
I'm trying to concatenate 3 [char(32)] fields: title1 title2 title3 into one field, but

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.