Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
datanibbler
Champion
Champion

Database table is seemingly picky...

Hi,

what can be the reason that one app I have developed can access a certain table in a database no problem and another app - with a valid connection_string (it can access other tables in this DB) and the exact same (pasted) code cannot?

Thanks a lot!

Best regards,

DataNibbler

Labels (1)
3 Replies
bbi_mba_76
Partner - Specialist
Partner - Specialist

HI,

which DB? are you using windows autentication?

MayilVahanan
MVP
MVP

Hi

Try like this

Connect to the database via script (Connection), without pasted code from another app

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
datanibbler
Champion
Champion
Author

Thanks to you two,

I solved it now - it was of course in my code - there was a WHERE EXISTS clause and the filtering_table used in that clause was, in the app I was comparing to, IN FRONT of the tab with the code - of course it worked. In the app where the code didn't work, it was BEHIND - obviously it wouldn't work... just took me awfully long to realize.

Thanks a lot!

Best regards,

DataNibbler