Parition table question

Hi,
I have created following table in 9.2 db
create table t select * from dba_objects;
insert into t select * from t;
insert into t select * from t;
commit;
18:24:49 SQL> create table t1
18:24:56 2 partition by range (created)
18:24:56 3 (
18:24:56 4 partition t1_part2004 values less than (to_date('01-JAN-2005', 'DD-MON-YYYY')),
18:24:56 5 partition t1_part9999 values less than (to_date('01-JAN-9999', 'DD-MON-YYYY'))
18:24:56 6 )
18:24:56 7 as
18:24:56 8 select * from t
18:24:57 9 /
When I try to add partition I am getting following error
alter table t1 add partition t1_part2006 values less than (to_date('01-JAN-2006', 'DD-MON-YYYY'))
ERROR at line 1:
ORA-14074: partition bound must collate higher than that of the last partition
How can I do this ?
pl help
thanks & regards
pjp

Hi,
I have created following table in 9.2 db
create table t select * from dba_objects;
insert into t select * from t;
insert into t select * from t;
commit;
18:24:49 SQL> create table t1
18:24:56 2 partition by range (created)
18:24:56 3 (
18:24:56 4 partition t1_part2004 values less than
(to_date('01-JAN-2005', 'DD-MON-YYYY')),
18:24:56 5 partition t1_part9999 values less than
(to_date('01-JAN-9999', 'DD-MON-YYYY'))
18:24:56 6 )
18:24:56 7 as
18:24:56 8 select * from t
18:24:57 9 /
When I try to add partition I am getting following
error
alter table t1 add partition t1_part2006 values less
than (to_date('01-JAN-2006', 'DD-MON-YYYY'))
ERROR at line 1:
ORA-14074: partition bound must collate higher than
that of the last partition
How can I do this ?
pl help
thanks & regards
pjpYou should have Range partitions as follow:
All partiotions must have a upper and lower bound of values except one/two which will have upper/lower bound only. To make it more clarified:
partition 1: values less than 01/01/1999
partition 2: values greater than 12/31/1998 and less than 01/01/2006
partition 3: values greater than 12/31/2005 and less than 01/01/2007
partition 4: values greater than 12/31/2006
Thanks

