the list with table.column package
HelloHow to know if a package of database uses table.column.
Ex: list of all packages that use emp.ename
Thank you
Sandy
Sandy,
Try this
select * from user_source
where upper(text) like '%COL_NAME%'
Maybe it's not 100% way to get your results, given that the procedure might have select * from table_name, otherwise you could get lines, which are similar column name.
SS
Tags: Database
Similar Questions
-
Field in the list with 2 columns
I am creating listfield with two columns as follows [2 |] Cokes].
There is an example on how to do this?
There is an article on the basis of knowledge to developers to add checkbox to a field, but I don't see anything on the creation of several columns.
Maybe I can get away with adding a field of text instead of a checkbox or have two fields next to the list and sync.
any suggestions?
ListField on nature has a great column.
You can override drawListRow() to ListFieldCallback to divide each row number of columns.
In this case, you will need to control the width of each column using the class font getAdvance() method that returns the width of the displayed string. And if you combine graphics and text in columns, you will need to also use getWidth() instance method of the Bitmap class to calculate the width of each column.
-
EA 4.1 display of version information in navigator slows down displaying the list of tables
Hello
I use DM with SVN version control.
The table browser now displays the icon of overlay on the tables. Nice!
The version number/log-in / user is not necessary. Maybe an option to display this information.
In any case the most important question is: now, it takes too long to display the list of tables in the browser.
Joop
Hi Joop,
The version number/log-in / user is not necessary. Maybe an option to display this information.
Yes, there is an option - "preferences > Versioning > Subversion > General '-' use the navigator overlay State labels.
The performance - we look at this problem.
Philippe
-
Select the list with doSubmit ('SAVE')
Dear members,
Please do not kill me for that matter...
I use APEX 2.1.0.00.39 delivered with XE. What I need is a list of selection within a form region indicating the content of a source LOV which is a column of data. If the select list is replaced by another value, it should initiate a doSubmit ('SAVE').
I tried the list with submit - did not work. I tried to change the STI to a selection list and:
But both times the result I have the same thing: when I change the select list of another element, the form is committed, but after reviewing it, the original of the select list item is selected again...HTML Form Element Attributes: javascript:doSubmit('SAVE');
What I am doing wrong?
Best regards
JohannHi Johann,.
The parameter must be defined:
onchange="javascript:doSubmit('SAVE');"
What are the parameters of complete Source, you have for the item? You use any calculation a process on the question?
Andy
-
Query to see the list of tables is selected frequently
Hi all
Please tell me is it possible to find out the list of tables is repeated selected, (Please exclude the insert + updates + deletions truncated drop).
ConcerningHi Sameer
You can check V$ SQL_PLAN to see the objects being accessed by your SQL queries. If you have a diagnostic license, you can also consult DBA_HIST_SQL_PLAN
select distinct object_owner, object_name from v$sql_plan; select object_name, count(*) from v$sql_plan group by object_name
Remember, this is only a crude way to find this information.
Concerning
Vincent -
I am trying to create a function that returns the distinct value and counts of a user defined schema/table/column.
The code below defines a [stats_on_column_obj] object type and creates a single table of this type [stats_on_column_tab].
The function is supposed to take three input variables: p_schema_name, nom_table_p, p_column_name and return an array (above).
I can hardcode a select into (the)... but once I try to convert it into settings & immediate exec I'm stuck. The red section is where the problem is (I think).
Oracle 10g.
Stats_on_column_obj CREATE TYPE IS OBJECT (
COL_VAL VARCHAR2 (500),
NUMBER OF COL_VAL_CNT (7)
);
CREATE TYPE Stats_on_column_tab IS TABLE OF stats_on_column_obj;
FUNCTION to CREATE or REPLACE get_STATS_ON_COLUMN
(
p_schema_name IN varchar2,
nom_table_p IN varchar2,
p_column_name IN varchar2
)
RETURN STATS_ON_COLUMN_tab
IS
l_STATS_ON_COLUMN_tab STATS_ON_COLUMN_tab: = STATS_ON_COLUMN_tab ();
n INTEGER: = 0;
str_select_tbl varchar2 (5000);
BEGIN
str_select_tbl: = 'SELECT'. p_column_name |' as col_val, count (*) as col_val_cnt FROM ' | p_schema_name |'. ' || nom_table_p: ' group of ' | p_column_name;
FOR r IN (str_select_tbl)
LOOP
l_STATS_ON_COLUMN_tab. EXTEND;
n: = n + 1;
l_STATS_ON_COLUMN_tab (n): = STATS_ON_COLUMN_obj (r.col_val, r.col_val_cnt);
END LOOP;
RETURN l_STATS_ON_COLUMN_tab;
END;
/
[Error] PLS-00103 (124:4): PLS-00103: encountered the symbol "LOOP" when expecting one of the following numbers: * & - + / at rem rest mod.. < an exponent (*) > | multiset year DAY_
[Error] PLS-00103 (126:9): PLS-00103: encountered the symbol "=" when expected in the following way: constant exception < an ID > < a between double quote delimited identifiers > double Ref table Fedya Chariot of time timestam
[Error] PLS-00103 (127:29): PLS-00103: encountered the symbol "
[Error] PLS-00103 (128:4): PLS-00103: encountered the symbol "END" when waiting for one of the following numbers: begin function package pragma procedure subtype type use < an ID > < a double quote delimited identifier > form
SELECT * FROM TABLE (get_STATS_ON_COLUMN ('SCHEMAS_X', 'TABLE_X', 'COLUMN_X'));
Scott@ORCL > CREATE OR REPLACE
FUNCTION get_STATS_ON_COLUMN () 2
3 p_schema_name IN varchar2,
4 nom_table_p IN varchar2,
5 p_column_name IN varchar2
6 )
7 STATS_ON_COLUMN_tab of RETURN
8 EAST
9 v_STATS_ON_COLUMN_tab STATS_ON_COLUMN_tab: = STATS_ON_COLUMN_tab ();
10 v_n INTEGER: = 0;
11 v_str_select_tbl VARCHAR2 (5000);
BEGIN 12
13 v_str_select_tbl: = ' SELECT stats_on_column_obj (' | p_column_name |) ', Count OF ' |
14 p_schema_name | '.' || nom_table_p | "Group of" | p_column_name;
15 v_str_select_tbl EXECUTE IMMEDIATE
COLLECTION IN BULK 16
17 IN v_STATS_ON_COLUMN_tab;
18 RETURN v_STATS_ON_COLUMN_tab;
END 19;
20.The function is created.
Scott@ORCL > select *.
2 from table)
(3 get_STATS_ON_COLUMN)
4 'SCOTT',
5 'EMP',
6 'JOB'
7 )
8 )
9.COL_VAL COL_VAL_CNT
-------------------- -----------
CLERK 4
SELLER 4
PRESIDENT 1
MANAGER 3
ANALYST 2Or better change function in the pipeline.
SY.
-
Problems with the length of table/column name
Hello
I have load data from the xml source in the oracle table. Some of the elements of xml (which ODI inverts like data warehouses) are more than 30 characters long, and it goes the same for columns as well.
In the topology Manager, when I change the XML technology and go to the tab 'OTHER', the 'Maximum length of the Table name' and 'Name of maximum column length' are assigned to the 30. According to the literature, ODI must truncate the table name and the name of the column to the specified maximum length. But when I invert the xml model, with more than 30 characters data warehouses are created, and this causes my interface to fail. Is there a solution for this problem?
Receive your answer.
Thank you!In this case, you have 2 options
(1) change each column in the data to the right length store
(2) modify the IKM to create columns at the top, 30 characters. The problem is:
-If the columns 2 to as difference, only the last 2 characters (like: my_column_name_is_really_big_01 and my_column_name_is_really_big_02) you could get a duplicate if column name not the code in the right way.
I propose option 1.
This happens because ODI validate the length of column of the tables in model once it doesn't matter of what is not "owned" by him (like C$ E$...)
Best regards
Cezar Santos
http://odiexperts.com -
Creating table in the model with 80 columns
Hello
I am trying to create a model to display 80 columns, but in Word format, I get the message "you cannot create a table with more than 63 columns.
Can how I put the 80 columns in the Template.rtf?
Env: Suite Oracle E business 12
Output required: Excel
Thanks in advance.It's the MSword limitation and no BEEP, but indirectly there is a limitation of the BEEP ;)
MSWord supports only maximum of 63 columns.
As MS Word supports only the width of page maximum of 22 inches wide and 22 inches high.Option 1:
Create a table with two columns
Insert a table with 63 columns in the first cell,
Insert a table with 63 columns in the second cell,
How we can get rid of limitations columns.Option 2:
If you want to use more than 63, then you use templates other than RTF. I recommend XSL.
-
Select the list with a shipment does not save to the database
OK, I have a form with several fields (text, radiobox, selection list, display text). I have one of these lists of selection fill a display in the text field. When I chose a selection of the selection list, she filled the screen in the text field with the correct information but erased all the other information that was the inscription in the other fields. I searched the forum and found that the selection list should be a selection with mailing list and the branch page on itself, which works, but now these 2 fields information is not saved in the database. All other fields are saved, but not both. Anyone know what im missing? Thank you
DeannaHi Deanna,
First the display as a text cannot insert data into the database. It can only display data from database. I guess you do not want the user to enter these areas, and that's why you use display as text field.There is a good way to resolve this situation. Say, you have 3 select list P1_ITEM1, P1_ITEM2, P1_ITEM3 in your page. For the change of P1_ITEM1 the screen Select the list and the LOV type in your query, assuming you want the value to be retrieved from a table. Therefore, type-
Select emp_id, ename from emp;
type the default value and null -1 and display null YESvalue. Make sure that under the type of source, you have the selected with the correct name database column.
for P1_ITEM2 to the section LOV retype your query - i.e.Select mng_id, executive pay where emp_id = NV('P1_ITEM1') or NV ('P1_ITEM1') = 1
Basically, this statement updating the data in the list select second after the first selection. type the default value and null -1 and display null YESvalue. Make sure that under the type of source, you have the selected with the correct name database column.
Do the same for the third. It should work fine.
I hope this helps.
Kind regards
Pascal M
http://Tajuddin.whitepagesbd.com -
Select the list with the list of dynamic values with more than 4000 tank of query
Hello
I have no application where users can store SQL queries in a CLOB column. This query is then used to populate the list, select a dynamic element through LOV. Following the code returns the query for dynamic LOV used to populate the select list. It works fine except when the length of the lv_sqlStatement becomes more than 4000 characters. Then application crashes with "ORA-06502: PL/SQL: digital or value error: character string buffer too small" when Select the list item rendering.
Any ideas how to get around this problem? Any help is appreciated. Do not say to them to write shorter than 4000 queries because I can't (it's operational requirements).
DECLARE
lv_sqlStatement end_user_set.sql_statement%type;
BEGIN
lv_sqlStatement: =: P2_SQL_STATEMENT;
return ' select the label, value of (' | lv_sql_statement | t ')
To_char (t.value) if not in (select value from end_user_set_member eusm)
where eusm. EUSRSET_ID = ' | : P2_EUSRSET_ID | ')';
END;I just blogged about this problem and posted a solution. See this announcement:
http://www.deneskubicek.blogspot.de/2013/03/select-list-with-dynamic-lov-and-Ora.html
Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Apress.com/9781430235125
http://Apex.Oracle.com/pls/Apex/f?p=31517:1
http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
------------------------------------------------------------------- -
See the date with timestamp column column
Hello
In the table have am capture the creation_date as date data type column. I prepare a report to display the date. Is it possible to display the date with creation of time stamp
I use oracle 10g Enterprise Edition
The table name is LICENSING name column is CREATION_DATE
Please suggest me
Thank you
SudhirWhich indicates that the data currently stored in the table always have an hour of midnight. Whatever the application / process that inserts the data is, apparently, not the component "time" DATE in the desired way. You will need to set the insertion process to spend time in your report.
Justin
-
The list with the variable row height
Hi, please look at the example below
What I do is:
-J' I create an item in list with variableRowHeight set to true.
-The dataProvider contains 2 numbers: 2 and 3
-In the itemRenderer, this causes in progress of creation, respectively 2 and 3 buttons
-As you can see, the height of the list is badly calculated, a scroll bar appears.
-When you switch 2 and 3 (so that the table becomes 3 and 2), the list is too large.
-I could make a custom list class and override the method of measurement, but I can't understand what to measure. I should be able to walk through the itemRenderers and measure their height.
Any ideas?
THX,
Dany
<? XML version = "1.0" encoding = "utf-8"? >
" < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "layout ="vertical"creationComplete =" init () "> "< mx:Script >
<! [CDATA]
Import mx.collections.ArrayCollection;
[Bindable]
private var dp:ArrayCollection;
private function init (): void
{
var a: Array = [2, 3];
DP = new ArrayCollection (a);
}
[]] >
< / mx:Script >
< mx:List width = "100%" dataProvider = variableRowHeight "{dp}" = "true" rowCount = "{dp.length}" >
< mx:itemRenderer >
< mx:Component >
< mx:VBox >
< mx:Script >
<! [CDATA]
Import mx.controls.Button;
override public function set data(value:Object):void
{
Super.Data = value;
If (this.numChildren == 0)
{
for (var i: int = 0; i < value; i ++)
{
var b:Button = new Button();
b.label = "Row" + value;
this.addChild (b);
}
}
}
[]] >
< / mx:Script >
< / mx:VBox >
< / mx:Component >
< / mx:itemRenderer >
< / mx:List >
< / mx:Application >Sorry, it's a method on a list called measureHeightOfItems. The results,
Add viewMetrics.top and down and you should have the exact size of the
List.
-
Select the list with propose pulling the values of %
Hi all
I have a tabular presentation of data app and from views of the choices selected in the 'list of selection with submit' the post, it works very well for the chosen values, when I choose '%' I want to display all existing records in the form of tables, but instead he said: "no data found". How to solve this? Kindly help and advice.
ex:
Query tabular-
Select a, b
table
When a type: POINT
Agenda:
Type: select the list to submit
Named LOV:
Select a d, a r
from table_recherche by 1
Receive your answer.
Thank you and best regards,
SenanaHello
You have to check what is the value returned by the selection list when you select '%' in the select...
There is a null value to display field where you can enter '%' and the return NULL value you enter 0then change your query in a table
Select a, b from table when one like: POINT GOLD: ITEM = 0Kind regards
Shijesh -
ORA-01481 when we click on the report with link column.
Request Express 3.1.0.00.32
I have a sql on a form page report with a column that clickable allowing the end user to quickly change the values.
I seem to have is because there is a mask of format on the column ($1234,56) I get the error
Googling the error came up with "check your manual.ORA-01481: invalid number format model Unable to fetch row.
Under format of date column / number, I'm using the following:
The column in the database is number (15.2)FML999G999G999G999G990D00
The only value I'm passing is the pk_id which is present in the case of the URL:
Anyone had this problem and if so found a work around?http://...f?p=293:2:3616213833707847::NO::P2_PK_BUDGET_ID:1
Thank you.Leland,
The error was caused by apply you the mask of YYYY format a number field. I changed a switch of dates for a list of selection and gave you an LOV query that would give you the current year, the last 3 years and the next two years. You can adjust that, according to the needs. I also put the definition LOV to accept other values incase you had a value in the db that was not in the LOV I've defined.
-
Resize the document with Tables
I use InDesign CS6.
I have more than 100 documents, with tables. I need to resize my documents 48 p 9 x 65 p 3 to the new small size 44 d 3 x 54 p 0.
When resizing the document is it possible that tables will be will resize automatically also?
New page in same proportions not same size of the original page size. So can not just scale the page more small.
But you can scale a table if you to scale the block of text that appear in the table. Make the text frame exactly the same size as the table. Then hold down the Cmd/CTRL + SHIFT and scale the text block to a corner.
Maybe you are looking for
-
Pixel dead on Satellite A200 - 1 MB
Well, here's the problem. I have an A200 - 1 MB and when my screen starts or when it shows black I ca always see a pixel that displays in red. This means that the pixel is dead? Does anyone know a program I could use for this? Can I use the warranty
-
change digital controls of type int64
Hello in my UIR, I changed the data type of a numeric control to int to an int64. Unfortunately, I'm not able to increase the maximum... 2 ^ 63 should give a number in the order of 9 x 10 ^ 18. However, if I enter the CNC 1E18 ' Maximum:' my value is
-
I use Vista Home. I have installed and uninstalled 2004 before without any problem. This is a first. I also did a system recovery to determine if it would solve the problem, but it didn't.
-
All CPUS with the same type of socket is not compatible with my motherboard?
I currently have a CPU AMD X 2 220. The socket type is an AM3 (938). Will be something like this work? http://www.Newegg.ca/product/product.aspx?item=N82E16819103911 or even http://www.newegg.ca/Product/Product.aspx?Item=N82E16819103887 . My PSU is o
-
I would like to delete the files from recovery
Hello Until I take my computer to get fixed, I did a complete backup of my files, etc. Because the computer has not crashed as I thought it might, I needed only to recover the portion of the music from my backup. I ran the restore files and the com