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

  • Home
  • SEARCH
  • 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 6766541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:50:36+00:00 2026-05-26T14:50:36+00:00

I have a SQL query like this; SELECT * FROM Jira.customfieldvalue WHERE CUSTOMFIELD =

  • 0

I have a SQL query like this;

SELECT * 
FROM Jira.customfieldvalue
WHERE CUSTOMFIELD = 12534
AND ISSUE = 19602

And that’s the results;

enter image description here

What I want is; showing in one row (cell) combined all STRINGVALUE‘s and they are separated with a comma. Like this;

SELECT --some process with STRINGVALUE--
FROM Jira.customfieldvalue
WHERE CUSTOMFIELD = 12534
AND ISSUE = 19602

Araç Listesi (C2, K1 vb.Belgeler; yoksa Ruhsat Fotokopileri), Min. 5
araç plakası için İnternet Sorgusu, Son 3 Yıla Ait Onaylı Yıl Sonu
Bilanço + Gelir Tablosu, Son Yıl (Yıl Sonuna ait) Detay Mizanı, İçinde
Bulunduğumuz Yıla ait Ara Dönem Geçici Vergi Beyannamesi, Bayi Yorum
E-Maili, Proforma Fatura

How can I do that?

  • 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-26T14:50:37+00:00Added an answer on May 26, 2026 at 2:50 pm

    There are several methods.

    If you want just the consolidated string value returned, this is a good quick and easy approach

    DECLARE @combinedString VARCHAR(MAX)
    SELECT @combinedString = COALESCE(@combinedString + ', ', '') + stringvalue
    FROM jira.customfieldValue
    WHERE customfield = 12534
        AND ISSUE = 19602
    
    SELECT @combinedString as StringValue 
    

    Which will return your combined string.

    You can also try one of the XML methods e.g.

    SELECT DISTINCT Issue, Customfield, StringValues
    FROM Jira.customfieldvalue v1
    CROSS APPLY ( SELECT StringValues + ',' 
                  FROM jira.customfieldvalue v2
                  WHERE v2.Customfield = v1.Customfield 
                      AND v2.Issue = v1.issue 
                  ORDER BY ID 
                      FOR XML PATH('') )  D ( StringValues )
    WHERE customfield = 12534
        AND ISSUE = 19602
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a sql query that looks like this: SELECT SUM(A) AS expr1 FROM
I have a simple sql query that goes like this: SELECT * FROM leaderboard
Suppose I have a SQL query that looks like this: SELECT fName from employees
Right now, I have a SQL Query like this one: SELECT X, Y FROM
I have a SQL query like this: SELECT * FROM ( (SELECT name FROM
I have a SQL query like this : SELECT myXmlField.value('(./row/@myAttribute)[1]', 'nVarchar(max)') as myAttribute FROM
I have a SQL query that does some ranking, like this: SELECT RANK() OVER(PARTITION
I have a MySQL query like this: SELECT *, SUM(...some SQL removed for brevety)
I have a SQL query in my ASP.net web app that looks like this:
In T-SQL you could have a query like: SELECT * FROM Users WHERE User_Rights

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.