Why do we need varrays ,index by table,pl/sql table etc when cursor is avai
hi,
Why do we need Composite data types like Index by Table, varrays etc when we have cursors and we can do all the things with cursor.
Thanks
Ram
I would have to create a collection type for each column in the select statement.No.
SQL> select count(*) from scott.emp ;
COUNT(*)
14
1 row selected.
SQL> DECLARE
2 TYPE my_Table IS TABLE OF scott.emp%ROWTYPE;
3 my_tbl my_Table;
4 BEGIN
5 SELECT * BULK COLLECT INTO my_tbl FROM scott.emp;
6 dbms_output.put_line('Bulk Collect rows:'||my_tbl.COUNT) ;
7 END;
8 /
Bulk Collect rows:14
PL/SQL procedure successfully completed.
SQL> disc
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
SQL>Message was edited by:
Kamal Kishore
Similar Messages
-
Multiple users need to see some documents in SQL table, PHP
Is there a way to serve up data for a user based on their group assignment? I have two SQL tables. The first one has the user login information (username, password, groupID note: multiple users can belong to same GroupID). The second table has the data that needs to be shown (file name, date, groupID note: multiple files can be assigned to same GroupID). I need to be able to serve up the file name and date from the second group based on the groupID assigned in the first table. I know this should be simple, but for some reason I just can't wrap my head around it. My site is PHP. Thank you in advance for any help,
The GroupID you are using is typically used as an access level and used for access and restriction to pages, but the same principles apply here. I would suggest using three groups, with the third meaning both. This value can be stored in a session variable or used when a recordset from the user table is executed on the page. Use this value in your select statement to choose records marked with the same groupID.
So you'll have three groups, 1, 2 and 3 with three indicating both. However, in the second table, the groupID in those records will still only be assigned to 1 or 2, so you'll need an OR statement in the SQL to choose both when the access level is 3. -
Need help on syntax of PL/SQL Table type
Hi Everyone
I have the following Procedure
DECLARE
TYPE ln_empno IS TABLE OF NUMBER;
ln_empno1 ln_empno;
dml_errors EXCEPTION;
PRAGMA EXCEPTION_INIT (dml_errors, -24381);
ERRORS NUMBER;
BEGIN
UPDATE emp
SET empno = empno
RETURN empno
BULK COLLECT INTO ln_empno1;
FORALL idx IN 1 .. ln_empno1.COUNT SAVE EXCEPTIONS
INSERT INTO t1
VALUES (ln_empno1 (idx));
EXCEPTION
WHEN dml_errors
THEN
ERRORS := SQL%BULK_EXCEPTIONS.COUNT;
FOR i IN 1 .. ERRORS
LOOP
DBMS_OUTPUT.put_line ( 'Error '
|| i
|| ' occurred during '
|| 'iteration '
|| SQL%BULK_EXCEPTIONS (i).ERROR_INDEX
DBMS_OUTPUT.put_line ( 'Oracle error is '
|| SQLERRM (-SQL%BULK_EXCEPTIONS (i).ERROR_CODE
END LOOP;
END;
This will collect the single column, I am not able to get the syntax to create a record containg empno and ename and bulk collect into a collection type.
Can anyone help me to execute this procedure for ln_empno as a record of empno and ename.
Thanks in Advance
-AhmedAlso,
If you want it as an update then why not just alter as per my example... e.g.
SQL> ed
Wrote file afiedt.buf
1 DECLARE
2 TYPE lt_emp_rec IS RECORD (empno NUMBER, deptno NUMBER);
3 TYPE lt_emp IS TABLE OF lt_emp_rec INDEX BY PLS_INTEGER;
4 lr_emp lt_emp;
5 BEGIN
6 UPDATE emp
7 SET deptno = deptno+10
8 RETURNING empno, deptno
9 BULK COLLECT INTO lr_emp;
10 FOR idx IN 1 .. lr_emp.COUNT
11 LOOP
12 DBMS_OUTPUT.PUT_LINE('EmpNo: '||to_char(lr_emp(idx).empno)||' ::: DeptNo: '||to_char(lr_emp(idx).deptno));
13 END LOOP;
14* END;
SQL> /
EmpNo: 7369 ::: DeptNo: 30
EmpNo: 7499 ::: DeptNo: 40
EmpNo: 7521 ::: DeptNo: 40
EmpNo: 7566 ::: DeptNo: 30
EmpNo: 7654 ::: DeptNo: 40
EmpNo: 7698 ::: DeptNo: 40
EmpNo: 7782 ::: DeptNo: 20
EmpNo: 7788 ::: DeptNo: 30
EmpNo: 7839 ::: DeptNo: 20
EmpNo: 7844 ::: DeptNo: 40
EmpNo: 7876 ::: DeptNo: 30
EmpNo: 7900 ::: DeptNo: 40
EmpNo: 7902 ::: DeptNo: 30
EmpNo: 7934 ::: DeptNo: 20
PL/SQL procedure successfully completed.
SQL>Was that so hard? -
I have paid for the additional games in my first iPad, when I download it again from purchased history, and execute it, it prompt me a request payment dialog. The truth is, I have paid it previously? Is it a normal for this kind off apps which is lite (free), and paid for upgrade would not have the previlage for second device?
Hi John,
I agree with you, I downloaded it using the same apple id, and it is free even though for the first time downloading. We need to pay when we wanted to buy additional game/flash cards, but for my ipad2, when i select the one I have been purchased before for the additional cards, it prompt request payment... I am doubtful whether it will charge or not.....
Regards,
Anthony -
HT2534 why do i need to enter credit card for free app purchases when i already set up itunes id
please HELP me .I want to install the free apps on my ipod touch but after i enter my id login to apple,it wants to ask for credit card .I never had this problem before with my other ipod touch to install apps that r free.Thanx
If you've never used this device with your account, it is most likely a security procedure to verify that it is you using the account on a new device and not someone else hacking your account.
-
PL/SQL TABLE AS OUT ON PROCEDURE CALL AND JDBCTHIN(NEED HELP
How can I pass pl/sql record in and out
and pl/sql tables in out thru a pl/sql procedure using jdbc with
the zip file of 816classes12.zip...
I have tried everything I know...
I know the procedure is working, others are using it with in
Oracle...
I need to use the information it generates.
here is what I have so far...
try
Class.forName ("oracle.jdbc.driver.OracleDriver");
DriverManager.registerDriver (new
oracle.jdbc.driver.OracleDriver());
oracle.jdbc.driver.OracleConnection conn =
(oracle.jdbc.driver.OracleConnection)
DriverManager.getConnection ("jdbc:oracle:thin:@--","NA","NA");
// SQL92 SyntaxCallableStatement
oracle.jdbc.driver.OracleCallableStatement cstmt =
(oracle.jdbc.driver.OracleCallableStatement)conn.prepareCall
("{call cbmd_proposal_PKG.DefaultTerms (?,?,?,?)}" ) ;
cstmt.setString(1,"5118");
cstmt.setString(2,"3");
cstmt.registerOutParameter
(2,oracle.jdbc.driver.OracleTypes.NUMBER);
cstmt.registerOutParameter
(1,oracle.jdbc.driver.OracleTypes.ARRAY,"");
cstmt.execute();
catch(Exception e)
System.err.println(e.toString());
e.printStackTrace();
nullThe "X" in the second registerOutParameter is the type name which
you have created in oracle DB.
eg. if you have created a nested table
create Type integer_table is table of number(10);
then "X" = "INTEGER_TABLE" and it has to be in caps
and other thing to keep in mind is that it only works with nested
table or varray and not with pl/sql table.
Al Pivonka (guest) wrote:
: How can I pass pl/sql record in and out
: and pl/sql tables in out thru a pl/sql procedure using jdbc
with
: the zip file of 816classes12.zip...
: I have tried everything I know...
: I know the procedure is working, others are using it with in
: Oracle...
: I need to use the information it generates.
: here is what I have so far...
: try
: Class.forName ("oracle.jdbc.driver.OracleDriver");
: DriverManager.registerDriver (new
: oracle.jdbc.driver.OracleDriver());
: oracle.jdbc.driver.OracleConnection conn =
: (oracle.jdbc.driver.OracleConnection
: DriverManager.getConnection
("jdbc:oracle:thin:@--","NA","NA");
: // SQL92 SyntaxCallableStatement
: oracle.jdbc.driver.OracleCallableStatement cstmt =
: (oracle.jdbc.driver.OracleCallableStatement)conn.prepareCall
: ("{call cbmd_proposal_PKG.DefaultTerms (?,?,?,?)}" ) ;
: cstmt.setString(1,"5118");
: cstmt.setString(2,"3");
: cstmt.registerOutParameter
: (2,oracle.jdbc.driver.OracleTypes.NUMBER);
: cstmt.registerOutParameter
(1,oracle.jdbc.driver.OracleTypes.ARRAY,"X");
: cstmt.execute();
: catch(Exception e)
: System.err.println(e.toString());
: e.printStackTrace();
: The "X" in the second registerOutParameter is still unknown to
: me.
: The JavaDoc for the
OracleCallableStatement.registerOutParameter
: is not clear.
: Can any One help simplify this...
: Thanks
null -
Indexing multiple columns in multiple tables
I have a multiple tables in which I want to search. I need to do text search that supports fuzzy logic for which I've currently set up a context index using the user_datastore. I also need to search columns such as numbers/dates/timestamps which from what I understand is not supported with the context search. I'm looking at setting up a second index of type ctxcat for this purpose - but I will need to index multiple columns in multiple tables. Is this possible?
Can someone advise on the best way to create indexes and search when a table schema such as the following exists. I've tried to keep it simple by just giving a few example columns and tables.
Order Table
- Has columns related to the order details - order name (varchar2), description (varchar2), date order placed (timestamp), date order completed (date), order amount (number), customer Id
Customer Table
- Has columns related to the customer information - customer name, address, city, state, telephone etc (all varchar2 fields)
Items Table
- Has details about the items being ordered - item name (varchar2), item description (varchar2), cost (number) etc
Order-Item Table
- Table that maps an order to the items in that order - orderId, itemId, quantity
Comments Table
- Logs any comments with the customer - comment description (varchar2), call type (varchar2), comment date (timestamp)
Currently with the Context index, I have it set up so I can search all text columns in all tables for a search term. This works fine.
I now need to be able to do more advanced searches, where I can search for a specific text in all orders as well as orders created after a certain date or orders above a certain amount or orders with a item quantity purchase of more that 10. The text has to be searched across the all text columns in all tables. How can I achieve this with Oracle Text?There was a similar discussion with various ideas that may help you here:
How can I make CONTAINS query work for a date range -
Netbeans - Why do I need to make separate library projects and import?
I'm running through some of the some of the tutorials for netbeans like [acrostic example|http://www.netbeans.org/kb/60/java/javase-intro.html] and I can't seem to grasp the organization.
When and why do I need to create a separate library project and import when the MyApp project I created has a node for libraries?
When and why would I just create another class in MyApp source packages node as opposed to importing the class from a separate library project?
Java's organization seemed simple until I tried the IDE. Help.Thanks so much for the response, I really have been having problems with this.
georgemc wrote:
Well, for starters, a lib project can be shared amongst many other projects. For another, you won't be deploying your app alongside NetBeans, so you'll need to provide all the libraries as well as your app when you do deploy. Having them all kept in a lib project makes this very simpleAfter pondering it I'm comfortable with the idea that MyApp's Library node shows what classes I have imported and that those classes, being custom classes, should be in a separate project.
>
When and why would I just create another class in MyApp source packages node as opposed to importing the class from a separate library project?I don't know. Not really sure what's prompted you to ask this one, to be honest. What do you mean?Ok, bear with me as I try to explain my confusion... If I right click on the Source Packages node of MyApp it presents me with the option to create a new java class. So why not just put all my custom classes and packages in the Source Package node of MyApp instead of putting them in library projects and importing them?
I tried this, assuming all classes within a package would have knowledge of each other, thus obviating import, but that doesn't seem to be the case. Is that it?
>
Java's organization seemed simple until I tried the IDE. Help.Maybe you started using an IDE to soon? They're there to make your life easier. If that's not happening, you don't need it yetI might seem quite green, but I have to dive in to this because the application I am attempting to make requires the nice GUI editing of netbeans and will grow in complexity with time. -
Export to SQL table without outbound synch rule
Experts,
I simply need to put data into an SQL table for temporary transformation. I don't want to use OSR(MPR, set...) since I don't want to apply any rule.
table is very simple:- employeeid(anchored), firstname and lastname.
I configured the MA. selected employeeid as anchor. Selected projection and join rules and also defined attribute flow in MA.
I ran discovery import also. I can import the data from table.
Now how do I get data from metaverse to connector space of SQL MA? I can not export data to table unless see them in CS of MA. Why metaverse objects are not going into CS of MA?
Please suggest.
Thanks,
MannHello,
You can create an SR with a based outbound filter. All object that match the filter will be provisioning to CS SQL (if you do not define filter, all objects will be provisioning).
Or you can create an MVextension rules
Regards,
Sylvain -
Logic for inserting values from Pl/sql table
Hi I'm using Forms 6i and db 10.2.0.1.0
I am reading an xml file using text_io, and extracting the contents to Pl/sql table.
Suppose, the xml
<?xml version="1.0" encoding="UTF-8" ?>
<XML>
<File name="S2_240463.201002170044.Z">
<BookingEnvelope>
<SenderID>KNPROD</SenderID>
<ReceiverID>NVOCC</ReceiverID>
<Password>TradingPartners</Password>
</BookingEnvelope>
</File>
</XML>From this xml, i'm extracting contents to a table of records, say bk_arr, which look like
Tag Val
File name S2_240463.201002170044.Z
SenderID KNPROD
ReceiverID NVOCC
Password TradingPartnersAnd now from this i've to insert into table, say bk_det .
The tag may come in different order, sometimes some additional tags may also come in between,
So i cannot access it sequentially and insert like
Insert into bk_det(file,sndr,rcvr,pswd) values(bk_arr(1).val,bk_arr(2).val....)
The tag name is constant ir for sender id, it will always be SenderID , not something like sndrid or sndid etc..
So if i've to insert to senderid column, then i've to match the tag = SenderID, and take the value at that index in the array.
How best i can do this?
ThanksI am referring to how you are parsing the XML - as you can extract values from the XML by element name. And as the name is known, it's associated value can be inserted easily.
Basic example:
SQL> with XML_DATA as(
2 select
3 xmltype(
4 '<?xml version="1.0" encoding="UTF-8" ?>
5 <XML>
6 <File name="S2_240463.201002170044.Z">
7 <BookingEnvelope>
8 <SenderID>KNPROD</SenderID>
9 <ReceiverID>NVOCC</ReceiverID>
10 <Password>TradingPartners</Password>
11 </BookingEnvelope>
12 </File>
13 </XML>' ) as XML_DOM
14 from dual
15 )
16 select
17 extractValue( xml_dom, '/XML/File/@name' ) as FILENAME,
18 extractValue( xml_dom, '/XML/File/BookingEnvelope/SenderID' ) as SENDER_ID,
19 extractValue( xml_dom, '/XML/File/BookingEnvelope/ReceiverID' ) as RECEIVER_ID,
20 extractValue( xml_dom, '/XML/File/BookingEnvelope/Password' ) as PASSWORD
21 from xml_data
22 /
FILENAME SENDER_ID RECEIVER_I PASSWORD
S2_240463.201002170044.Z KNPROD NVOCC TradingPartners
SQL> Now this approach can be used as follows:
create or replace procedure AddFile( xml varchar2 ) is
begin
insert into foo_files(
filename,
sender_id,
receiver_id,
password
with XML_DATA as(
select
xmltype( xml ) as XML_DOM
from dual
select
extractValue( xml_dom, '/XML/File/@name' ),
extractValue( xml_dom, '/XML/File/BookingEnvelope/SenderID' ),
extractValue( xml_dom, '/XML/File/BookingEnvelope/ReceiverID' ),
extractValue( xml_dom, '/XML/File/BookingEnvelope/Password' )
from xml_data;
end;
/No need for a fantasy called PL/SQL "+tables+". -
Why Index size is bigger than table size?
Dear All,
I found in my database my tables sizes is coming around 30TB (All Tables in Database). and my index size for the same is 60TB. This is data ware housing environment.
How the index size and table size are differing?
Why they are differing? why index size is bigger than table size?
How to manage the size?
Please give me clear explanation and required information on the above.
Regards
SureshThere are many reasons why the total space allocated indexes could be larger than the total space allocated to tables. Sometimes it's a mark of good design, sometimes it indicates a problem. In your position your first move is to spend as little time as possible in deciding whether your high-level summary is indicative of a problem, so you need to look at a little more detail.
As someone else pointed out - are you looking at the sizes because you are running out of space, or because you have a perceived performance problem. If not, then your question is one of curiosity.
If it's about performance then you should be looking for code (either through statspack/AWR or sql_trace) that is performing badly and use the analysis of that code to help you identify suspect indexes.
If it's about space, then you need to do some simple investigations aimed at finding a few indexes that can be "shrunk" or dropped. Pointers for this are:
select
table_owner, table_name, count(*)
from
dba_indexes
group by
table_owner, table_name
having
count(*) > 2 -- adjust to keep the output short
order by
count(*) desc;This tells you which tables have the most indexes - check the sizes of the tables and indexes and then check the index definitions for the larger tables with lots of indexes.
Second quick check - join dba_tables to dba_indexes by table_name, and report the table blocks and index leaf blocks in desending order of leaf block count. Look for indexes which are very big, and also bigger than their underlying tables. There are special cases (and bugs) that can cause indexes to be much bigger than they need to be ... this report may identify a couple of anomalies that could benefit from an emergency fix followed (possibly) by a strategic fix.
Regards
Jonathan Lewis -
Why do we need query rewrite enabled for a function-based index?
Oracle 9i
========
I have searched a few sites but could not find any content on it. The question is why do we need to implement query rewrite enabled when we are trying out a function-based index?
Thanks in advance.You don't, that's a legacy requirement from the early days of function based indexes in Oracle 8i. Here's a quick example running under 9.2.0.6
drop table t1;
create table t1 as
select
from
all_objects
where
rownum <= 30000
create or replace function pl_func(i_vc varchar2)
return varchar2
deterministic
as
begin
return soundex(i_vc);
end;
-- set the worst case scenario
alter session set query_rewrite_enabled = false;
alter session set query_rewrite_integrity = enforced;
create index t1_i1 on t1(pl_func(object_name));
execute dbms_stats.gather_table_stats(user, 't1')
set autotrace traceonly explain
select
object_name
from t1
where pl_func(object_name) = 'T513'
set autotrace offResults (after set feedback off)
SQL> @temp
Execution Plan
Plan hash value: 1429545322
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 27 | 675 | 10 (0)| 00:00:01 |
| 1 | TABLE ACCESS BY INDEX ROWID| T1 | 27 | 675 | 10 (0)| 00:00:01 |
|* 2 | INDEX RANGE SCAN | T1_I1 | 27 | | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - access("TEST_USER"."PL_FUNC"("OBJECT_NAME")='T513')
SQL> spool offRegards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk -
Need help :: how to search in nested table/varray data type
I have the following structure...
CREATE TYPE lang_con AS VARRAY(15) OF VARCHAR2(50);
CREATE TYPE rel_con AS VARRAY(15) OF VARCHAR2(50);
CREATE TABLE Country_n(
"NAME" VARCHAR2(40 BYTE) CONSTRAINT "COUNTRY_NAME_NOTNULL_N" NOT NULL ENABLE,
"CODE" CHAR(2 BYTE),
"CAPITAL" VARCHAR2(40 BYTE),
"PROVINCE" VARCHAR2(40 BYTE),
"POPULATION" NUMBER,
"AREA" NUMBER,
"LANGUAGES" lang_con,
"RELIGIONS" rel_con
after inserting data from 3 different table (country, language, religion) the table looks like this....
Cyprus cy Nicosia Government controlled area 775927 9250 VARCHAR(English,Greek,Turkish) VARCHAR(Greek Orthodox,Muslim)
Czech Republic cz Prague Prague 10246178 78866 VARCHAR(Czech) VARCHAR(Orthodox,Protestant,Roman Catholic)
Germany de Berlin Berlin 82424609 357021 VARCHAR(German) VARCHAR(Muslim,Protestant,Roman Catholic)
Djibouti dj Jibuti Jibuti 466900 23000 VARCHAR(Afar,Arabic,French,Somali) VARCHAR(Christian,Muslim)
Denmark dk Copenhagen Frederiksberg Kommune 5413392 43094 VARCHAR(Danish,Faroese,German,Greenlandic) VARCHAR(Evangelical Lutheran,Muslim)
now I want to get the countries in which german language is being spoken. Actually I need to know how to search in this custom data type of mine....I also need to perform other operation further so really need to know how can I search in this custom data type...
when I execute the following query....
select * from country_n cn where cn.languages like '%German%' order by name
I got the following error....
Error starting at line 1 in command:
select * from country_n cn where cn.languages like '%German%' order by name
Error at Command Line:1 Column:33
Error report:
SQL Error: ORA-00932: inconsistent datatypes: expected NUMBER got AHMADM.LANG_CON
00932. 00000 - "inconsistent datatypes: expected %s got %s"
*Cause:
*Action:
let me know please...looking forward to your replies....
Thanks,Hi,
Try this:
Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
Connected as hr
SQL>
SQL> SELECT t1.*
2 FROM country_n t1,
3 TABLE(t1.languages) t2
4 WHERE column_value LIKE '%German%';
NAME CODE CAPITAL PROVINCE POPULATION AREA LANGUAGES RELIGIONS
Germany de Berlin Berlin 82424609 357021 <Object> <Object>
SQL> Regards, -
Why do we need to code loop statement in both PBO and PAI in Table control
Hi friends,
i have 2 questions-
Q1-why do we need to code a loop and endloop statement in both PBO and PAI in Table control,sometimes even empty as well?
Q2-what r d dynpro keywords?Hi,
It is required to pass information from internal table to table control so we loop it in PBO and to get the updated information back, we loop in PAI and update internal table content.
To get more knowledge on Table controls check these threads -
table control
Table Control
Hope this helps.
ashish -
Why do we need Work Table in ODI???
Hello All,
Please help me on this..
Why do we need Work table in ODI???
Why ODI is creating c$_0table_name (work table)?
Thanks
RavikiranHi,
this is the standard "Load Data" from LKM SQL to SQL
+<%for (int i=odiRef.getDataSetMin(); i <= odiRef.getDataSetMax(); i++){%>+
+<%=odiRef.getDataSet(i, "Operator")%>+
select <%=odiRef.getPop("DISTINCT_ROWS")%>
+ <%=odiRef.getColList(i, "", "[EXPRESSION]\t[ALIAS_SEP] [CX_COL_NAME]", ",\n\t", "", "")%>+
from <%=odiRef.getFrom(i)%>
where (1=1)
+*<%=odiRef.getFilter(i)%>*+
+*<%=odiRef.getJrnFilter(i)%>*+
+<%=odiRef.getJoin(i)%>+
+<%=odiRef.getGrpBy(i)%>+
+<%=odiRef.getHaving(i)%>+
+<%}%>+
as you can see in C$_ you could have some filtered data. If you have got a source table containing invoicing (10kk rows) you could filter last_update column and obtain 1k rows for example and copy only this tiny subset.
Maybe you are looking for
-
Hi Im using ALV OOPS.o/p I have 10 records with checkbox(at user command I have to select record selected by check box). Now on the menu bar I hav a button for "SELECT ALL". If "selected all" 10 recored will be selected. If I filter upon some criteri
-
Load data issue: Job is longrunning on R1P side
Hi All, We are working in the production system. There is one process chain "ZIBWCIMSH" which executes once in a month.This process chain was executed successfully till last month. But in this month the load step in this process chain is not getting
-
1:1 copy of notebook system on netbook
Hello guys, I have synchronised my complete system I'm using on my Thinkpad SL500 on an external hard disk. Now I want to restore the whole system on my Asus EeePC. As they are using completely different hardware I'm not sure whether this is possible
-
CS6 activation says I'm not on internet
Installing CS6 from a new disk, a window appears stating I am not connected to the internet. Code from the packaging was entered, and it appeared to be acceted. The computer actually was connected to the internet at the time with browser running. I w
-
Can Time Machine backup files saved on iDisk?
I keep all of my important files on my iDisk. I upgraded to Leopard and would like to use the benefits of Time Machine to protect those important files, bit don't see a way to include iDisk folders with Time Machine.