Create the form on table in the different schema
Hi all
in APEX I am logged in as long as user APEX_USER and the table, I'm trying to access the site with the creation on Table Wizard form belongs to the user. I have granted all privileges on a given user APEX_USER table, the wizard allows me to choose this table in the list, but when I press the next button, I get the following error message:
You do not have access to the schema that you import. Import failed.
Contact your administrator for the application.
Seems to me that something similar had been already discussed here, but still no response.
V4.1 assistants when you use a different schema
Please, what are the rights must have my APEX_USER to be able to create forms tables belonging to someone else?
Thank you very much
Pavel
Edit: I did the same thing on my laptop (APEX 4.2.6.00.03) here and it works as expected. This error I get to work with APEX 4.2.3.00.08 (of course you should not necessarily be the cause, very likely, I don't have all of the necessary privileges) :-).
Hi Mike,.
Thanks again for your response. If the schema was not related to my workspace, I would yet be able to choose the other schema of the selection list.
In fact, there seems to be a bug in the link in my message original (for example it is still not fixed in version 4.2.3), but fortunately I was able to find a workaround - I created a view with the same name and the same structure as the original table, and then I was able to generate the form with the wizard , finally I gave up the display and modification of processes page manually. So the solution is I have to force the DBA APEX upgraded to the current version :-).
Best regards
Pavel
Tags: Database
Similar Questions
-
How can I import tables from a different schema in the relational model... to add these tables in the existing relational/logic model? PLSS help
Notes; I already have a schema ready relational/logic model... and I need to add more tables to this relational/logic model
can I import the same way like I did before?
But even if I do the same how can I add it in the template? as the logic model has been designed...
Help, please...
Thank you
To view the diagram of logic model in Bachman notation, you right-click on a blank area of the diagram and select the rating > Bachman Notation.
David
-
How to collect statistics on the table for tables in a different schema
Hi all
I have a table in a schema, and I want to collect statistics for the table in a different schema.
I gave GRANT ALL ON SCHEMA1. T1 TO SCHEMA2;
And when I tried to run the command to collect statistics to help
DBMS_STATS. GATHER_TABLE_STATS (OWNNAME = > 'SCHMEA1', TABNAME = > 'T1');
The function will fail.
Is there a way we can collect statistics of the table for tables in a schema into another schema.
Thank you
MK.You must grant analyze to schema2.
SY.
-
Join of two tables in two different schemas
Hi all
I have an obligation to join two tables on two different schemas. How to join these two tables in the object view.
Thanks in advance.
Concerning
Kaushik GuillauminYou can do just that using schema name in the +' view object.table name ' + according to the query object and also grant select the another schema to this schema user
ex
you need schem is test and another Act you need to a view object based on the test to join a table on shcema Actyou write semply object sql view code:
Act.table name
and you can also give him select statement on Bill schem table to test
concerning
-
Compare the table structures in different schemas. help please
Hi all
I have a question...
I have pictures on different schemas something like
Diagram A
-------------
Table 1
Table 2
Table 3
Diagram B
------------
Table 1
Table 2
Table 3
Now situation is table 1 and table 2 will have a similar structure or table 1 in Figure B will have additional columns.
like so... on... for all other tables...
example!
Now I need to write some sort of procedure for the thing to compare these tables which are in different in the column names in the schema and get it had exported to an Excel sheet.Schema A: Desc Table 1; Name Type Null ------------- ------- ------- No Number Notnull Name Varchar2(10) Not null Fee Number (10,2) Not null Scheam B; Desc Table1; Name Type Null ------------- ------- ------- DX_No Number Notnull DX_Name Varchar2(10) Not null DX_Fee Number (10,2) Not null comments Varchar(2)
and here it's first three columns SHOULD BE CONSIDERED AS SAME even if the DX_ prefix are from the REST OF the PART OF THE COLUMN NAME IS SAME.
and the same way commit coloumn new schema B only... So it should be noted that excel sheets...
I don't know how the ADO or SQL Developer handle this... Is there any plsql block that I can write to do it...
Thanks in advance...Comparison of columns on all the tables in the two schema
select tc1.owner,tc1.TABLE_NAME,tc1.COLUMN_NAME, tc2.owner,tc2.TABLE_NAME,tc2.COLUMN_NAME from all_tab_columns tc1 full outer join all_tab_columns tc2 on &user1=tc2.owner and tc1.TABLE_NAME=tc2.TABLE_NAME and tc1.COLUMN_NAME like '%'||tc2.COLUMN_NAME where tc1.owner=&user2 and tc1.TABLE_NAME in ( select t1.table_name from all_tables t1 join all_tables t2 on t2.owner=&user2 and t1.table_name=t2.table_name where t1.owner=&user1)
Published by: xtender on 06.11.2010 12:43
-
create the different logfile with different schema by coil
Hello
I want to know how to create a different log file depend on different schema
I have two patterns on the same db Server
(1) drawing kennam / * / kennam
(2) diagram koonhey / * / koonhey
in a way, I want to create a log file name different for example kennam.log / koonhey.log on these two patterns...
I always run @showbalance; to run showbalance.sql to create this report...
I hope you understand what I'm talking about (English is not my mother tongue...), anyone could help?
showbalancelog. SQL
coil c:\log.log+.spool c:\log.log select to_char(sysdate,'dd-mm-yyyy hh:mi:ss') from dual; column com_name format a20; select cus.tid, cus.com_name com_name, cus.com_balance, NVL((select sum(invoice_total) from invoice where com_id=cus.tid),0) sum_invoice, NVL((select sum(cheque_amount) from income where com_id=cus.tid),0) sum_income, cus.com_balance - NVL((select sum(invoice_total) from invoice where com_id=cus.tid),0) + NVL((select sum(cheque_amount) from income where com_id=cus.tid),0) total_balance from customers cus order by cus.tid; spool off
Hello devotee,
You can select the user in a variable and then use that variable in your file name:
COLUMN act_user NEW_VALUE act_user NOPRINT; SET TERMOUT OFF SELECT USER act_user FROM dual; SET TERMOUT ON SPOOL t:\log_&act_user..log SELECT 'My data' FROM dual; SPOOL OFF
Concerning
Marcus -
Create the new schema of database in jdev
I can create new database schema in jdev. If yes how?
I checked the links, but they say how to create the connection to an existing database but does not create the new database?
Help, please...
User, even once, to design and build a database table is possible if you have a db instance (which will contain the new tables) already installed.
My feeling is that you don't have. Solution: install an instance db (for example Oracle XE) and once you have that continue the tutorial.
Timo
-
How to create a form of table layout using iterator?
I want to make several elements in a table format using an iterator. Can someone guide me on how to align the different columns, as in a table?
I can't use the built in table because I want to change the display later using javascript and the af:table component does not work with it.
The table will be in a panelsplitter element. The code I have right now:
<af:iterator id="i1" value="#{bindings.DenormPlanLine1.collectionModel}" var="row" rows="#{bindings.DenormPlanLine1.rangeSize}"> <af:panelGroupLayout id="pg1" layout="horizontal" inlineStyle="width:800.0px;"> <f:facet name="separator"> <af:spacer width="5" height="1" /> </f:facet> <af:outputText value="#{row.StartDate}" styleClass="sDate"/> <af:outputText value="#{row.FinishDate}" styleClass="fDate"/> <af:outputText value="#{row.DenormWbsLevel}" styleClass="level"/> <af:outputText value="#{row.DisplaySequence}" styleClass="dSequence"/> <af:outputText value="#{row.ElementVersionId}" styleClass="elVersionId"/> <af:outputText value="#{row.TaskType}" styleClass="taskType"/> <af:outputText value="#{row.PercentComplete/100}" styleClass="percent"> <af:convertNumber type="percent" /> </af:outputText> </af:panelGroupLayout> <af:spacer width="100%" /> </af:iterator>
User, please tell us your Jdev version!
Check out this sample http://andrejusb.blogspot.de/2011/05/oracle-adf-11g-custom-table-pagination.html
Timo
-
Primary key and foreign key between the different schemas
Hi all;
SCOTT user have a 'rank' of table-> it contains the primary key-> users tablespace
The U1 user have a 'emp' table-> it contains the foreign key-> test tablespace
U1 > select constraint_name, constraint_type, r_owner, owner, r_constraint_name of all_constraints where table_name = 'EMP ';
OWNER CONSTRAINT_NAME C R_OWNER R_CONSTRAINT_NAME
------------ ------------------------------ - -------------------------- ----------------------- -----------------------------------------------------
U1 EMP_EMPLEV_C12_FK R SCOTT GRADE_GRL_C1_PK
If I have connection U1, no possibility to find the name of the primary key without connection scott table?
Thank you
Hello
So, you want to know what picture of the SCOTT schema has the constraint that is named "GRADE_GRL_C1_PK." Isn't it?
If so,.
SELECT table_name
Of all_constraints
Owner WHERE = 'SCOTT '.
AND the argument constraint_name = 'GRADE_GRL_C1_PK. '
;
-
Load data from one table into another table of 2 different schemes
Hello
We have a requirement to insert data into a table in a schema of a table that is in other schemas in ODI.
We are able to do so by creating interfaces and mappings. But we now expect to do using SQL instead of ODI interfaces.
Is it possible to do this using the SQL statements we have source and target data sources defined in ODI.
should be like "Insert into src.table select * from tar.table'"
Thank you...
Hello
If you try to load a db to another db using sql (sql free hand) instead of interfaces instructions.
It is possible using procedures odi too.
1. Select the project (designer navigator) odi mode
2. create the new procedure. Then add the command.
in this command on the source command on the tabs of the target.
Enter the sql statements. See the screenshots below...
I think this will help for you,
Thank you best regards &,.
A.Kavya
-
"import tables to a different scheme."
Hello
I use oracle 10g R2 and Ii have created 1 dmp file with the help of oracle export utility that contains the objects of the two schemas (user1 and user2). I have now created a user "gab10" now I want to import the schema tables both.
Can anyone tell me is it possible using oracle import utility and how.
Greetings and thanks
Vikash ChauradiaVikash Chauradia (DBA) wrote:
Hello
I use oracle 10g R2 and Ii have created 1 dmp file with the help of oracle export utility that contains the objects of the two schemas (user1 and user2). I have now created a user "gab10" now I want to import the schema tables both.
Can anyone tell me is it possible using oracle import utility and how.Yes it is possible, as below
imp gab10/pass fromuser=(user1,user2) touser=(gab10,gab10) file='your_dmp_file'
-
Access a table in a different schema
Hello geniuses.
I have an APEX application built in the WVUAMS schema. I need to access the WVUMYA_USERS table that exists in the WVUMYA schema. How can I get APEX to allow this? Still running in the WVUAMS schema, my query is: SELECT * FROM WVUMYA. WVUMYA_USERS, but I get an error "table or view does not exist.
I'm still fairly new to APEX and I have no access DBA or capabilities, then the chances are that I won't be able to do what you suggest on my own, but I'll try or ask someone else to do what you suggest the best I can.
Thank you in advance!
JimHI jim,.
WVUAMS - Application schema
WVUMYA - owner of the object that you want to access from the schema WVUAMSWhen you run under request as a user WVUAMS
in the workshop of SQL > SQL commands, you are able to get records of WVUMYA. WVUMYA_USERS?, if so same query should run on apex as well.SELECT * FROM WVUMYA.WVUMYA_USERS
If you get "table or view does not exist ', Flip to the user of WVUMYA and the question
grant select on WVUMYA_USERS to WVUAMS
Now go back to WVUAMS and run the query, you should be able to display the records of WVUMYA. WVUMYA_USERS
Tell us just how much exactly you are doing in the apex in the apex, you are trying to run the same query or trying to select the table in the object list?
To find out if you sqlplus(on windows) start > run > sqlplus
Please take a look at this also http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_7001.htm
-
DM 3.0.0.665, cannot create the notification scheme
I am trying to create an outline report for my design.
I'll ' - Export - reporting schema file ', choose a connection and press 'OK '.
Error message appears, stating "an error occurred during export Reporting scheme. See the log file for more details."
Log file contains the following:
2011-06-01 17:03:14, 343 [Thread-39] ERROR ReportsHandler - Error exporting to the schema declaration:
java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1010)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3657)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
at oracle.dbtools.crest.exports.reports.RSDesign.export (unknown Source)
at oracle.dbtools.crest.exports.reports.ReportsHandler.export (unknown Source)
to oracle.dbtools.crest.swingui.ControllerApplication$ ExportToReportsSchema$ 1.run (unknown Source)
No tables are created. (I can also post content of the trace of Oracle database: oddly enough, it does not all CREATE TABLE statements.)
What is the problem and what can be done?
Thanks in advance for any help.Hi LXP.
I hope that you use production DM3.
If you export the repository of reports for the first time, you should check \datamodeler\reports\Reporting_Schema_Permissions.sql
In the opposite case (upgrade) check \datamodeler\reports\Reporting_Schema_Upgrade_Readme.txt and upgrade scripts, you have to run there.
Everything is in the \datamodeler\reports directory.Try to use own schema (not used before) and export of the model. If there is exception in the log post it here.
-
Create a foreign key constraint against a different schema
Hi all
I use the oracle 10g r2 on windows 2003 server database.
I have a table in the HRMS as STAFF.
I have another INVENTORY schema, where I want to access a column as a foreign key in HRMS. STAFF (STAFF_ID).
What exactly I have to grant so this diagram of the INVENTORY will be able to create a referential constraint?connect hrms/hrms@orcl grant select on STAFF to INVENTORY; connect inventory/inventory@orcl alter table inv_details add constraint fk_inv_hr_staff foreign key (staff_id) references HRMS.STAFF(STAFF_ID); Error report: SQL Error: ORA-00942: table or view does not exist 00942. 00000 - "table or view does not exist"
Kind regards.You must also grant the privilege of REFERENCES.
See privileges in table 18-2 at http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_9013.htm#BGBCIIEG
Hemant K Collette
-
SCENARIO OF
1 request to master.
There the login page and the home page where you choose where you want to go. Your option are different applications.
Currently, I have 2 other application you can choose from. Each is in his diagram on.My master application uses authentication even than these 2 apps. IM using the session cookie if you need to connect only once.
Problem is that I have this auth function installed in the two schemas.
I'm doing something wrong? Is it possible to have the function only auth installed on a diagram of the CONNECTION MASTER application. And apps for CHILD can be authenticated on the master APP.
Para wrote:
SCENARIO OF
1 request to master.
There the login page and the home page where you choose where you want to go. Your option are different applications.
Currently, I have 2 other application you can choose from. Each is in his diagram on.
My master application uses authentication even than these 2 apps. IM using the session cookie if you need to connect only once.
Problem is that I have this auth function installed in the two schemas.
I'm doing something wrong? Is it possible to have the function only auth installed on a diagram of the CONNECTION MASTER application. And apps for CHILD can be authenticated on the master APP.
All requests must have an authentication scheme defined.
- Create authentication features in a package in a DB schema and grant privileges of execution thereon to the others.
- Create the authentication scheme in the main application.
- Create authentication schemes in other applications or copies of the program in the main application by using the copy and subscribe option in the wizard. These programs will now reference the master schema and automatically to reflect the changes.
Maybe you are looking for
-
10 Windows Bootcamp Partition encryption
Hey all! First of all, thanks for any help that anyone can provide! I've been digging around online for any help regarding encrypt the partition 10 Windows on a MacBook Pro. From what I've read online, it seems as if the OSX partition is encrypted wi
-
How to add all the tabs open in firefox 6.0?
I want to put all my open tabs in a folder, like previous firefox bookmark.
-
Anyone know if there is a key combination to address 'bar' on the selected text in pages?
I think that means good enough...
-
I really need someone to help me. When I click on what to using chrome, I get a big red screen and the message" The advance site contains malware Attackers now on p.adconfer.com can try to install dangerous programs on your Mac that fly or delete you
-
Boot system error - dynamic link library
When starting my computer, I get an error under the following message titled "miniboot.exe - point of entry not found. Message is "the procedure entry point setvbuf not found in the libraryMSVCR71.dll of Hotlinks" after hitting OK I get similar messa