Skip to Content
author's profile photo Former Member
Former Member

How to check whether HANA(Secondary database) schema having table name from ECC


I am working on a scenario,Fetching data from HANA database(Secondary Database) Using ADBC query with Connection name.I am checking ADBC_TEST_CONNECTION ,if it is successfully opened then fetching data from HANA otherwise from Primary database.

Query:Some times Schema is active but table is not exist in schema,It is giving dump.How to check the table availability in HANA schema from ECC?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Apr 04, 2015 at 12:09 PM

    Hi Ramesh,

    Have you checked in CX_SQL_EXCEPTION, you will get message like that if table is not available

    invalid table name: Could not find table/view "TABLE NAME" in schema ECC: line 1 col 51 (at pos 50).

    -Amol Samte

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.