VI Not Reading Oracle DB

More
1 month 3 weeks ago #22886 by MikeG
I changed the TNS names to connect to the Test database to troubleshoot an issue. It shows connected when I test. However, it isnt reading the Test database, and is not returning any results      . If I paste the same Import script into PLSQL Developer, it returns the correct results. I am using VMPRO64, version 9.2.7.14.

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago - 1 month 3 weeks ago #22887 by admin
Replied by admin on topic VI Not Reading Oracle DB
Perhaps it is connected to the wrong database

You can check it by running 
Code:
SELECT host_name FROM v$instance or
Code:
select sys_context('USERENV','SERVER_HOST') from dual
 

Mike
ETL Architect
Last edit: 1 month 3 weeks ago by admin.

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #22890 by Peter.Jonson
Some suggestion for you:  Instead of using TNS name can you try using instant client syntax?

Peter Jonson
ETL Developer

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #22891 by MikeG
Replied by MikeG on topic VI Not Reading Oracle DB
The database seems correct

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #22892 by admin
Replied by admin on topic VI Not Reading Oracle DB
Can you try running your SQL using "Run SQL Tab"

Also, are you using global variables?

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #22893 by MikeG
Replied by MikeG on topic VI Not Reading Oracle DB
I did the same in PLSQL, and it's reading the same DB

Please Log in or Create an account to join the conversation.

Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.