Similar Messages

  • Table question/problem

    This is an html table question, but since I am working with
    CF on this, I thought I would post here for help.
    I query and cfoutput the data in a table. The table has ten
    columns. The first five are alpha numeric and the last five are
    numeric. The output displays fine.
    What the want to do now is to put a black border around the
    number columns, the last five.
    I tried to make each column its own table, but that just puts
    a box around each value, the columns are not connected.
    How can I do this ?
    Thanks for helping.

    Put a thin black left border in the sixth column and a
    similar right border in the tenth (last) column.
    It is neater and advisable to use CSS.
    <style type="text/css">
    <!--
    .bdrLft {
    border-left-color:#000000;
    border-left-width:thin;
    -->
    </style>
    <td class="bdrLft">
    The inline formatting will look like:
    <td style="border-left-color:##000000;
    border-left-width:thin;">
    Do the same for the top border (last 5 column headers). The
    bottom border may be trickier. The idea is to apply bottom border
    at the last query count. One can do without the top and bottom
    borders, however.

  • How to create a paritioned table from a partitioned table

    I have a paritioned table and I want to create a similar table which should be a partitioned table with the same data.
    Can anyone let me know the way to do it.
    thanks in advance...

    1) create the table with the same ddl (with a name change) as with which the other table was created and then simply INSERT all the data.
    2) export the table and import the table in another schema or database.
    HTH,
    L.

  • Why parition table is different between S10 3/05 and S10 6/06?

    I want to set up RAID 1 (mirroring) using the Solaris Volume Manager (SVM) on my Solaris 10 6/06 x86 machine. I have 2 identical Seagate 40GB HDD's (model ST340016A).
    The partition table on the primary disk was already defined by Solaris 10 3/05 OS before I reinstalled the OS (Solaris 10 6/06). The partition table of the primary disk is as follows:
    leopard $ prtvtoc /dev/rdsk/c0d0s2
    * /dev/rdsk/c0d0s2 partition map
    * Dimensions:
    * 512 bytes/sector
    * 63 sectors/track
    * 32 tracks/cylinder
    * 2016 sectors/cylinder
    * 38771 cylinders
    * 38769 accessible cylinders
    * Flags:
    * 1: unmountable
    * 10: read-only
    * Unallocated space:
    * First Sector Last
    * Sector Count Sector
    * 20984544 57173760 78158303
    * First Sector Last
    * Partition Tag Flags Sector Count Sector Mount Directory
    0 2 00 6048 8390592 8396639 /
    1 3 01 8396640 2098656 10495295
    2 5 00 0 78158304 78158303
    3 7 00 10495296 2098656 12593951 /var
    4 0 00 12593952 4195296 16789247 /opt
    5 8 00 16789248 4195296 20984543 /home
    8 1 01 0 2016 2015
    9 9 01 2016 4032 6047
    It has 38771 cyclinders.
    Now I want to create exactly the same partition table on the secondary disk, but it refuses to match the same partition table to the primary disk. It stills gives 40GB, but the number of cycliners is not the same. Below is the partition table of the secondary disk.
    leopard $ prtvtoc /dev/rdsk/c0d1s2
    * /dev/rdsk/c0d1s2 partition map
    * Dimensions:
    * 512 bytes/sector
    * 63 sectors/track
    * 255 tracks/cylinder
    * 16065 sectors/cylinder
    * 4864 cylinders
    * 4862 accessible cylinders
    * Flags:
    * 1: unmountable
    * 10: read-only
    * Unallocated space:
    * First Sector Last
    * Sector Count Sector
    * 48195 78059835 78108029
    * First Sector Last
    * Partition Tag Flags Sector Count Sector Mount Directory
    2 5 01 0 78108030 78108029
    8 1 01 0 16065 16064
    9 9 00 16065 32130 48194
    leopard $
    It has 4864 cyclinders not 38771. Why?
    You can see the disk dimension is different between these 2 disks. I tried to redefine it to match the primary disk, but it keeps coming back to the different table.
    Do you know why the partition table defined by Solaris 10 6/06 differs to what Solaris 10 3/05 had defined? How do I force the parition table to match with the primary disk? Both disks must match so that SVM would work.
    Can anyone shed any light as to why it happens? Thank you for your help.
    Trevor

    I want to set up RAID 1 (mirroring) using the Solaris Volume Manager (SVM) on my Solaris 10 6/06 x86 machine. I have 2 identical Seagate 40GB HDD's (model ST340016A).
    The partition table on the primary disk was already defined by Solaris 10 3/05 OS before I reinstalled the OS (Solaris 10 6/06). The partition table of the primary disk is as follows:
    leopard $ prtvtoc /dev/rdsk/c0d0s2
    * /dev/rdsk/c0d0s2 partition map
    * Dimensions:
    * 512 bytes/sector
    * 63 sectors/track
    * 32 tracks/cylinder
    * 2016 sectors/cylinder
    * 38771 cylinders
    * 38769 accessible cylinders
    * Flags:
    * 1: unmountable
    * 10: read-only
    * Unallocated space:
    * First Sector Last
    * Sector Count Sector
    * 20984544 57173760 78158303
    * First Sector Last
    * Partition Tag Flags Sector Count Sector Mount Directory
    0 2 00 6048 8390592 8396639 /
    1 3 01 8396640 2098656 10495295
    2 5 00 0 78158304 78158303
    3 7 00 10495296 2098656 12593951 /var
    4 0 00 12593952 4195296 16789247 /opt
    5 8 00 16789248 4195296 20984543 /home
    8 1 01 0 2016 2015
    9 9 01 2016 4032 6047
    It has 38771 cyclinders.
    Now I want to create exactly the same partition table on the secondary disk, but it refuses to match the same partition table to the primary disk. It stills gives 40GB, but the number of cycliners is not the same. Below is the partition table of the secondary disk.
    leopard $ prtvtoc /dev/rdsk/c0d1s2
    * /dev/rdsk/c0d1s2 partition map
    * Dimensions:
    * 512 bytes/sector
    * 63 sectors/track
    * 255 tracks/cylinder
    * 16065 sectors/cylinder
    * 4864 cylinders
    * 4862 accessible cylinders
    * Flags:
    * 1: unmountable
    * 10: read-only
    * Unallocated space:
    * First Sector Last
    * Sector Count Sector
    * 48195 78059835 78108029
    * First Sector Last
    * Partition Tag Flags Sector Count Sector Mount Directory
    2 5 01 0 78108030 78108029
    8 1 01 0 16065 16064
    9 9 00 16065 32130 48194
    leopard $
    It has 4864 cyclinders not 38771. Why?
    You can see the disk dimension is different between these 2 disks. I tried to redefine it to match the primary disk, but it keeps coming back to the different table.
    Do you know why the partition table defined by Solaris 10 6/06 differs to what Solaris 10 3/05 had defined? How do I force the parition table to match with the primary disk? Both disks must match so that SVM would work.
    Can anyone shed any light as to why it happens? Thank you for your help.
    Trevor

  • SQL and External table question

    Hello averyone,
    I have a file to be read as an external table part of it is below:
    ISO-10303-21;
    HEADER;
    FILE_DESCRIPTION((''),'2;1');
    FILE_NAME('BRACKET','2005-07-08T',('broilo'),(''),
    'PRO/ENGINEER BY PARAMETRIC TECHNOLOGY CORPORATION, 2004400',
    'PRO/ENGINEER BY PARAMETRIC TECHNOLOGY CORPORATION, 2004400','');
    FILE_SCHEMA(('CONFIG_CONTROL_DESIGN'));
    ENDSEC;
    DATA;
    #5=CARTESIAN_POINT('',(5.5E0,5.5E0,-5.1E1));
    #6=DIRECTION('',(0.E0,0.E0,1.E0));
    #7=DIRECTION('',(-1.E0,0.E0,0.E0));
    #8=AXIS2_PLACEMENT_3D('',#5,#6,#7);
    The first question is: how to ignore the lines until the DATA; line or SQL already does it for me?
    The second question is: since the fields of interest are separated by commas and the first field does not interest me (it is solved with a varchar2) how can I read the following fields as numbers ignoring the (,# and ) characters please?
    Thanks for any help.
    Sincerely yours,
    André Luiz

    The SKIP option can be used with SQL*Loader to skip a certain number of lines before starting to load. Off hand I cannot see any easy way to load the data in the format given. The format does not resemble a typical CVS format. You can look at the test cases provided for SQ*Loader in the Oracle® Database Utilities guide - or simply write PL/SQL code to load this data manually using UTL_FILE.

  • Parent child table question

    HI i have some questions which iam unclear please help me
    1) in a parent child relationship.. is it always 1-m relation from parent to child?
    2) can a parent table be on many side? i.e can a child - parent be 1- m?
    3) if i itake employee as child table and department as parent table then dept_id will be the foreigh key in employee table ...
    Now if i want to add a new employee who is not assigned to any department can i add it ?
    4) In an identifying relationship ... a child table has concatenated primary key (pk of child,pk of parent)
    should we still add any other primary key to the table....in addition to this concatenated key?
    thanks in advance
    raj

    Hi!
    1) in a parent child relationship.. is it always 1-m relation from parent to child?
    yes unless you create a unique index on the foreign key column
    2) can a parent table be on many side? i.e can a child - parent be 1- m?
    no, if you need an n-m you will need an intersection table
    e.g. employees - emp_dept - departments
    in this case the emp_dept table would contain the foreign keys of employees and departments
    3) if i itake employee as child table and department as parent table then dept_id will be the foreigh key in employee table ...
    Now if i want to add a new employee who is not assigned to any department can i add it ?
    no, you will have to insert the master first
    Best regards,
    PP

  • Internal table question

    Hi Everybody-
    I am very new to SAP and i have question regarding internal tables. I have struture called "ZMI_VENDOR_TO_BW_GENERIC_V_TAB" which i get from another sap system thru SAP XI. Now i need to traverse thru this structure  and add these values into custom database table. So i have declared an internal table like below
    <b>data:itab_venkat type ZMI_VENDOR_TO_BW_GENERIC_V_TAB occurs 10.
      data vendorid type c.
      itab_venkat = Input-Generic_Vendor-Generic_Vendor_Record1.
      LOOP AT itab_venkat.
      vendorid = itab_venkat-generic_vendor_id1.
    endloop.
    </b>
    i am getting an error saying occurs cannot be used and also getting an error at the loop statement, Can somebody please correct me, i am very new to SAP.in the loop i am getting the vendor id and then i should update the database table.
    Please help me.
    Thank you
    Venkat

    hi venkat,
    check these links..
    http://cma.zdnet.com/book/abap/index.htm
    http://www.sapdevelopment.co.uk/
    http://www.sap-img.com/
    http://juliet.stfx.ca/people/fac/infosys/abap.htm
    http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/d6/0db357494511d182b70000e829fbfe/frameset.htm
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://www.sapgenie.com/abap/example_code.htm
    http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
    http://www.sap-img.com/abap-function.htm
    http://www.sapgenie.com/abap/code/abap19.htm
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.planetsap.com/Tips_and_Tricks.htm
    http://help.sap.com/saphelp_40b/helpdata/ru/d6/0dc169494511d182b70000e829fbfe/applet.htm
    http://www.henrikfrank.dk/abapexamples/SapScript/symbols.htm
    http://www.henrikfrank.dk/abapexamples/index.html
    http://sap.ittoolbox.com/documents/document.asp?i=752
    http://members.aol.com/_ht_a/skarkada/sap/
    http://sappoint.com/abap/
    http://members.tripod.com/abap4/SAP_Functions.html
    http://members.ozemail.com.au/~anmari/sap/index.html
    http://www.planetsap.com/Userexit_List.htm
    http://www.planetsap.com/Tips_and_Tricks.htm
    http://www.kabai.com/abaps/q.htm
    http://www.planetsap.com/Userexit_List.htm
    http://help.sap.com/saphelp_bw21c/helpdata/en/c4/3a8090505211d189550000e829fbbd/frameset.htm
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm
    http://www.sap-basis-abap.com/index.htm
    http://help.sap.com/saphelp_40b/helpdata/en/fc/eb2c46358411d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/aa/aeb23789e95378e10000009b38f8cf/frameset.htm
    http://www.geocities.com/ResearchTriangle/1635/system.html
    http://www.sapdesignguild.org/resources/MiniSG/3_Managing/3_Functions_Table_Control.htm
    http://help.sap.com/saphelp_45b/helpdata/en/d1/801bdf454211d189710000e8322d00/content.htm
    http://www.sapfans.com/sapfans/repos/saprep.htm
    http://www.planetsap.com/howdo_a.htm
    http://help.sap.com/saphelp_util464/helpdata/en/69/c2516e4ba111d189750000e8322d00/content.htm
    http://www.sapgenie.com/abap/smartforms_detail.htm
    http://www.sap-img.com/abap.htm
    http://help.sap.com/saphelp_46c/helpdata/en/fc/eb2d67358411d1829f0000e829fbfe/content.htm
    http://www.geocities.com/victorav15/sapr3/abap.html
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://abap4.tripod.com/Other_Useful_Tips.html
    http://help.sap.com/saphelp_45b/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    http://www.sap-basis-abap.com/sapmm.htm
    http://sap.ittoolbox.com/nav/t.asp?t=303&p=448&h1=303&h2=322&h3=448
    http://sapfans.com/
    http://cma.zdnet.com/book/abap/ch03/ch03.htm
    http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
    http://sappoint.com/abap/
    http://www.henrikfrank.dk/abapuk.html
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://www.sapgenie.com/abap/index.htm
    http://www.sap-img.com/abap.htm
    http://www.sapdevelopment.co.uk/tips/tipshome.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://sap.ittoolbox.com/nav/t.asp?t=322&p=322&h1=322
    http://sap.ittoolbox.com/nav/t.asp?t=448&p=448&h1=448
    http://www.thespot4sap.com/
    http://www.kabai.com/abaps/q.htm
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapgenie.com/abap/tips_and_tricks.htm
    http://www.sapassist.com/code/d.asp?whichpage=1&pagesize=10&i=10&a=c&o=&t=&q=&qt=
    For FAQ
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.sapgenie.com/faq/abap.htm

  • Temp table Question

    In Oracle... can we use temp tables in procedures??? what would be the performance issue if I use a temp table in procedure?? After the procedure is run.. how can I assure that the temp table is deleted???

    Hi,
    You have miss interpreted Justin. He clearly replied all your questions which you have highlight in you 2nd post. You can use global temporary table in procedures but nto in manner in which you are using.
    First of all your creation of temporary table inside a procedure is wrong. Create this table at SQL> prompt, as you create normal tables.
    I don't see any requirment in which you have to create a table inside a procedure. The thing you are trying is not logical. Secondlly, you are firing a DDL statement inside a procedure so, you have to EXECUTE_IMMEDIATE.
    Now, we come back to temporary table. You create temporary table on the SQL> prompt and use this table in your procedure as normal table. Perform any insert, update or delete on this table. Different user who perform DML on this table will have their own copy of data, means every user working on temporary table has it own copy of data.
    Regarding the delete of data. You dont' have to worry bout this as oracle itself truncate data from temporary table when user finised with his session.
    Any other doubt on temporary tables welcomed........

  • Filter Table question

    Question regarding 'local menu | Filter Table' option.
    I have a long sheet (1000+ entries) that has customer names in a column.  There is over 200 distinct customers in this column.  However, when I choose the above option, it only shows 25 names.
    Is this a known limit?  If so, is it possible to change the names that show on the list, so the most frequent / common names are shown?
    Just looking for a quick on-the-fly quick filtering which I do dozens of times per day.
    P.S  Trying to switch from Excel for Mac which does have this capability.
    Thanks
    Nick

    I am just wondering if there is a hard limit of 25 entries that are shown, no matter how many different names there are. 
    It appears that the maximum number is 25 entries in the dropdown filter list. However, you can filter on any value you want via Edit Table Filters in the dropdown or by clicking the Filter icon upper right.
    SG

  • Basic table question - include empty rows

    Hi msdn,
    I create SSRS reports for MS CRM 2011 in Visual Studio Shell 2010 (SQL Server 2012).
    For
    my Dataset, i use fetch xml from the crm. 
    I'm currently creating a report which  should list all the lost opportunities from one year grouped by the reason(statuscode)
    of their loss.
    The table below is working but it doesn't include "empty statuscodes"(Reasons with no opportunities attached to
    it)
    (Stückzahl 2013 = number of opportunities) (Angebotssumme 2013= Sum of all opportunities in CUR)
    I have a list in my crm with all the possible reasons, a number of  25 Statuscodes.
    I want them all to appear in the table and when there is no lost opportunity linked to it, just display a 0.
    Below is my dataset query and as you see, i select the opportunity first and statuscode is a field in it
    <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true">
    <entity name="opportunity">
    <attribute name="name" />
    <attribute name="customerid" />
    <attribute name="estimatedvalue" />
    <attribute name="statuscode" />
    <attribute name="opportunityid" />
    <order attribute="name" descending="false" />
    <filter type="and">
    <condition attribute="statecode" operator="eq" value="2" />
    <condition attribute="statuscode" operator="not-null" />
    <condition attribute="estimatedvalue" operator="not-null" />
    <condition attribute="actualclosedate" operator="not-null" />
    </filter>
    <link-entity name="new_automatisierung" from="new_verkaufschance" to="opportunityid" alias="ae"></link-entity>
    </entity>
    </fetch>
    So my question is which possibilities i have to achive my goal?
    Is it even possbile with this dataset?
    I hope i made it clear enouth for you guys to understand. As you can see, im fairly new to SSRS.
    Thank you in advance

    Hi there,
    You may need two queries to do this, #1 to retrieve status codes & opportunities and #2 above query to get details.  Bind the table to #1 query.  Then use lookup or lookupset function to retrieve results from #2.
    http://technet.microsoft.com/en-us/library/ee210531.aspx
    You might have more luck in Dynamics forum.
    http://community.dynamics.com/crm/f/117/t/108149.aspx
    cheers,
    Andrew
    Andrew Sears, T4G Limited, http://www.performancepointing.com

  • Transaction PP02 / HRP1001 table question

    Hi Friends,
    We're creating new objects under different categories (example., Department, Operating Unit) in transaction PP02. I have the following questions in regards with this?
    1. Is the information stored in the backend in database tables HRP1000 / HRP1001 / HRP1002?
    2. How can we differentiate between the objects stored in different category (example., Department, Operating Unit). FYI... all of these categories are having same plan version, object type, infotype, subtype, and planning status.
    Regards,
    Aman

    Hi,
    Why can't you simply make use of short text and long text within infotype 1000? You could use, for instance, D or OU to distinguish. For example: D - Sales, OU - Procurement etc.
    Infotype 1003 serves a different purpose. Per my knowledge, it allows you to flag objects that do not take part in normal reporting. It influences how objects appear in a structure (side-by-side vs hierarchy). Please check the following SAP help on it:
    http://help.sap.com/erp2005_ehp_04/helpdata/en/bb/bdb282575911d189240000e8323d3a/frameset.htm
    Infotype 1002 is helpful but it will just add to user maintenance. Also, the descriptions are not stored in HRP1002. You have to pick the reference number (TABNR) for an entry and then read HRT1002 to get the description from field TLINE.
    HRP1000 on the other hand stores short text and long text, so it is easier to read and report on. Short text and long text also appear when you view the structure through PPOSE and also available on user record on IT0001.
    Hope this helps.
    Donnie

  • Oracle Pl/Sql table question..

    Hi guys,
    I have an Oracle PL/SQL question. I don't
    know which board can i ask it. This is why
    i am asking here.
    I declare a PL/SQL table(traditional array),
    and populate it in a session. Another user logged on with another session and wanted to access this PL/SQL table data, But He/she received "No Data Found".
    Is the PL/SQL table session scope?
    Pl/Sql table declared in Package Spec
    and the procedures to populate and
    access the data in/from this Pl/Sql table
    are coded in package body.
    Thanks...Ali
    null

    Hi guys,
    I have an Oracle PL/SQL question. I don't
    know which board can i ask it. This is why
    i am asking here.
    I declare a PL/SQL table(traditional array),
    and populate it in a session. Another user logged on with another session and wanted to access this PL/SQL table data, But He/she received "No Data Found".
    Is the PL/SQL table session scope?
    Pl/Sql table declared in Package Spec
    and the procedures to populate and
    access the data in/from this Pl/Sql table
    are coded in package body.
    Thanks...Ali
    null

  • Extenal Table question..

    Hi everyone,
    I am new to working on "EXTERNAL TABLES".Is it possible to add another column(which is not
    in the flat file) with a "defalut value" ?
    I am just trying to create a simple "EXTERNAL TABLE"..
    question 1
    ==========
    EX:
    ===
    Flat file that i get will be like this (sample)
    ENG,England,English
    SCO,Scotland,English
    IRE,Ireland,English
    WAL,Wales,Welsh
    If i create a external table like the following everyting would be fine..
    CREATE TABLE countries_ext (
      country_code      VARCHAR2(5),
      country_name      VARCHAR2(50),
      country_language  VARCHAR2(50)
    ORGANIZATION EXTERNAL (
      TYPE ORACLE_LOADER
      DEFAULT DIRECTORY ext_tables
      ACCESS PARAMETERS (
        RECORDS DELIMITED BY NEWLINE
        FIELDS TERMINATED BY ','
        MISSING FIELD VALUES ARE NULL
          country_code      CHAR(5),
          country_name      CHAR(50),
          country_language  CHAR(50)
      LOCATION ('Countries1.txt','Countries2.txt')
    PARALLEL 5
    REJECT LIMIT UNLIMITED;
    but i need another column with a "default value" "N"  which is not in flat file
    CREATE TABLE countries_ext (
      country_code      VARCHAR2(5),
      country_name      VARCHAR2(50),
      country_language  VARCHAR2(50)
    ORGANIZATION EXTERNAL (
      TYPE ORACLE_LOADER
      DEFAULT DIRECTORY ext_tables
      ACCESS PARAMETERS (
        RECORDS DELIMITED BY NEWLINE
        FIELDS TERMINATED BY ','
        MISSING FIELD VALUES ARE NULL
          country_code      CHAR(5),
          country_name      CHAR(50),
          country_language  CHAR(50)
        -- Valid_flag default value "N"  Is it possible to add this
                                         column while creating the external table?
                                         this column is not there in the flat file.
      LOCATION ('Countries1.txt','Countries2.txt')
    PARALLEL 5
    REJECT LIMIT UNLIMITED;
    quetion2
    ========
    LOCATION ('Countries1.txt','Countries2.txt')
    I have multiple files (around 150) which are in the same format.
    Do i have to mention all the file names in the location clause? if i have to create a table
    on those 150 file?
    Ex  LOCATION ('Countries1.txt','Countries2.txt','Countries3.txt','Countries4.txt','Countries5.txt','Countries6.txt','Countries7.txt','Countries8.txt', and so on....)
    or
    Is it possible to put (countries*.txt)?sorry if this topic have discussed somewhere in the forum.
    Thanks
    phani

    Hi Hoek,
    thanks for the reply...
    You could also just select an extra 'N' when selecting from your external table:You are correct hoek..we can do like that too..but i would like to know is it possible to
    have that column in the table itself ?
    ex: when creating the external table..something like the following
    valid_flg  default value 'N'  Is it possible to put (countries*.txt)?
    Just give it a try?
    I tried it before posting this forum..it is not taking the file names like that...and it is throwing error..
    is there any other option to specify multiple files?thanks
    phani

  • Older Business HTML and Dynamic Page Table question

    I am not sure if anyone will know here (or if this is the best place to post), but I have a question concerning using the Business HTML template library controls/API for use with ITS. I am attempting to use the "Dynamic Page Table" control, and have hit some problems. Does anyone have any example code they can share on getting this to work correctly (ie, paging through records, selecting from rows, etc)? I have "torn apart" the underlying Javascript and even modified my code to adjust for some formatting issues that the API's do not handle, however, my "pages" all display at once in the beginning and only hide when I use one of the paging icons (forward,back,all back, etc). THe "isVisible" parameter seems to do nothing for the "page" DIVs. Currently running the latest version of ITS and R/3 4.6b on the backend if that helps. Also, the example from the SAP Design Guild cookbook is very basic and does not "page" as I need. Thanks in advance!
    CSolomon

    Check the following Tables
    FND_FORM_CUSTOM_RULES
    FND_FORM_CUSTOM_SCOPES
    FND_FORM_CUSTOM_ACTIONS
    FND_FORM_CUSTOM_PARAMS

  • Basic table question

    Sorry for the basic question, but what I am trying to figure
    out is the best way to do something. I have a main table and I want
    to insert a table into it for a nav bar about 1/4 of the way down
    on the main table. I am wondering which of these 3 ways to "best"
    do it, all 3 I have played with do but I am wondering the best way:
    1 - place it to align at the top and hit the return key
    before until is down to where I want it
    2 - place a empty table above it and make the height of it an
    amount to push the nav bar table down to where I want it
    3 - place it to center align and then use a margin on the
    bottom to push it up to where I want it
    Thanks.

    614mike wrote:
    > Sorry for the basic question, but what I am trying to
    figure out is the best
    > way to do something. I have a main table and I want to
    insert a table into it
    > for a nav bar about 1/4 of the way down on the main
    table. I am wondering which
    > of these 3 ways to "best" do it, all 3 I have played
    with do but I am wondering
    > the best way:
    >
    > 1 - place it to align at the top and hit the return key
    before until is down
    > to where I want it
    Definately NO
    > 2 - place a empty table above it and make the height of
    it an amount to push
    > the nav bar table down to where I want it
    Height is invalid so NO
    > 3 - place it to center align and then use a margin on
    the bottom to push it up
    > to where I want it
    Nearly. Why don't you align it to the top and use a top
    margin to push
    it down....that's more logical.
    Use some css like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <title>Untitled Document</title>
    <style type="text/css">
    #mainTable td {
    background-color: #CCCCCC;
    #menuHolder {
    margin-top: 100px;
    #menuHolder td {
    background-color: #99CC99;
    </style>
    </head>
    <body>
    <table id="mainTable" width="730" border="0"
    cellspacing="0"
    cellpadding="0">
    <tr>
    <td valign="top">
    <table id="menuHolder" width="730" border="0"
    cellspacing="0"
    cellpadding="0">
    <tr>
    <td>Menu</td>
    </tr>
    </table>
    <p>Other Content</p>
    <p>Other Content</p>
    <p>Other Content</p>
    <p>Other Content</p>
    <p>Other Content</p>
    <p>Other Content</p>
    <p>Other Content</p>
    <p>Other Content</p>
    <p>Other Content</p>
    <p>Other Content</p>
    <p>Other Content</p>
    <p>Other Content</p>
    <p>Other Content</p>
    </td>
    </tr>
    </table>
    </body>
    </html>

Maybe you are looking for

  • Is it possible to install an app obtained via a MicroSD card or Bluetooth?

    Suppose I'm in an area where there is very little Wi-fi or other internet access (e.g. rural Papua New Guinea). Or, an area where the internet is strictly controlled or monitored. So the Marketplace is not an option. People around me are using their

  • Leopard & Sony DSC T50 Camera - Slow Import of Photos

    I have a Sony DSC T50 Camera and a Powerbook G4 running Leopard. Under Tiger, importing photos from my camera was fast and easy. Under Leopard, the function is so degraded as to be unusable. 20 minutes to rully ready the contents of the Memory Stick

  • Anyone found a solution to the "malfunctioned/cpu not recognizing" for a Micro/Mpho

    Has anyone figured out the solution to this? Hey. I'm sure everyone is going to ask me the questions that really don't help you solve the problem, so I will pre-empti'vely go ahead and tell ya. Microphoto 8gb Firmware 0.0.65 (the one that was origina

  • Comparing two sentences

    Hello all, I have a text file in the following format it has two lines Shop_Evaporator_Item1     Shop_EvaGap_Item1     Shop_Housing_Item1     Shop_EvaPort_Item1      Evaporator     EvaGap     Housing     My aim is to truncate the first line in such a

  • Workflow For Archiving Projects

    I'd like to get some suggestions for a good archiving workflow. Backing-up audio, video, graphics, text, motion files etc. In the past I backed up to DVD and would like to continue in this fashion. Thanks for the ideas. kj G5   Mac OS X (10.4.5)   2.