on 03-09-2018 8:20 AM
Hi,
I have to create a table if it doesn't exist.
I have gone through this answer https://archive.sap.com/discussions/thread/3383646 but here we use procedures and in it we are having a count of number of rows if greater than zero then the required execution is being made. But in my case the table is empty, even if it is created, so how could I check for it to be present in the DB? Is there any alternative way of creating a table (if it doesn't exists) other than the procedure check?
Hi,
This table must show your table even if there is no records, bear in mind that HANA is case sensitive.
As another alternative you could check your table using the query below
select * from sys.objects where schema_name = 'SBODEMOUS' and object_name='YOURTABLE';
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.