Count the number of url links in a field

Scott Robins September 21, 2016

Hi Folks

I have a field called external links, and in this field i may have multiple website links.

I would like to be able to find out how i can count the number of these links. I have 1000's of tickets so manually is not an option.

Kind Regards

Scott

 

2 answers

0 votes
Scott Robins March 8, 2017

Hi Noah

Sorry, thats not really what i am looking for, i am not looking for the count of the rows that have a web link in them, for example row 1 might have 50 links in the field, row two might have 20 links, etc etc so if i was to do a count on these rows the answer would be 70.

Kind Regards

Scott

0 votes
noamdah
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 21, 2016

I can get you closer the the resolution, here is a query that will return the number of issues that have the field "external links" (Find the field id and replace with <id>)

select count(*) from customfieldvalue where CUSTOMFIELD = &lt;id&gt;;

Also try to take the results of this query to Excel to find a counting solution there:

select * from customfieldvalue where CUSTOMFIELD = &lt;id&gt;;

Suggest an answer

Log in or Sign up to answer