It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

PocketQuery Right/Inner Join Query not working?

Nick McCarty Nov 30, 2016

I am struggling with a query that works fine in NaviCat but I cannot get it to work in PocketQuery. In Navicat the query is returning the selected columns and rows where the multiple tables coincide. Does PocketQuery support this? 

 

Same users/credentials. Other queries not utilizing any join work as expected. 

 

Here is a mock up of the query:

 

SELECT
table1.col1,
table1.col2,
table1.col3
from
table2 Right Join
table1 On table2.col1 =
table1.col1 Inner Join
table3 On table1.col4=
table4.col2
where
table2.col2 Like :pagetitle'%' AND table2.col2 Not Like "%(M)" AND table1.col5 = "1"

 

 

1 answer

1 accepted

1 vote
Answer accepted
Christian Koch Nov 30, 2016

Hey Nick,

 

is it possible to active the debug mode in the macro? If there is a stack trace you can send it to Atlassian (at) scandio (dot) de. Just an idea: for the first LIKE part try a concat(:pagename, "%") function.

Christian

Christian Koch Nov 30, 2016

I did a short test and with concat it will work without there is am empty result.

Nick McCarty Dec 02, 2016

Aha! This is great feedback. I wasn't consistently using CONCAT but now that I look at my other queries it looks like I should be using it. Seems the other queries were just working...

Christian Koch Dec 02, 2016

image2016-12-2 18:8:49.png

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

Join our webinar: “Asset Management: The Role of Context in ITSM” with Atlassian & Riada

  Hi Atlassian Community! This is Teresa from the Jira Service Desk team. On June 19th, I’ll be hosting a webinar “Asset Management: The Role of Context in ITSM” with Atlassian Partne...

137 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you