/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


KACE Reports - adding text before every result in a column

02/19/2015 929 views

I would like to add TICK:ID to the results in the Ticket ID column. So, instead of getting 1234 as the ticket number I would get TICK:ID 1234

I'm sure this is super easy but I have no SQL skills and this forum has been so helpful.  Thanks in advance.


Answer Summary:
0 Comments   [ + ] Show comments

Comments


All Answers

1
The MySQL function for this is concat:
http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_concat

In this case you need to use the following in the select statement:
concat("TICK:ID ", HD_TICKET.ID)

Answered 02/19/2015 by: chucksteel
Red Belt

  • Thank you so much for your quick reply. It worked perfectly!

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