on 08-12-2008 4:19 PM
Hello Experts,
When I tried to create a new table using the default datasource ${com.sap.datasource.default} through a EJB Project, I got the following exception:
com.sap.sql.log.OpenSQLException: "CREATE TABLE" statements cannot be executed with Open SQL.
Does it mean that a DDL statement cannot be executed using the default datasource? Isn't there any workaround to create the table using the default datasource without creating a NEW SCHEMA.
Any pointers in this regard will be highly appreciated.
Best regards.
Hi Balakrishna,
The DDL command statements are not supported in the Open SQL mode used by the default data source.
Following is an excerpt from this page on help.sap.com.
Open SQL supports the following subsets of statements:
· Queries
· Data manipulation language
Regards,
Alka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.