0

I need to list down all user or system tables available in Oracle NoSQL Database. Please help with query.

Thanks.

Alex Poole
  • 183,384
  • 11
  • 179
  • 318
Rupesh
  • 1
  • 1
  • 2

1 Answers1

0

Which language API are you using. If it is Python the answer is as follows: Let's assume that you have the handle, then the following function will do the job:

def listTables(handle):
    try:
        print('Listing tables')
        ltr = ListTablesRequest()
        lrResult = handle.list_tables(ltr)
        print('Existing tables: ' + str(lrResult))
    except Exception as ex:
        print(ex)
        traceback.print_exc()
    finally:
        print("end table listing")
ChrisGPT was on strike
  • 127,765
  • 105
  • 273
  • 257