What database ID the apex admin use?
OK, simple question.Correct me if I'm wrong but commands and queries generated by end users and administrators of the workspace they operate under the correct schema analysis ID? What ID DB is the administrator of the apex runs under then?
Yes, he does.
Internal applications Application Express use the privileges of the scheme product, for example, APEX_030200 for version 3.2, to run the DDL and access the Oracle data dictionary. You're right, the admin user you authenticated with isn't a database account and has no privilege that come into play.
Scott
Tags: Database
Similar Questions
-
Hello
At what stage of treatment do you use a rule to update to apply logic to the way the data are updated in the database?
Rahul
Hello Rahul,
Update the existing record or a data object
Thank you
-
Quick question: the database of the APEX can get synchronized with a SQLite database?
Hi all!
So, I'm an intern and I am applying in the APEX, and there's another student here who made the same request, but then for Android. It uses SQLite as a database (because it is a lightweight database), and I use the database to Oracle 11 g, which is used in the APEX. My request is already hosted online (via oracle.apex.com), so the database is online as well.
Now, I have done some research, but I have never met a useful answer.
Is someone here can tell me if this is really possible?
As in, can synchronize my Oracle 11 g database and its SQLite database?
Please, just a "Yes, it is possible", or a "no, won't it be able to do' will do. But if you say yes, and you also happen to know how, so any suggestions would be welcome. ;)
I have 6 weeks to know, but I prefer to know in advance...
Thanks for your response!Hello
I think that your question do not relate in any case at the APEX. It is more related to data bases it self and connections.
This might help
Creating link to Sqlite db?Kind regards
Jari-----
http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0 -
How to change the default database of the APEX
Hi all
I installed Apex on 10g express. BY using the object browser, I can browse only a local database as "XE".
But I have an another 2, 3 databases in different servers. I know how to connect using the database link and question.
But the question is when I want to write a query, I need to specify the database sid/instance always as below... which is so difficult, as I have write lengthy queries...
Select * from table_s@testdb t1, table_d@testdb t2;
Similarly, I have db sid anywhere in the query which is a little difficult.
If I do not mention this; then he said: table or view does not exist...
How can I overcome this problem...? It is the nature of the apex or can I change the default local database instance to whatever the PB I want to and question directly without passing the instance name?
And the other thing is that I can not access the tables through the wizard that are not local, given that those who are located in a different server... so I have to write the entire hand... query: S
I think you're my query clearly...
Can someone please give me a hand to solve this problem...
Thanks in advance,
MaxHello
Of course, it is more slow queries and use the remote tables.
To create the view
CREATE OR REPLACE VIEW vw_testdb_table_s AS select * from table_s@testdb
Then you select
SELECT * FROM vw_testdb_table_s
And you should be able to see this point of view in the object browser and use it in wizards.
Kind regards
Jari -
Pulling data from another database in the APEX
Hi all
Within the Apex, is it possible to connect to a different database, possibly another server and select data, update a database of 'local '?
Is it possible to generate strings for connection etc who you allow to request a name of user and password and then run the SQL code?
The two databases are in the same enterprise network and are accessible with SQL Developer, etc.
Thank you!
~ PHello
This could also help
http://docs.Oracle.com/CD/E37097_01/doc/doc.42/e35125/advnc_db_link.htm#BABBFICHKind regards
Jari
-----
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai -
Hello
I have a problem to transfer content to an XML file in a MS SQL database through a stored procedure data/fixed. I am able to transfer the content of the file using method...
HSTMT = DBPrepareSQL (hdbc, EXEC usp_InsertReport "
... ");resCode = DBExecutePreparedSQL (hstmt);
resCode = DBClosePreparedSQL (hstmt);
... but in this case, I am not able to read the return value of the stored procedure.
I tried to follow the example of the stored procedure in the help documentation (DBPrepareSQL), but I miss a xml data type?
No idea how to solve my problem?
Cake of KR
DianaS salvation,
Thanks for your comments. During this time I found another way which fullfill my needs:
resCode = DBSetAttributeDefault (hdbc, ATTR_DB_COMMAND_TYPE, DB_COMMAND_TEXT);
sprintf (sz_SqlStatement, "DECLARE @TESTID INT EXEC @TESTID = usp_InsertReport ' SELECT 'RetVal' %s = @TESTID", sz_Buffer ");
HSTMT = DBActivateSQL (hdbc, sz_SqlStatement);While ((resCode = DBFetchNext (hstmt)) == DB_SUCCESS)
{
/ * Enter values in the record. */
resCode = DBGetColInt (hstmt, 1, & s32_TestId);
}resCode = DBDeactivateSQL (hstmt);
sz_Buffer is the content of the XML file.
Cake of KR
-
What battery CMOS the a6500f Pavilion use?
I have a HP Pavilion a6500f leaving recently to stop or gel. I think I have this problem but whenever it starts now I have redefined the time and date of 01/01/2002. Given that I have not desire to disassemble the computer can twice someone tell me what CMOS battery it uses?
Hello
It is a CR2032 battery that you can buy at any place, including many supermarkets. You can find it near the right corner on the next image (round):
Kind regards.
-
What component of the ADF to use?
JDev 11.1.1.1.3.0
I need to display a message window/popup when clicking on a button, as it appears as a box in light that gray on the background page and keeps the window pops-up/highleghted. Clikc the OK button on this popup, popup closes and returns to the original page.
Hanks,
(a) component that can be used for that of ADF Faces 11 g
(b) can you help code snippets to make the post script
Thank you very muchExample here:
http://jdevadf.Oracle.com/ADF-richclient-demo/components/dialog.JSPX
Use the option 'page source' see the code. -
APEX submit changes to the database when the value is changed in Javascript?
Hello
IM new at the Apex and use v4.1.
What I want to do, is to have a tabular presentation that will have 5 fields and a number of fields only reading based on a SQL table & reviews, when a user updates one of the 5 fields entry I want to save the change to the databases automatically.
I thought that this could be done using Ajax and Javascript, but my knowledge is not at a high enough level to make it work.
I think what I need to do:
1 create an AJAX callback process (say its called "Submit Changes") - it comes to PL SQL that will update the database based on the value of the field that was changed. I think that this will require the number of line in table form to pass in.
2. create a header HTML with Javascript code that calls the recall AJAX process - I found the below on the net, but do not think that I changed it correctly:
< script type = "text/javascript" >
function Submit_Value() {}
var ajaxRequest = new htmldb_Get (null, & APP_ID., 'APPLICATION_PROCESS is Submit Changes', 0);
var ajaxResult = ajaxRequest.get ();
Alert (ajaxResult);
}
< /script >
3. change the attributes of elements ' "on the column compared to something like onchange ="Submit_Value () ";
So far I have not been able to get this working and would be grateful for any help or suggestion.
Thank you
Goesjust a quick thought: I myself remember in 3.x days by using a process with a space name did not work (at least when I was trying to use), I have always since then named such with underscores in the... IE: submit_changes the two (the name of the process in the apex) and the reference of the code in javascript
-
I find it difficult to upgrade the apex 4-5. Can someone help me?
have installed the database 11g (Express Edition). And trying to upgrade to the apex 5, using slobaray.com, but I'm stacked along the way; Please can someone help me? Here is the script, and I have indicated where I stacked by selection, the problem:
c:\oraclexe\app\oracle\product\11.2.0 > cd c:\oraclexe\app\oracle\product\11.2.0\server\apex
c:\oraclexe\app\oracle\product\11.2.0\server\apex > sqlplus
SQL * more: Production of the version 11.2.0.2.0 on Sat Feb 13 20:52:57 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Enter the user name: sys as sysdba
Enter the password:
Connected to:
Oracle Database 11 g Express Edition Release 11.2.0.2.0 - 64 bit Production
SQL > select TABLESPACE_NAME from dba_tablespaces where nom_tablespace like '% APEX %';
no selected line
SQL * more: Production of the version 11.2.0.2.0 on Sat Feb 13 21:01:30 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Enter the user name: sys as sysdba
Enter the password:
Connected to:
Oracle Database 11 g Express Edition Release 11.2.0.2.0 - 64 bit Production
SQL > home
Microsoft Windows [Version 10.0.10240]
(c) Microsoft Corporation, 2015. All rights reserved.
c:\oraclexe\app\oracle\product\11.2.0\server\apex > exit
SQL > show user
The USER is "SYS".
SQL > @apexins APEX is TEMP
Enter the value 4:
My confusion are:
(1) in the application of slobaexpet the
SQL > select TABLESPACE_NAME from dba_tablespaces where nom_tablespace like '% APEX %';
has given an answer to
TABLESPACE_NAME
------------
APEX
Mine is;
no selected line.
I don't know what was wrong with my work.
(2) SQL > @apexins APEX TEMP is
Enter the value 4:
I don't understand what the "enter the value of 4:" means and what to enter to continue on.
I suspended the process that I am waiting for the solution.
I'd appreciate someone's help.
Kind regards
GODIS-Tei
Hi Godis-Tei,
It is easy to explain.
(1) I don't know what are the instructions you follow, but it seems to suggest that you create a separate tablespace for APEX. Not a bad suggestion, but in your case, since you are new, you should be able to simply use the existing SYSAUX tablespace.
(2) you are prompted for an additional argument because you have not specified all necessary parameter values when calling apexins.sql. I suggest that you run again, and with the following arguments:
sysaux sysaux @apexins is temp
That's all! Good luck.
Joel
-
JavaScript does not not in the APEX
Hello
I use the javascript code in the HTML header under the attribute of Page
< script type = "text/javascript" >
function test().
{
Window.Alert ('this is a Home Page');
}
< /script >
But it's not showing any result.
Can someone help me on this?
Hello
You don't mention what version of the apex, you work with.
But when you change the page it has 3 sections for javascript.
You can use function and the declaration of global variables and run when the Page loads.
Put the function in the part of the statement (No.
-
Email does not work after upgrade to the APEX
Operating systems: Windows 2003
DB: 11 GR 1 material
E-mail no longer works for users after upgrade from 4.0 to 4.1. New APEX_040100 'main' added to the ACL as well as the main APEX_040000 of the previous version. In fact, the two still exist in the ACL.
Error code in the APEX Admin Mail queue: ORA-24247: access denied by access control (ACL) of network list
What could be the cause of the installation of electronic mail within the APEX to not work?
See you soon!See what {message identifier: = 10355015}
-
Dear all,
What is the 'user access' in the Apex. When I type:
Select the username of all_users;
I do not see users that I created at the Apex (I use Oracle XE). What I need is:
I have a table by its name of 'Agents' and I need to let each officer sees its files only without displaying the records of others.
Maybe have a look at this picture you would understand my request.
[Click here to see the image | http://www.9m.com/upfiles/XLr36804.jpg]
Thanks in advance.I need to let each officer sees its files only without displaying the records of others
In the agents table how do you store the user details (of the apex user who packed / "holds" the record)? In other words how can a record to identify the user, can you have a column where you insert these data, do you establish this apex or use a trigger?
- If you do not have such a column add a first
ALTER table add Agents (record_owner VARCHAR2 (100))
- When you insert records into this table, set this column with v ('APP_USER') as a trigger or directly from the PLSQL process.
- Then change the report query to filter the records owned by this user
Select * agents where record_owner =: APP_USER.
-
Change password for the application from the apex
Hi friends,
I created an application of database in the apex, for this application in the login page, that I need to set as
Forget the password link or change the password link, assume that if the end user clicks that link means, there ask for the
New password: and confirm password
shortly after he entered the password if the user connects to the application of the means, he needs to go inside the application. .........
Normally to reset the password for the end user for the application, we will do it on the side of the administration of apex
It is that we will give RESET PASSWORD OPTION to change the password for the end user...
My question in this sense, that the end user must change his password by itself in the front end application...
It is possible to like that in the application of the apex...
How friends,
Kind regards
Mini...The problem is that you have specified a different page than the page of connection (due to which your login page used the builtin page). During the passage of the authentication, you must specify that 101 is indeed your login page (disabled by default)
Here's a screenshot of it.
So, in your workspace, choose current change, choose the authentication name and when you get to this screen tick the checkbox and submit. You should be prompted for your login page (which corresponds to the theme). This should solve the problem.
-
The APEX on OracleXE 3.2 upgrade error
Hello
I tried to install 3.2 on OracleXE APEX and met the following error.
SQL > @apexins.sql SYSAUX SYSAUX TEMP is
.....
....
.......
Trigger created.
The index is created.
The index is created.
check (in select_for_app ('Y', 'n')),
*
ERROR on line 40:
ORA-12952: demand exceeds the maximum allowed size of 4 GB database
Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
D:\apex >
I used only 100 MB of my database to the apex.
I have restored my database and tried again... but the same error came.
Could someone help?
Kind regards
Allen.
Published by: allenalvares on March 5, 2009 03:21
Published by: allenalvares on March 5, 2009 03:35Interesting!
You may need to reduce the files/folders that make up the USERS tablespace.
Run this queryselect file_name,autoextensible,bytes/1024/1024 from dba_data_files where tablespace_name='USERS';
And then question
alter database datafile 'file-name-from-prev-query' resize 2000m;
CITY
Maybe you are looking for
-
iOS 10 - only downloaded the music show
Hi all, it seems that the music app requires us to display our iTunes purchases. I don't like it and want to only my downloaded music to appear on the device. I'm not ok with tapping the > downloaded tab every time I open the app. It must be a soluti
-
Thunderbird won't find my new email address of eyelid Media
Hello I use /thunderbird ver 38.3.0 My first email address is Virgin Media and works very well. The other day I created a second VM address - and Thunderbird will not find it. I get this error message indicated in the attached screenshot (the new add
-
Safari 9.1.2 keeps log me out of all my accounts
Safari 9.1.2 guard connect automatically on all my accounts (Google, Facebook, emails etc.) every two minutes. Is it possible to fix this please? I tried researching it and discovered there was a similar problem with Safari, a couple of years ago, bu
-
The Windows 8.1, Firefox runs on a local account but not on a domain account
I just moved to Surface Pro 3 running Windows Pro 8.1. Firefox works correctly when you are connected to a local account. When you are connected to a domain account, Firefox will run *.html documents properly on a disc, but doesn't show any response
-
the application file complete Firefox
Where can I download a complete, independent firefox application file, not an installation file.