How to stretch more columns in a table
Hi all,
we are using JDev 11.1.1.0.2 and we want stretching more than a column in a table.
In Appearence, property columnStretching what we have to write, supposing our columns call col1, col2, col3 etc?
Thanks
Andrea
Hi,
according to the tag documentation
http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_table.html
you can only stretch a single column
Frank
Similar Messages
-
How do I Freeze Columns in HTML Tables
How do I Freeze Columns in HTML Tables when scroll vertically as well as horizontally? (header and some columns on LHS). I generate a JSP report which got more than 1000 rows. Please advise. Thanks.
Gooooooooooooooooogle searched "Freeze Columns in HTML Tables"
So many solutions available !!!!!
see the 1st link
http://web.tampabay.rr.com/bmerkey/examples/locked-column-csv.html -
How to sum the column in a table seperated by sign.
How to sum the column in a table separate by sign.
For Example:
A B
10 MOHAN
-15 KUMAR
-25 MARCH
50 MAYSELECT SUM(CASE SIGN(A) WHEN 1 THEN A ELSE NULL END) SUM_POSTIIVE,
SUM(CASE SIGN(A) WHEN -1 THEN A ELSE NULL END) SUM_NEGATIIVE
FROM tbl
/SY. -
How to delete a column from the table control in module pool?
Hi,
can any one please tell How to delete a column from the table control in module pool?
thanks in advance
warm regards
HareeshKumar Nhi hareesh,
I think it is better to hide it.
How to hide: You can check this link
Dynamic Hide column in table control -
How to Delete a Column in Internal Table
Hi All,
Does any one know ,How to Delete a Column in Internal Table?Hi,
For deleting the column in the internal table, you have to eliminate the field which you want to delete.
loop at itab into wa.
move corresponding wa to wa1.
append wa1 to itab1.
clear wa1.
clear wa.
endloop.
wa1 is the workarea without the field which you want to delete.
itab1 is the internal table which consists of the deleted column. -
How to find the column name and table name with a value
Hi All
How to find the column name and table name with "Value".
For Example i have value named "Srikkanth" This value will be stored in one table and in one column i we dont know the table how to find the table name and column name
Any help is highly appricatable
Thanks & Regards
Srikkanth.M2 solutions by Michaels (the latter is 11g upwards only)...
michaels> var val varchar2(5)
michaels> exec :val := 'as'
PL/SQL procedure successfully completed.
michaels> select distinct substr (:val, 1, 11) "Searchword",
substr (table_name, 1, 14) "Table",
substr (t.column_value.getstringval (), 1, 50) "Column/Value"
from cols,
table
(xmlsequence
(dbms_xmlgen.getxmltype ('select ' || column_name
|| ' from ' || table_name
|| ' where upper('
|| column_name
|| ') like upper(''%' || :val
|| '%'')'
).extract ('ROWSET/ROW/*')
) t
-- where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
order by "Table"or
SQL> select table_name,
column_name,
:search_string search_string,
result
from cols,
xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| :search_string || '%") > 0]')
columns result varchar2(10) path '.'
where table_name in ('EMP', 'DEPT')
TABLE_NAME COLUMN_NAME SEARCH_STRING RESULT
DEPT DNAME ES RESEARCH
DEPT DNAME ES SALES
EMP ENAME ES JONES
EMP ENAME ES JAMES
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES PRESIDENT
EMP JOB ES SALESMAN
9 rows selected. -
How can I select columns from a table EMP, using Select statement?.
Hi Friends,
How can I select columns from a table EMP?.
I want to select columns of EMP table, using select statement.
Please reply me urgently.
ShahzadSomething like this:
scott@DBA> select empno,ename,job from emp;
EMPNO ENAME JOB
7369 SMITH CLERK
7499 ALLEN SALESMAN
7521 WARD SALESMAN
7566 JONES MANAGER
7654 MARTIN SALESMAN
7698 BLAKE MANAGER
7782 CLARK MANAGER
7788 SCOTT ANALYST
7839 KING PRESIDENT
7844 TURNER SALESMAN
7876 ADAMS CLERK
7900 JAMES CLERK
7902 FORD ANALYST
7934 MILLER CLERK
14 rows selected.Check the documentation:
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_10002.htm#sthref9697
Message was edited by:
Delfino Nunez -
Reg: how to join more than one cluster table into one
Hi gurus
How to join more than one cluster table into one
amkHi,
You cannot join cluster tables
Best way is to select from the header table and then select from the item table table using for all entries of header table.
regards,
Advait -
How to disable certain columns of a Table?
hi all,
I wish to fill a pattern of 8 digital signals (only 1's & 0's) in a Table.
Is there any way to restrict the user from typing char or num other than a 1 or a 0?
Since the table is a string, I'm having confusion how to do this.
Secondly, the table would have by default 12 columns visible on the Front Panel, excluding both the headers.
But the No. of Columns is based on a parameter called Duration that ranges between 4 & 256.
What I want the user to do is to key in 1's & 0's for the Duration chosen.
Since it'll be tedious to key in for large values of Duration, I've given the option of Set Row(s) & Reset Row(s),
that will fill with either 1 or 0 respectively for the chosen Row Value.
Is there any way to disable the remaining columns of the Table, ie, those unfilled columns,
when the user scrolls horizontally? I don't know how to achieve this.
I went thro' the Properties of the Table, I don't understand some of their functionalities,
like SelStart, SelSize etc.
I wonder why a Property like Disable Array Elements for Arrays is not provided for a Table
to Disable the columns we want to do so, or is it my gross ignorance, I don't know.
Experts pls clarify me & help me out.
Regards,
Partha.
- Partha
LabVIEW - Wires that catch bugs!
Attachments:
Set Eventframe1.vi 409 KBAnother option is to do this:
Slightly more elegant, but also more potential for bugs (e.g. the users can tab into the column).
craigdobis wrote:
You can lower your overhead by using these "professional" looking indicators and controls. They are limited in functions and properties, thereby causing a smaller VI in file size.
Nice. I didn't think about that. Looks like a VI with a single system boolean takes ~20% less space than one with a standard boolean.
P.S. In general, I would say there are considerably better arguments for using system controls than memory issues.
Try to take over the world!
Attachments:
Disabled Column.png 5 KB -
How I compare the columns of 2 tables
Hi, what's the query I use to compare all the columns of 2 tables, or how I use the result of COLUMN_NAME in the DBA_TAB_COLS?
Tnks for helping...
MnkI have this select:
SELECT D.COLUMN_NAME AS CFINAL
FROM DBA_TAB_COLS D,
(SELECT A.COLUMN_NAME AS C1
FROM DBA_TAB_COLS A
WHERE (A.OWNER LIKE '%TEL_USJ07%' AND
A.TABLE_NAME = 'BOLETOS')) F
WHERE D.COLUMN_NAME = F.C1
AND D.OWNER LIKE '%TEL_USJ07%'
This will return the column's name where tabel_name LIKE BOLETOS.
I want use this result in another select where the table have this columns and more, but I want to see all the results in the second table where the columns came from the first select.
For example: the first select bring to me the columns: cod_tipo_bol and cod_tipo_corte, I want to see in the second select only the results of this 2 columns.
THIS IS THE COLUMNS OF THE SECOND TABLE I WANT TO USE:
cod_tipo_bol
cod_frente_corte
num_carga
cod_caminhao
cod_motorista
lib_numero
cod_enc_frente
cod_div2
cod_div3
cod_div4
bol_data
cod_carregadora1
cod_oper_carreg1
cod_carregadora2
cod_oper_carreg2
cod_colhedora1
cod_oper_colhed1
cod_colhedora2
cod_oper_colhed2
cod_colhedora3
cod_oper_colhed3
cod_trat_reb
cod_oper_trat_reb
cod_trat_transb1
cod_oper_transb1
cod_trat_transb2
cod_oper_transb2
cod_trat_transb3
cod_oper_transb3
cod_julieta_sm_reboque
bol_status
-------- -
How to move a column within a table?
Hi All!
Is it possible in Oracle 9i to move a column within a table? For instance, I have a table
ID1 ID2 ID3 SRC_ID1 SRC_ID2 SRC_ID3
and I want to add one more column ID4. So, I can do it like this:
ALTER TABLE MY_TABLE
ADD ID4 NUMBER(18);
In this case, the column will be added to end of the table but I want to move the column on the position after ID3. So, my question is, is it possible to move a column within a table? And if yes, how I can do it?.
Any help will be appreciate.
With best regards,
Andrej Litowka.Hi,
Actually speaking it makes no difference where a column is placed in the table. The select clause is the one that decides on how to display the data. But still if you want to store it next to a particular column then there are 2 options...
1. Rename <tname> to <tname_1>;
Create view <tname> as select <cols> from <tname_1>;
The above option is useful in case of selects. In case of DMLs it will have to do a little more work by going and firing the same on the actual underlying table.
2. Rename <tname> to <tname_1>;
Create table <tname> (<new col order with the new col>);
Insert into <tname> (select <col order> from <tname_1>);
This option seems to be better than the first one.
Hope this helps you.
Regards,
DJ -
How to read BLOB column from a table in SQL or PL/SQL
I have table which is having one BLOB data type column . Ihave inserted few rows in that table . Now i want to see wheather BLOB column has been inserted properly or not . How to read that column through SQL or PL/SQL.
Can anyone help me to do this.You can only manipulate LOBs in PL/SQL because you have to use the DBMS_LOB package.
Check out the Oracle Developer's Guide -
How to keep view column in a table
Hi,
I have two table and one view(I have same data in any other schema so I don't want to keep same data in both schema) I want to make primary key in first table based on one column from 2nd table and one column from view, but it's not looking possible if it's possible so how, if it is not there is any other solution.
Thanks and Regards, Khawar.Hello all,
Thanks for reply following are view and table desc.
SQL> desc emp_dept_vw
Name Null? Type
EMP_ID NOT NULL VARCHAR2(10)
F_NAME NOT NULL VARCHAR2(50)
M_NAME VARCHAR2(15)
L_NAME VARCHAR2(15)
DESIGNATION VARCHAR2(40)
JOIN_DATE DATE
REGION_ID VARCHAR2(15)
DEPT_ID VARCHAR2(30)
FAMILY_NAME VARCHAR2(20)
SEX CHAR(1)
LOCATION VARCHAR2(20)
DEPT_NAME VARCHAR2(30)
SECTION VARCHAR2(40)
SQL> desc pc_user
Name Null? Type
PC_SERIAL NOT NULL VARCHAR2(20)
PRINTER_SERIAL VARCHAR2(20)
SQL> desc pc
Name Null? Type
PC_SERIAL NOT NULL VARCHAR2(20)
BRAND NOT NULL VARCHAR2(50)
HDD_MODEL_NO CHAR(18)
MEM_CODE VARCHAR2(20)
NIC_CODE VARCHAR2(20)
PROCESSOR_ID VARCHAR2(20)
MONITOR_ID VARCHAR2(20)
MOTHER_BOARD VARCHAR2(30)
SUPP_ID VARCHAR2(20)
FDD VARCHAR2(20)
PRICE NOT NULL NUMBER
WARRANTY NOT NULL VARCHAR2(20)
DELIVERY_DATE NOT NULL DATE
REMARKS NOT NULL VARCHAR2(200)
I want to use EMP_ID from EMP_DEPT_VW view as a part of composite key in PC_USER table.
Many Thanks .
Khawar -
How to remove a column from alv table
Hi All
How to remove a specific column from alv table.?
Thanks & Regards
SUNFor delete u can follow the above post..
Fo making invisible :
data m_col type ref to cl_salv_wd_column.
m_col = alv_mode->IF_SALV_WD_COLUMN_SETTINGS->GET_COLUMN (' col1' ).
m_col->SET_VISIBILITY( '01' ). -
Newbie Repository question: How to add extra columns to relationship table?
I've defined the following item-descriptors:
<item-descriptor name="award" display-property="id">
<table name="bc_award" type="primary" id-column-name="award_id>
</table>
</item-descriptor>
<item-descriptor name="product" display-property="displayName" xml-combine="append">
<table name="bc_product" type="auxiliary" id-column-name="product_id">
</table>
Now products and awards have a many-to-many relationship, so I also added the following under the product item-descriptor definition:
<table name="bc_prd_awards" type="multi" id-column-name="product_id">
<property name="awards" data-type="set" component-item-type="award" column-name="award-id"/>
</table>
So far, so good. However, I actually want some extra information on the relationship table. Namely, the catalog to which the product-award association applies. In other words, I'd like the create table statement to turn out something like this:
CREATE_TABLE bc_prd_awards (
product_id varchar2(254) NOT NULL REFERENCES dcs_product(product_id),
award_id varchar2(254) NOT NULL REFERENCES bc_award(award_id),
catalog_id varchar2(254) NOT NULL REFERENCES dcs_catalog(catalog_id),
PRIMARY KEY(product_id, award_id, catalog_id)
Any ideas as to how I accomplish this?
Edited by: user6200425 on Jul 1, 2011 1:04 PMIf you want to add catalog information to the product-award association, do this.
<item-descriptor name="product"/>
<table type=multi>
<property name="productAwardAssociation" component-item-type="productAward" data-type="set" />
</table>
</item-descriptor>
<item-descriptor name="productAward">
<property name="award" column-name="award" item-type="Award"/>
<property name="catalog" column-name="catalog" item-type="Catalog"/>
</item-descriptor>
<item-descriptor name="Award">
--- award related properties
</item-descriptor>
Hope this helps.
Thanks
karthik
Maybe you are looking for
-
How do I list a user podcast on iTunes Store?
It may be simple but even Enterprise support sent me here to ask. I just had to reinstall my entire server thanks to the 10.5.6 update. I had a blog setup before as a static website and manually updated it using iWeb and then <ugly> I added all the i
-
Report-Report Passing Values with SMOD_RSR00004
Hi, I operated the BADI SMOD_RSR00004 which suppose to help in mapping values from a sender report to a receiver report. I didn't succeed to see in a debug mode the sender query's time characteristic value I used. I mean that all the rows/columns cha
-
Page Properties - background color
Hello, I added a background color of bright red (just so it would be very noticable) to the following webpage. It is not showing up. Do you know why? http://www.referafamily.com/sample/john.sample Thanks, Melanie
-
Export Button not working properly in custom OAF page.
Hi, I have a custom page with a table region is there. There is an export button which exports the rows in an excel sheet. But it is not working properly, as all the rows are not getting extracted. Properties set for the export button:: Export all ro
-
Hi , we are using Hyperion planning 11.1.1.3.we have a shared service schema.Actually we need to create the interface table design so that we can load data to those tables from outer system and then reload the structure to the Shared service .We have