How to find the user Apex table
HelloPlease let me know, how to find the user apex table. I need validate the unique user based on the same, for which I use below function.
DECLARE
VAL A BOOLEAN;
BEGIN
VAL: = APEX_UTIL.IS_USERNAME_UNIQUE (p_username =
(: P6_USERNAME);
END;
However, in this case, he always comes back "FALSE," saying new user exists.
Kindly help me in fixing this problem.
There is a view called apex_workspace_apex_users.
Details under Home > utilities > Application Express views
André
Tags: Database
Similar Questions
-
How to operate the user defined table ddl transformations?
How can I run (Oracle Data Modeller 4.1.0.873) my transformations of the user-defined table ddl (for the creation or - map source files). (In tools-> rules of design and Transformations-> Table DDL transform his only Test and debugging for an entity)
Is it possible to have a new button in the toolbar to start my generations DDL?
Hello
There is a brief description in the file sqldeveloperdatamodelerscripting.docx located in the directory datamodeler\datamodeler\xmlmetadata\doc of your DM 4.1 instalation.
Somehow you can read also here Oracle SQL Developer Data Modeler 4.1 user - defined DDL generation using transformation scripts
You can use the script for the purposes of testing only, otherwise the output of this script will be included in the DDL if script 'Active' selected value and ago marked to be included in this generation of tables
Philippe
-
How to find the user oracle for a planning application search
Hello
I know how to take backup but I dnt seem to remember the user that I created in oracle to the planning application and there are many users that there are many applications on the sytem, how to know which is the user for a particular planning application
Thanks in advanceI would of thought you would name a name of data source with the same name as the planning application, it makes it a lot easier, the naming scheme of names with the same name also keeps everything the same.
If you can not link the name of the data source for the name planning then you will need to look at the system of planning and HSPSYS_DATASOURCE and HSPSYS_APPLICATION tables, this allows linking by ID.See you soon
John
http://John-Goodwin.blogspot.com/ -
How to find the names of tables that have more than 100 columns
Hi gurus,
Please help me find the names of the tables that have more than 100 columns in the database.Below will be useful for you.
SELECT atc.OWNER,atc.TABLE_NAME,count(*) FROM all_tab_columns atc GROUP BY atc.OWNER,atc.TABLE_NAME HAVING count(atc.COLUMN_NAME) > 100
Adding another point, you can use user_tab_columns, all_tab_columns, dba_tab_columns, based on your needs/access.
Thank you
SuriPublished by: Suri on February 23, 2012 11:30
-
How to find the third element table pl/sql ina
Hello friends,
I have a pl/sql table of NUMERIC type, where am store all salaries of employees.
I want to find the third bigger payday by browsing through the pl/sql table.
Pls advice.
Thank you/kumarDECLARE TYPE max_earnings_type IS TABLE OF NUMBER; TYPE max_earnings_sorted_type IS TABLE OF NUMBER INDEX BY BINARY_INTEGER; max_earnings_tab max_earnings_type; max_earnings_tab_sorted max_earnings_sorted_type; m number; BEGIN SELECT sal + comm BULK COLLECT INTO max_earnings_tab FROM emp; FOR v_i in 1..max_earnings_tab.count LOOP IF max_earnings_tab(v_i) IS NOT NULL THEN max_earnings_tab_sorted(max_earnings_tab(v_i)) := 1; END IF; END LOOP; m := max_earnings_tab_sorted.last; DBMS_OUTPUT.PUT_LINE('MAX value in PL/SQL table is ' || nvl(to_char(m),'NULL')); m := max_earnings_tab_sorted.prior(m); DBMS_OUTPUT.PUT_LINE('Second MAX value in PL/SQL table is ' || nvl(to_char(m),'NULL')); m := max_earnings_tab_sorted.prior(m); DBMS_OUTPUT.PUT_LINE('Third MAX value in PL/SQL table is ' || nvl(to_char(m),'NULL')); END; / MAX value in PL/SQL table is 2650 Second MAX value in PL/SQL table is 1900 Third MAX value in PL/SQL table is 1750 PL/SQL procedure successfully completed. SQL>
SY.
-
How to find the user name and a name indatapump import tablespace
I have a datapump without the export log file. I would like to import it into a database. Before you begin the import, I would like to know the schema and the tablespace which exported so that I can remap the schema and the tablespace to others. Is there anyway that I can doYou can run your import command, but add this:
include tablespace, sqlfile = look.sql user =
The look.sql file will have the tablespace create orders and orders for the user to create.
Edit look.sql to see what are the names of tablespace and user.
Dean
-
How to find the users connected to the system
Hello
1. is there a way to know how many users is registered in the system of cuttently
2. is it possible to find that all the activities, they did, other than the execution of scripts calc or the rule files.
3. can we get any journal file, or write a report to see who all are recorded in the system at any given time.
Thanks in advanceYou will need to return to the Administration-> Reporting-> audit and select the information you want to see.
Once you've done all this information will be stored in the RDBMS table named auditlog (dnt remember the exact name). In this table, you can view most of the activities by user.Thank you
-
How to find the session killed and computer name
Hello
At the time of the batch run killed .somebody this session without me knowing how to find the user particular db level or oslevel .de name which machine they killed how know at the OS level. but when I put the audit_trail = os only user SYSDBA activities are not checked the other activities of the user.
The server is AIX and db version 11i provide the query for conclusion or os level.
Thank you
DBC.
Published by: dbc001 on March 26, 2013 21:48check with who ever is privilleges to kill these perticluar session, if you have few users.
It is not possible to findout without verification or error info... etc.
Otherwise, restart these jobs perticluar and follow closely. -
The user has clicked on Vista, the little lock at the bottom of the START window.
Somehow, I blocked my user account (login) and I tried to help but can't find any info. How to UNLOCK the user account. Thank you
Hello
Click the account icon that was locked and enter the password IF you know and otherwise:
Try Safe Mode - several times, press F8 that you start. The Admin account there is no default password
so unless someone has changed, you should have access there. Then Control Panel - accounts - users
Manage another account - use this down your user account (to the lowest level) APPLY/OK
then go back and reset it to the Admin APPLY/OK - this clearly allows corruption. Do this several times.
Then fix the password in your usual account. Do not forget to leave your account administrator if you
wish.If no joy Mode without failure:
Try this - use the hidden administrator account to lower your user account (to the lowest level) APPLY/OK
then go back and reset it to the Admin APPLY/OK - this clearly allows corruption. Do this several times.
Then fix the password in your usual account. Do not forget to leave your account administrator if you
wish.Make another Admin account with your password and use it to fix the others if necessary. (just for
repair, don't use regular account, not a safety valve) always keep a spare ADMIN account.DO NOT LEAVE THE ENABLED LSA OR USE DAILY. If it corrupts you are toast!
How to enable or disable the real built-in Administrator account in Vista
http://www.Vistax64.com/tutorials/67567-administrator-account.htmlYou can run the Admin account hidden from the prompt by if necessary.
This tells you how to access the System Recovery Options and/or a Vista DVD
http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspxIf you cannot access your old account, you can still use an Admin to migrate to another (do not forget to always
not that an Admin account that is not used except for testing and difficulty).Difficulty of a corrupted user profile
http://windowshelp.Microsoft.com/Windows/en-AU/help/769495bf-035C-4764-A538-c9b05c22001e1033.mspx---------------------------------------------------------
If necessary:
Ophcrack is a free Windows password cracker based on rainbow tables.
http://Ophcrack.sourceforge.NET/How to reset a Windows Vista - Trinity Rescue Kit method - password password reset disc - burn the ISO
http://www.WikiHow.com/reset-a-Windows-Vista-password
YouTube video on the use of the Trinity rescue Kit
http://www.YouTube.com/results?search_query=Trinity+rescue+Kit&search_type=&AQ=fReset your forgotten password the easy way using the Ultimate Boot CD for Windows
http://www.howtogeek.com/HOWTO/Windows-Vista/reset-your-forgotten-password-the-easy-way-using-the-ultimate-boot-CD-for-Windows/Offline NT Password & Reset Editor
http://home.eunet.no/~pnordahl/ntpasswd/I hope this helps.
Rob - bicycle - Mark Twain said it is good. -
How to find the child level for each table in a relational model?
Earthlings,
I need your help, and I know that, "Yes, we can change." Change this thread to a question answered.
So: How to find the child level for each table in a relational model?
I have a database of relacional (9.2), all right?
Tips:. O /* This is a child who makes N references to each of the follow N parent tables (here: three), and so on. */ /↑\ Fks O"O O" <-- level 2 for first table (circle) /↑\ Fks "o"o"o" <-- level 1 for middle table (circle) ↑ Fk "º"
-Each circle represents a table;
-Red no tables have foreign key
-the picture on the front line of tree, for example, a level 3, but when 3 becomes N? How is N? That is the question.
I started to think about the following:
First of all, I need to know how to take the kids:
Thought...select distinct child.table_name child from all_cons_columns father join all_cons_columns child using (owner, position) join (select child.owner, child.constraint_name fk, child.table_name child, child.r_constraint_name pk, father.table_name father from all_constraints father, all_constraints child where child.r_owner = father.owner and child.r_constraint_name = father.constraint_name and father.constraint_type in ('P', 'U') and child.constraint_type = 'R' and child.owner = 'OWNER') aux using (owner) where child.constraint_name = aux.fk and child.table_name = aux.child and father.constraint_name = aux.pk and father.table_name = aux.father;
We will share!
Thanks in advance,
Philips
Published by: BluShadow on April 1st, 2011 15:08
formatting of code and hierarchy for readbilityHave you looked to see if there is a cycle in the graph of dependence? Is there a table that has a foreign key to B and B has a back of A foreign key?
SQL> create table my_emp ( 2 emp_id number primary key, 3 emp_name varchar2(10), 4 manager_id number 5 ); Table created. SQL> ed Wrote file afiedt.buf 1 create table my_mgr ( 2 manager_id number primary key, 3 employee_id number references my_emp( emp_id ), 4 purchasing_authority number 5* ) SQL> / Table created. SQL> alter table my_emp 2 add constraint fk_emp_mgr foreign key( manager_id ) 3 references my_mgr( manager_id ); Table altered. SQL> ed Wrote file afiedt.buf 1 select level lvl, 2 child_table_name, 3 sys_connect_by_path( child_table_name, '/' ) path 4 from (select parent.table_name parent_table_name, 5 parent.constraint_name parent_constraint_name, 6 child.table_name child_table_name, 7 child.constraint_name child_constraint_name 8 from user_constraints parent, 9 user_constraints child 10 where child.constraint_type = 'R' 11 and parent.constraint_type = 'P' 12 and child.r_constraint_name = parent.constraint_name 13 union all 14 select null, 15 null, 16 table_name, 17 constraint_name 18 from user_constraints 19 where constraint_type = 'P') 20 start with child_table_name = 'MY_EMP' 21* connect by prior child_table_name = parent_table_name SQL> / ERROR: ORA-01436: CONNECT BY loop in user data
If you have a cycle, you have some problems.
(1) it is a NOCYCLE keyword does not cause the error, but that probably requires an Oracle version which is not so far off support. I don't think it was available at the time 9.2 but I don't have anything old enough to test on
SQL> ed Wrote file afiedt.buf 1 select level lvl, 2 child_table_name, 3 sys_connect_by_path( child_table_name, '/' ) path 4 from (select parent.table_name parent_table_name, 5 parent.constraint_name parent_constraint_name, 6 child.table_name child_table_name, 7 child.constraint_name child_constraint_name 8 from user_constraints parent, 9 user_constraints child 10 where child.constraint_type = 'R' 11 and parent.constraint_type = 'P' 12 and child.r_constraint_name = parent.constraint_name 13 union all 14 select null, 15 null, 16 table_name, 17 constraint_name 18 from user_constraints 19 where constraint_type = 'P') 20 start with child_table_name = 'MY_EMP' 21* connect by nocycle prior child_table_name = parent_table_name SQL> / LVL CHILD_TABLE_NAME PATH ---------- ------------------------------ -------------------- 1 MY_EMP /MY_EMP 2 MY_MGR /MY_EMP/MY_MGR 1 MY_EMP /MY_EMP 2 MY_MGR /MY_EMP/MY_MGR
(2) If you try to write on a table and all of its constraints in a file and do it in a valid order, the entire solution is probably wrong. It is impossible, for example, to generate the DDL for MY_EMP and MY_DEPT such as all instructions for a table come first, and all the instructions for the other are generated second. So even if NOCYCLE to avoid the error, you would end up with an invalid DDL script. If that's the problem, I would rethink the approach.
-Generate the DDL for all tables without constraint
-Can generate the DDL for all primary key constraints
-Can generate the DDL for all unique key constraints
-Can generate the DDL for all foreign key constraintsThis is not solidarity all the DOF for a given in the file object. But the SQL will be radically simpler writing - there will be no need to even look at the dependency graph.
Justin
-
How to find the value max and min for each column in a table 2d?
How to find the value max and min for each column in a table 2d?
For example, in the table max/min for the first three columns would be 45/23, 14/10, 80/67.
Thank you
Chuck,
With color on your bars, you should have enough experience to understand this.
You're a loop in the table already. Now you just need a function like table Max and min. loop. And you may need to transpose the table 2D.
-
How to find the primary key columns in the tables in MS Access using SQL queries
How to find the primary key columns in the tables in MS Access using SQL queries
Hello
This is the forum for Windows Vista programs related issues.
For better assistance, please try instead the Forums in SQL Server .
Thank you! Vincenzo Di Russo - Microsoft MVP Windows Internet Explorer, Windows Desktop Experience & security - since 2003. ~ ~ ~ My MVP profile: https://mvp.support.microsoft.com/profile/Vincenzo
-
How to find the size of the table?
Hi all
Can anyone suggest how to find the size of the table? I had a few (15272 selected lines) on the name of "CMPT_" How can I check only 'CMPT_' size tables?
Please someone help give the SQL query to run.
Thanks in advance.
Vincent
madala03 wrote:
Hi thanks for the reply
I'm out like below
SUM(BYTES/1024/1024)
--------------------
25383.25
But how to check all the name of tables CMPT and their sizes?
Select nom_segment, dba_Segments sum(bytes/1024/1024) where nom_segment like ' % CMPT GROUP BY nom_segment;
-
Hi all
Could someone knows how to find the number of users connected to the database without connection with sql * more
y at - it a command to find?
example, we have 10 databases in a server, how to find the number of users connected to the special data base without connecting to database(v$session)?
the Oracle version:-10g, 11g
Operating system:-OEL4, OEL5, AIX, Solaris
any help will be appreciated.
Thanks in advance.
Thank you.
Kind regards
Rajesh.but you can say total number of connection with the above given the command? It would also be useful to know.
See you soon,.
LKM -
How to find the directory is at apex 4.1
Hi all
We use Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 and 4.1 and listner autonomous Apex Apex.
How to find the directory is in the database.
Thank you.http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21673/otn_install.htm#HTMIG425
Maybe you are looking for
-
I have a digital control that is auto-in the form of numbers and it does it in a way that interferes with a driver I have. The digital properties window is shown below, it is in double format. The problem is that it adds 6 zeros after the decimal p
-
XXmuslimXx911 account... 9999 banned without reason by a member of cat can the police team discovered the case and unban me please I got a year member ship 18kG and spent 100s of books on fifa 16
-
Error code during the installation of update
What means this error code means Code error 80072EFE
-
ERROR CODE 646 A SECURITY UPDATE FOR THE MICROSOFT 2007 OFFICE SYSTEM (KB978380)
IT DON'T ME NOT LET INSTALL IT AND I DON'T KNOW WHAT TO DO. IT ME SAID THAT A VULNERABILITY OF SECURITY IN NLE 2007 MICROSOFT OFFICE SYSTEM AND THE COMPATIBILITY OF MICROSOFT OFFICE THAT COULD ALLOW ARBITRARY CODE TO RUN OPENING A FILE MODIFIED FOR M
-
How to install Windows 7 WITHOUT EFI
First of all, the question full (long) story below. I wish to get a complete picture of a Windows 7 operating system that I backed up on my other server. But I get the error unable to restore a system image on a computer with a different firmware "Wi