How to find the partitioned tables and the number of sheets in each table
Hello friends,I have a scheme called ICS_OWNER where I partitioned and tables not partitoined.
I want to list all the tables that are partitioned.
and also
I want to know what partitions exists in every partitioned table.
with respective schema specified
Thank you/Kumar
When you have questions like this, you don't ask here.
but you take your (or should I say 'your') keyboard
and type
Select *.
dict
where table_name like ' % PART %.
/
All the dictionary views are listed in the DICT.
----------
Sybrand Bakker
Senior Oracle DBA
Tags: Database
Similar Questions
-
How to find the number of data items in a file written with the ArryToFile function?
I wrote a table of number in 2 groups of columns in a file using LabWindows/CVI ArrayToFile... Now, if I want to read the file with the FileToArray function so how do I know the number of items in the file. during the time of writing, I know how many elements array to write. But assume that I want the file to be read at a later time, then how to find the number of items in the file, so that I can read the exact number and present it. Thank you all
Hello
I start with the second question:
bytes_read = ReadLine (file_handle, line_buffer, maximum_bytes);
the second argument is the buffer to store the characters read, so it's an array of characters; It must be large enough to hold maximum_bytes the value NULL, if char [maximum_butes + 1]
So, obviously the number of lines in your text tiles can be determined in a loop:
Open the file
lines = 0;
While (ReadLine () > 0)
{
lines ++;
}
Close the file
-
Best regards, tore my sticker with the serial number. I don't see the numbers. How to find the number of the whole installation?
Original title: windows 7 sn
Option 1:
If the COA sticker is damaged, you must use the recovery partition to reinstall Windows 7, it will be exempt from the need to use the product key to activate your installation of Windows 7.
Option 2:
If your recovery partition is not available or damaged, you must contact the manufacturer of your computer, and request that a defined recovery disk you can use to reinstall Windows 7. They could practice a small shipping and handling. This will exempt the need to also use the product key.
Option 3:
If neither options 1 or 2 is possible, then you will need to invest in a new license of full version of detail.
-
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 count the number of nodes under each parent in any given xml
How to count the number of nodes under each parent in any given xml. for example the xml below was
books has 3 childern, library [1] has 4, [2] library has 6 and bookshop [3] has 2. is it possible to get the number of tags in a childnode duplicate IE library [1]
Book1 Tagus repeated twice... vice versa. do we need to make plsql lie we can achieve through sql
< book >
< library >
ABC < book1 > < / book1 >
BCA < book2 > < / book2 >
ACR < book1 > < / book1 >
Lac < Book4 > < / Book4 >
< / book >
< library >
ABC < book1 > < / book1 >
BCA < book2 > < / book2 >
ACR < book3 > < / book3 >
ACR < book3 > < / book3 >
tray of < bookn_1 > < / bookn_1 >
adjusted cost base < bookn > < / bookn >
< / book >
< library >
ABC < book1 > < / book1 >
BCA < book2 > < / book2 >
< / book >
< / books >
I tried this... query.
Select
XMLQUERY ('count($doc/Books/Bookstore[1]/descendant::*)' in the way of xmltype ("< books >
< library >
ABC < book1 > < / book1 >
ACR < book1 > < / book1 >
Lac < Book4 > < / Book4 >
< / book >
< library >
ABC < book1 > < / book1 >
BCA < book2 > < / book2 >
< / book >
(< / books > ')
as 'doc' of happy return) .getNumberVal () as node_count
of the double
Select
XMLQUERY ('count($doc/Books/descendant::*)' in the way of xmltype ("< books >
< library >
ABC < book1 > < / book1 >
ACR < book1 > < / book1 >
Lac < Book4 > < / Book4 >
< / book >
< library >
ABC < book1 > < / book1 >
BCA < book2 > < / book2 >
< / book >
(< / books > ')
as 'doc' of happy return) .getNumberVal () as node_count
of the double
How can I get the counts for each parent in a single query
Published by: user7955917 on August 24, 2012 07:26Generic function how you want the query to be.
If the structure is known in advance, as in your example a 'books' and then a 'library' root element, it's as simple as:
SQL> select x1.parent_id, x2.child_name, count(*) 2 from tmp_xml t 3 , xmltable( 4 '/books/bookstore' 5 passing t.object_value 6 columns parent_id for ordinality 7 , child_list xmltype path '*' 8 ) x1 9 , xmltable( 10 '/*' 11 passing x1.child_list 12 columns child_name varchar2(30) path 'name()' 13 ) x2 14 group by x1.parent_id, x2.child_name 15 order by x1.parent_id, x2.child_name 16 ; PARENT_ID CHILD_NAME COUNT(*) ---------- ------------------------------ ---------- 1 book1 2 1 book2 1 1 book4 1 2 bookn 1 2 bookn_1 1 2 book1 1 2 book2 1 2 book3 2 3 book1 1 3 book2 1 10 rows selected
If you want a generic solution that works without knowledge of the structure, you will need a recursive approach, and most importantly, you should know which nodes in distinct, I suppose that the leafs?
Also, please help if you can provide the link of reference on the function name() years what are the other expression, that I can use after the path
You can start reading the documentation: http://docs.oracle.com/cd/E11882_01/appdev.112/e23094/xdb_xquery.htm#CBAGCBGJ
The clause PATH expects a XQuery expression however before 11.2, we can put only simple XPath expressions.
-
How to find the first max value for each item
Hello
I have the me_result of the table as below,
SELECT * FROM me_result;
ID ||| ELITE ||||||||||| FREQ_ITEM | COMBINED_STR | SUP
1 ||; 1; 10; 2; 3; 4; 5; 7; 8. 1 ||||||||||||||; 1; 10; 2; 3; 4; 5; 7; 8 ||| 2
2 ||; 1; 10; 2; 3; 4; 5; 7; 8. 2 ||||||||||||||; 1; 10; 2; 3; 4; 5; 7; 8 ||| 2
3 ||; 1; 10; 2; 3; 4; 5; 7; 8. 3 ||||||||||||||; 1; 10; 2; 3; 4; 5; 7; 8 ||| 2
4 ||; 1; 10; 2; 3; 4; 5; 7; 8. 4 ||||||||||||||; 1; 10; 2; 3; 4; 5; 7; 8 ||| 2
5 ||; 1; 10; 2; 3; 4; 5; 7; 8. 5 ||||||||||||||; 1; 10; 2; 3; 4; 5; 7; 8 ||| 2
6 ||; 10; 2; 3; 4; 5; 8; 9. 1 ||||||||||||||; 10; 2; 3; 4; 5; 8; 9; 1 ||| 1
7 ||; 10; 2; 3; 4; 5; 8; 9. 2 ||||||||||||||; 10; 2; 3; 4; 5; 8; 9 ||| 2
8 ||; 10; 2; 3; 4; 5; 8; 9. 3 ||||||||||||||; 10; 2; 3; 4; 5; 8; 9 ||| 2
9 ||; 10; 2; 3; 4; 5; 8; 9. 4 ||||||||||||||; 10; 2; 3; 4; 5; 8; 9 ||| 2
10 ||; 10; 2; 3; 4; 5; 8; 9. 5 ||||||||||||||; 10; 2; 3; 4; 5; 8; 9 ||| 2
I need to find the first COMBINED_STR max for each element of the ELITE,
I mean, max value is the max REGEXP_COUNT (combined_str,' ;')))
really, I try to write down, but I had a lot of values for each ELITE and I need only the first, that
SELECT * from me_result
WHERE (ELITE, REGEXP_COUNT (combined_str,' ;')))) IN
(SELECT ELITE, MAX (REGEXP_COUNT (combined_str,' ;'))))) ME_RESULT ELITE GROUP);
I need the result to be as below.
1; 1; 10; 2; 3; 4; 5; 7; 8-1; 1; 10; 2; 3; 4; 5; 7; : p
6; 10; 2; 3; 4; 5; 8; 9 1; 10; 2; 3; 4; 5; 8; 9; 1 1
any help please,.
Published by: user11309581 on July 10, 2011 22:03Can be
with t as (select 1 ID, ';1;10;2;3;4;5;7;8' ELITE, 1 FREQ_ITEM, ';1;10;2;3;4;5;7;8' COMBINED_STR, 2 SUP from dual union all select 2 ,';1;10;2;3;4;5;7;8' ,2 ,';1;10;2;3;4;5;7;8' ,2 from dual union all select 3 ,';1;10;2;3;4;5;7;8' ,3 ,';1;10;2;3;4;5;7;8' ,2 from dual union all select 4 ,';1;10;2;3;4;5;7;8' ,4 ,';1;10;2;3;4;5;7;8' ,2 from dual union all select 5 ,';1;10;2;3;4;5;7;8' ,5 ,';1;10;2;3;4;5;7;8' ,2 from dual union all select 6 ,';10;2;3;4;5;8;9' ,1 ,';10;2;3;4;5;8;9;1' ,1 from dual union all select 7 ,';10;2;3;4;5;8;9' ,2 ,';10;2;3;4;5;8;9' ,2 from dual union all select 8 ,';10;2;3;4;5;8;9' ,3 ,';10;2;3;4;5;8;9' ,2 from dual union all select 9 ,';10;2;3;4;5;8;9' ,4 ,';10;2;3;4;5;8;9' ,2 from dual union all select 10 ,';10;2;3;4;5;8;9' ,5 ,';10;2;3;4;5;8;9' ,2 from dual ) select ID,ELITE,FREQ_ITEM,COMBINED_STR,SUP from ( SELECT ID,ELITE,FREQ_ITEM,COMBINED_STR,SUP, ROW_NUMBER() over (PARTITION BY ELITE order by id) RN FROM t WHERE (ELITE,REGEXP_COUNT(combined_str,';')) IN (SELECT ELITE,MAX(REGEXP_COUNT(combined_str,';')) FROM t GROUP BY ELITE) ) where RN=1 order by id ID ELITE FREQ_ITEM COMBINED_STR SUP ---------------------- ----------------- ---------------------- ----------------- ---------------------- 1 ;1;10;2;3;4;5;7;8 1 ;1;10;2;3;4;5;7;8 2 6 ;10;2;3;4;5;8;9 1 ;10;2;3;4;5;8;9;1 1
-
HP PSC 2410-how to find the number of pages
I bought a PSC 2410 opportunity and would like to know the total number of pages. Any ideas?
Hi @jay2769,
Thank you for your super fast response. Please see these links and print a self test page and check if it displays the number of pages in the printer.
As part of the Toolbox (link 3) under one of the tabs, you may find the number of pages for the printer.
Please let me know how it goes. To simply say thank you, for my efforts to help, please click the "Thumbs Up" button. If you need more assistance let me know and I will gladly do whatever I can to help. If it helps, please mark it as "acceptable Solution" as well.
Please take care and have a nice week ahead.
-
P2055 printer: how to find the number of pages printed on hp2055 a toner cartridge
I would like to know where to find the number of pages printed on my toner cartride existing.
Hello
Click the Configuration button and select reports, and then select status supplies.
Expiration report include the number of pages printed and about remaining for the specific Toner Cartridge.
Shlomi
-
How to find the number of color for theme 15, otherwise in the definition of the model?
Does anyone know where I can look to find the number of blue color that uses the model for the title area of the region of sidebar to the 15 theme: Light Blue?
I want to use the exact same color blue as a background color of hover for my text boxes on the form.
I tried to look under:
Home > Application Builder > Application 104 > shared components > Themes > theme reports
then selected 15 theme: Light Blue. But in the edit page for "Sidebar region, Alternative 1", in the setting area model there is none listed color.»
There is only this code provided:
< img src = "" #IMAGE_PREFIX #1px_trans.gif ""
Thank you for your help,
MaggieMaggie,
You need to spend to develop w/Firebug for Firefox. Using Firebug you can click "inspect" and move the mouse over the page to find the item you want. Once you click on the element you can see all the styles are applied, including the exact colors.
Kind regards
Danhttp://danielmcghan.us
http://sourceforge.NET/projects/tapigen
http://sourceforge.NET/projects/plrecur -
How to find the number of employee
Hello
I am very new to EBS and task on site for coding a query to search only the number of employees of each Department in the 2009 year grouped by month or week.
Can someone help me please? Its urgent
Thank you
AaliYou can use something like this:
select ppg.group_name, count(*) from per_all_people_f ppl, per_all_assignments_f paf, pay_people_groups ppg where ppl.person_id = paf.person_id and ppl.current_employee_flag = 'Y' and paf.assignment_type = 'E' and paf.people_group_id = ppg.people_group_id (+) and ppl.effective_start_date <= TO_DATE('31/12/2009','DD/MM/YYYY') and ppl.effective_end_date >= TO_DATE('01/01/2009','DD/MM/YYYY') and paf.effective_start_date <= TO_DATE('31/12/2009','DD/MM/YYYY') and paf.effective_end_date >= TO_DATE('01/01/2009','DD/MM/YYYY') group by ppg.group_name
Kind regards.
-
How to find the number of your product
Before asking questions, you will more than likely need your product number.
Here's how to find it.
For a laptop:
You can remove the battery and inside this compartment will be the number of products.
You can press and hold the FN key and press the escape. This will bring up a window with the product number and model name.
For a desktop computer:
At the back of the Tower, there is a black and white sticker with a bar code that carries the product number.
You can also hold CTRL, ALT and press the letter S. This will bring up a window with the product number and model name.
Desktop and laptop:
You can load HP Support Assistant and your product and serial number will be at the bottom of the page.
You can also boot into the BIOS by pressing F10 at startup to the top, and all the information of the system are listed.
Here is a link with videos and photos to find the product number.
Hope nigra.
-
How to find the number, product hp care pack number hw/sw
How to find hp care pack number and number of products hw/sw pls advice
Contact HP directly.
It's the HP consumer support forum and not a unit of HP.
-
State machine: how to find the number of transitions:
Hi Member
I have this machine of States show below
where x: output input and y where the two streams of bits each and zeros
I ask how can I calculate the number of transitions between s1 to s1, s1, S2, s2 to s1, s2, s3 and up to s6 to s6, s6 to s5 and so on
all chanage in lv I'll gracfull
I thank you in advace
Man, it is not difficult to read using LabVIEW on nodes of property.
Right click on your am' value on the diagram, select "create one-> property node", right click and select 'Edit to write' and the little hand tool to select the 'value' to the subject property. Then it wire to the output of your block on the right.
-
How to find the number of column under Basic forms
Hi all
There is the serial number in the pay_assignment_actions Table column
Through basic shapes where can I find the serial number column
Is someone can you please tell me what would be the navigation.
Thanks in advanceYou need to check the correct recording-
It would be visible only for those guys-Void Payment Ext/Manual payment Cheque writer Magnetic report
-
How to find the number of days between 2 date elements in the XSLT file
Hello
I need to calculate the number of days between 2 date elements (type xs: date). Can you please direct me as to how I can do the same thing.
I work in 11g and using XSLT 1.0. I tried several options but yet to get a solution for this. I think that this can be done also using XSLT 2.0, but who has not worked for me.
Can someone please help with this problem, thanks in advance!
Thank you
AnjuHello
Have you seen this message?
Re: Get the Date difference between 2 values of date in daysYou can do in the XSLT file since the dates are in ISO 8601 format.
http://www.w3.org/TR/NOTE-datetimeHere is a sample XSLT...
The XSLT above will result in * 4 * for the next entry...
2012-01-11T00:00:00.000-05:00 2012-01-15T00:00:00.000-05:00 You can test this example here...
http://xslttest.appspot.com/I hope this helps...
See you soon,.
VladIt is considered good etiquette to the answerers rewards with points (as "useful" - 5 pts - or 'correct' - 10pts)
https://forums.Oracle.com/forums/Ann.jspa?annID=893
Maybe you are looking for
-
Can I delete photos on my iPhone 6 s which I saved on iCloud? ... well, getting more storage on my iPhone?
-
How can I get my old Firefox home pages of my back links and all my favorites?
I have a new computer with Win 7 64 bit and started using the mine field, but I decided to go back to Firefox. Now have Firefox 4, but the need for all my links and bookmarks I have on my other system. Should what files I look for else my old drive t
-
Is there a way to differentiate the string containing the characters and numbers?
Hello, I created an application to read data from a serial port device. The problem is that the device, at startup, displays a block of text that contain characters describing the device. Shortly after, he displays a command prompt "command:" it's wh
-
Please I want to re - install windows xp on my laptop but I don't have the resource cd. only I have the key to product label I can do?
-
Downloaded updates are deposited under C:\Program Update\session\ of Lenovo. Can delete these files after you install the updates?