Bulk Binding-How to avoid naming all columns

When using Bulk Binds for inserts/updates,One has to explicitly use all column names in declaration.This is maint intensive as
addition of any colum will require changes in code at multiple locations.
Is there any way to reference the columns though other means(such as records)?
thanks

Zia wrote:
1) I have a detail report which contains more than 100 thousands rows. This report is already on menu and available to users. User have got an option on menu that they can select output either 'screen' or 'spreadsheet'. If user select option as 'spreadsheet', report open in excel file but in old excel and truncating excessive rows as .xls have limitation of maximum 65 thousands rows. I do not want to use 'csv' format as directly conversion into excel is more convinient for users. If report contains less than 65 thousands rows then everything is fine and no issues with the report. I hope I could explain real problem this time.65 thousands rows is the limitation of that version u use. I use Microsoft Office 2010 where limitation is 1048576 is a sheet.
One solution is uninstall the present Office version and use Office 2010.
2) Regarding second point, I have a summary report which is all fine and showing desired output in desired format. But when user want output in excel file, some of report columns occupy more than one columns and causing difficulties for users. Actually users do need to convert few reports into excel and work with formulas in excel but in this situation they have to do lots of changes in format before applying formulas. A sample screen shot of a report and converted report in excel file both can be seen on this link [https://skydrive.live.com/?cid=573511bde4261fe6#cid=573511BDE4261FE6&id=573511BDE4261FE6%21120]
I'm not sure about the solution. Most probably you have more space in repeating frame and cause this thing happen. shorter the space in the frame and try.
Hope this will help you.

Similar Messages

  • Bulk Binds-How to avoid naming all columns?

    When using Bulk Binds for inserts/updates,One has to explicitly use all column names in declaration.This is maint intensive as
    addition of any colum will require changes in code at multiple locations.
    Is there any way to reference the columns though other means(such as records)?
    thanks

    Zia wrote:
    1) I have a detail report which contains more than 100 thousands rows. This report is already on menu and available to users. User have got an option on menu that they can select output either 'screen' or 'spreadsheet'. If user select option as 'spreadsheet', report open in excel file but in old excel and truncating excessive rows as .xls have limitation of maximum 65 thousands rows. I do not want to use 'csv' format as directly conversion into excel is more convinient for users. If report contains less than 65 thousands rows then everything is fine and no issues with the report. I hope I could explain real problem this time.65 thousands rows is the limitation of that version u use. I use Microsoft Office 2010 where limitation is 1048576 is a sheet.
    One solution is uninstall the present Office version and use Office 2010.
    2) Regarding second point, I have a summary report which is all fine and showing desired output in desired format. But when user want output in excel file, some of report columns occupy more than one columns and causing difficulties for users. Actually users do need to convert few reports into excel and work with formulas in excel but in this situation they have to do lots of changes in format before applying formulas. A sample screen shot of a report and converted report in excel file both can be seen on this link [https://skydrive.live.com/?cid=573511bde4261fe6#cid=573511BDE4261FE6&id=573511BDE4261FE6%21120]
    I'm not sure about the solution. Most probably you have more space in repeating frame and cause this thing happen. shorter the space in the frame and try.
    Hope this will help you.

  • How I can sort all columns alphabetically? in Itunes

    How I can sort all columns alphabetically? in Itunes

    I have the same problem.
    I've went through the pains of merging all chapters into one big file for each and every audiobook, so that at least the chapters don't get played in random order. Month and month of work….. In iTunes 12.01. I can now order my audiobooks by title or by author.
    But once they're uploaded to my blo*dy expensive iPhone 6Plus 128 (which I bought especially to have all my music and my audiobooks on one device) my audiobooks are NOT sorted by author, but by Title.
    So, let's say I have 15 books by Ken Follet, they don't appear as Ken Follet > Title of the book but they are sorted alphabetically with all the other titles of other authors.
    iPods where originally designed for music and audiobooks, but each and every version of iOS makes handling your music and especially your audiobooks harder and harder….
    I am very disappointed and after so many years of using apple, I am considering to move on to android devices.

  • How to Rename the "All Column Values" in Propmt for 11 G.

    Hello,
    i have one Requirement where i have to change the "All Column values" label to custom label.
    I know how to do in 10 g but as here in 11g the oracle directory structure is changed.
    if anyone have idea how to do this?
    Thanking you..

    Hi Veer,
    I think "kmsgPromptRunTimeDropdownAllChoices" is the identifier which will pick up this value from a messages file. Request you to search for this string in Oracle_BI1\bifoundation\web folder's files if you can get one.
    Hope this helps.
    Thank you,
    Dhar

  • How can i update all column of table without know it's structure

    hi to all
    i want to make update to all columns of table with record type of this table
    ex- consider the emp table and contain any number of columns
    and you make record is row type of this table (emp) as emp_rec
    and fech in it any record by select * from emp
    and i want to update another record this the return record from data base as
    update emp by using the emp_rec
    i want to know how this will be acheive

    It is all written in the docs:
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/collections.htm#i20479
    Although updating all columns for a table is VERY, VERY BAD practice.
    Gints Plivna
    http://www.gplivna.eu

  • URGENT!! How to avoid paint all the components?

    In the following code sample, when you move the mouse, the top-level JPanel (with the name p) repaints itself with a red circle. The strange thing is that also the 4 JButtons repaint themselves!! (this is shown by the System.out). If the container of the 4 JButtons and the "p" had too many components, then the repaint of "p" gets very slow!! If i delete the line "super.paintComponent(g)" in the class "Myb", then the JButtons do not show correctly.
    How can i avoid that the 4 JButtons do not repaint themselves all the time?
    import javax.swing.*;
    import java.awt.*;
    public class Fr extends javax.swing.JFrame {
        private javax.swing.JPanel p;
        private Ap ap1;
        private Myb b4;
        private Myb b3;
        private Myb b2;
        private Myb b1;
        public Fr() {
            p = new javax.swing.JPanel();
            ap1 = new Ap();
            b1 = new Myb();
            b2 = new Myb();
            b3 = new Myb();
            b4 = new Myb();
            addWindowListener(new java.awt.event.WindowAdapter() {
                public void windowClosing(java.awt.event.WindowEvent evt) {
                    System.exit(0);
            p.setLayout(null);
            p.setBackground(new java.awt.Color(153, 153, 0));
            p.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
                public void mouseMoved(java.awt.event.MouseEvent evt) {
                    ap1.repaintWith(SwingUtilities.convertPoint(p,evt.getPoint(),ap1));
            ap1.setFont(new java.awt.Font("Dialog", 0, 11));
            ap1.setOpaque(false);
            p.add(ap1);
            ap1.setBounds(-10, -40, 500, 500);
            b1.setText("b1");
            p.add(b1);
            b1.setBounds(0, 0, 150, 150);
            b2.setText("b2");
            p.add(b2);
            b2.setBounds(0, 150, 150, 150);
            b3.setText("b3");
            p.add(b3);
            b3.setBounds(150, 0, 150, 150);
            b4.setText("b4");
            p.add(b4);
            b4.setBounds(150, 150, 150, 150);
            getContentPane().add(p, java.awt.BorderLayout.CENTER);
            pack();
            java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
            setSize(new java.awt.Dimension(500, 500));
            setLocation((screenSize.width-500)/2,(screenSize.height-500)/2);
        public static void main(String args[]) {
            new Fr().show();
    class Ap extends JPanel
        private Point p;
        public Ap(){
            super();
            p = new Point(10,10);
        public void repaintWith(Point p){
            this.p = p;
            repaint();
        public void paintComponent(Graphics g) {
            super.paintComponent(g);
            g.setColor(Color.red);
            g.fillOval(p.x-5,p.y-5,10,10);
    class Myb extends JButton
        int x = 0;
        public Myb() {
            super();
        public void paintComponent(Graphics g) {
            super.paintComponent(g);
            System.out.println(getText()+"-->"+(x++));
    }

    I did that, but still nothing!
    I inserted these lines!
            JPanel subp = new javax.swing.JPanel();
            subp.setBorder(new javax.swing.border.LineBorder(Color.blue, 2));
            subp.setOpaque(false);
            p.add(subp);
            subp.setBounds(200, 0, 200, 200);
            ap1.setOpaque(false);
            subp.add(ap1);
            ap1.setBounds(200, 0, 200, 200);

  • Simple index (How to view data(all columns) of an index in toad)

    Hi All,
    I am training myself on sql tuning and over the years I have seen ppl creating many indexes, today I am trying to learn various types of indexes and just curious to see physical data in an index but I am not able to do so on toad, I know if I have some index def like:
    create index employees_employee_id on employees(employee_id)
    my index would have two columns of information : first rowid and employee_ids in sorted order, right ? <- if my understanding is not right could any1 please correct me here.
    PS: The major problem is to see physical index data in toad, please help me with it.
    Many thanks
    Rahul

    There is no SELECT query that could be written over an index. But a SELECT query on a TABLE can be in such a way that Oracle only scans the index and give you the information
    Here is an example.
    SQL> create table t
      2  (
      3    no integer
      4  );
    Table created.
    SQL> create index t_idx on t(no);
    Index created.
    SQL> insert into t       
      2  select level
      3    from dual connect by level <= 10;
    10 rows created.
    SQL> commit;
    Commit complete.
    SQL> alter table t modify no not null;
    Table altered.
    SQL> exec dbms_stats.gather_table_stats(user, 'T', cascade=>true)
    PL/SQL procedure successfully completed.
    SQL> select rowid, no from t;
    ROWID                      NO
    AAFrZaABMAAAiKKAAA          1
    AAFrZaABMAAAiKKAAB          2
    AAFrZaABMAAAiKKAAC          3
    AAFrZaABMAAAiKKAAD          4
    AAFrZaABMAAAiKKAAE          5
    AAFrZaABMAAAiKKAAF          6
    AAFrZaABMAAAiKKAAG          7
    AAFrZaABMAAAiKKAAH          8
    AAFrZaABMAAAiKKAAI          9
    AAFrZaABMAAAiKKAAJ         10
    10 rows selected.
    SQL> select * from table(dbms_xplan.display_cursor);
    PLAN_TABLE_OUTPUT
    SQL_ID  35mwb1b3fpfrh, child number 0
    select rowid, no from t
    Plan hash value: 3354442786
    | Id  | Operation        | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT |       |       |       |     1 (100)|          |
    |   1 |  INDEX FULL SCAN | T_IDX |    10 |    30 |     1   (0)| 00:00:01 |
    13 rows selected.
    Actually in this case i have queried the INDEX

  • How to avoid changing all the document with alignment change

    I want to change one paragraph as centered alignment, but not change the rest of the document. How?

    Just select whatever you want to format and not the rest. If it is just the one paragraph just click any where in it.
    The alignment formatting is on your toolbar, in the text inspector and under the Format menu > Text.
    Peter

  • How to loop through all columns of row parameter in "Public override void Input0_ProcessInputRow(Input0Buffer Row)" method

    Hi,
    I have flat files whose data I am going to insert in table. I have primary contrain on my table. If any row voilet primary key contrain then I am redirecting that row to Error table. For this purpose I am using script component. With the help of below method
    I am getting error discription but I want error row also. Can anyone help me to get error row with the help of below method.
    Public override
    void Input0_ProcessInputRow(Input0Buffer
    Row)
    Thanks

    When you write the records to your destination using a Destination Data flow object, you can redirect the bad records from the destination task to another table (error log table in your case). The redirected row will have the error code and the row detail.
    example handling error rows ssis
    The Codeplex XMLIFY component will allow you to transform the bad record into an xml
    Regards, Dinesh

  • How to select all columns in a trigger?

    I add a "before delete" trigger on a table, in order to insert the records to a backup table before they are deleted.
    but I cannot write like this : insert into t_backup select * from :old;
    The table has more than 30 columns so I don't want to select them one by one, how can I select all columns?

    Yes, it is possible by writing something like this :
    where col1 = :old.col1; But it is not directly supported. First, we need a package to remember all the OLD records:.... and please see below link for complete code in action :
    http://www.dbforums.com/oracle/925729-trigger-back-up-data.html
    What I am doing here, just copying the code and replacing "emp" with "test" (The table name on which I am going to apply this using notepad find and replace):
    SQL> select * from test_backup;
    no rows selected
    SQL> select * from test;
             A
             1
             2
             4
             5
    SQL> select * from test_backup;
    no rows selected
    SQL>
    create or replace package test_trg_pkg as
      type test_type is table of test%ROWTYPE index by binary_integer;
      test_tab test_type;
    end;
    create or replace trigger test_bds before delete on test
    begin
      test_trg_pkg.test_tab.delete;
    end;
    create or replace trigger test_adr after delete on test
    for each row
    declare
      -- To allow us to select the old values
      pragma autonomous_transaction;
    begin
      select *
      into   test_trg_pkg.test_tab(test_trg_pkg.test_tab.COUNT+1)
      from   test
      where  a = :old.a;  <----- Here you have to give your column name.
    end;
    create or replace trigger test_ads after delete on test
    begin
      for i in 1..test_trg_pkg.test_tab.COUNT loop
        insert into test_backup values test_trg_pkg.test_tab(i);
      end loop;
    end;
    SQL> delete from test where a=1;
    1 row deleted.
    SQL> select * from test_backup;
             A
             1
    SQL> delete from test where a=2;
    1 row deleted.
    SQL> select * from test_backup;
             A
             1
             2
    SQL>Regards
    Girish Sharma

  • SQL query to view all columns

    Hello,
    How can I view all columns stored in the Users table? I know some of the field names, like Users.First Name, Users.Last Name, Users.Login, Users.Manager Login.
    I'm essentially trying to access some udf fields (usr_udf_fielda, usr_udf_fieldb) and don't know how to reference them.
    Thanks.

    This is the code I'm using. It was actually working just fine when I had hard coded test values. Since I changed it to references it's been generating that error so I assumed it had something to do with that.
    package com.oracle.events;
    import Thor.API.Operations.tcUserOperationsIntf;
    import Thor.API.tcResultSet;
    import Thor.API.tcUtilityFactory;
    import com.thortech.xl.crypto.tcCryptoUtil;
    import com.thortech.xl.crypto.tcSignatureMessage;
    import com.thortech.xl.util.config.ConfigurationClient;
    import java.util.HashMap;
    import java.util.Hashtable;
    import java.util.Map;
    public class managerid2 extends com.thortech.xl.client.events.tcBaseEvent{
    tcUtilityFactory utilFactory = null;
    tcSignatureMessage moSignature = null;
    ConfigurationClient.ComplexSetting myConfig = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    final Hashtable env = myConfig.getAllSettings();
    Map statusMap = new HashMap();
    private tcUserOperationsIntf userIntf;
    String supervisoremplno=getDataObject().getString("usr_udf_supemplno");
    protected void implementation() throws Exception {
    if (getDataObject().isDeleting()) {
    return;
    if (getDataObject().isUpdating()) {
    return;
    String managerid= getManagerID(supervisoremplno);
    try{
    getDataObject().setString("usr_manager",managerid);
    return;
    }catch(Exception ioex){
    System.out.println("Supervisoremployeenumber does not exist" + ioex.getMessage());
    return;
    public String getManagerID(String supervisoremplno) {
    try {
    moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
    utilFactory = new tcUtilityFactory(env, moSignature);
    userIntf = (tcUserOperationsIntf) utilFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
    String userid = "temp";
    //String supervisoremplno=userSet.getStringValue("usr_udf_supemplno");
    HashMap userHash = new HashMap();
    userHash.put("Users.User ID", userid);
    tcResultSet userSet = userIntf.findAllUsers(userHash);
    for (int i=0;i<userSet.getTotalRowCount();i++){
    userSet.goToRow(i);
    String emplno=userSet.getStringValue("USR_UDF_EMPLNO");
    String mgrid = userSet.getStringValue("Users.Login");
    if(emplno.equalsIgnoreCase(supervisoremplno))
    return mgrid;
    catch(Exception e){
    return "xelsysadm";
    }

  • How to avoid blank column display in output in ALV TREE

    how to avoid blank column display in output while decreasing the length of other columns in ALV Tree.
    Example: please refer to BCALV_TREE_01 and see the output, then decrease the length of all columns . Then you can see a blank column appearing in screen at last, i.e in container. so how to avoid that.
    Thanks for reply.
    Edited by: morpeous on Jul 1, 2009 1:53 PM

    Hi,
    Check BCALV_TREE_02 on how to hide columns.
    Thanks & Regards,
    Anand Patil

  • How to update managed metadata column for all file in document library using powershell

    Hi,
    How to update managed metadata column for all file in document library using powershell?
    Any help on it.
    Thanks & REgards
    Poomani Sankaran

    Hi TanPart,
    I have changed the code which you have give in order to get the files from SharePoint 2010 Foundation  Document Library.But i am getting below error in powershell.
    Property 'ListItemCollectionPosition' cannot be found on this object; make sure it exists and is settable.
    Could you tell me which is the issues in it?
    See the code below.
    $web = Get-SPWeb http://ntmoss2010:9090/Site
    $list = $web.Lists["DocLib"]
    $query = New-Object Microsoft.SharePoint.SPQuery
    $query.ViewAttributes = "Scope='Recursive'";
    $query.RowLimit = 2000
    $caml = '<Where><Contains><FieldRef Name="Title" /><Value Type="Text">Process Documents/Delivery</Value></Contains></Where>' +
            '<OrderBy Override="TRUE"><FieldRef Name="ID"/></OrderBy>'
    $query.Query = $caml
    do
        $listItems = $list.GetItems($query)
        $spQuery.ListItemCollectionPosition = $listItems.ListItemCollectionPosition
        foreach($item in $listItems)
            #Cast to SPListItem to avoid ambiguous overload error
            $spItem = [Microsoft.SharePoint.SPListItem]$item;
            Write-Host $spItem.Title       
    while ($spQuery.ListItemCollectionPosition -ne $null)
    Thanks & Regards
    Poomani Sankaran

  • How to avoid merged columns on conversion

    Dear All,
    I have built some reports using Oracle Developer Report Suit. All is well and working fine but when I send report output to Excel file I am facing following two issues:
    1) It goes always to .xls file which is excel 97 format and having limit of maximum 65 thousands rows. Can I convert report to excel 2010 .xlsx file as my reports sometime contains large number of rows?
    2) When I convert into excel all information comes normally with proper format but some of report columns occupy multiple excel columns which is causing difficulties in sorting and other function in excel. How to avoid it?
    I would be glade to hear from you guys to resolve above issues.
    Thanks!

    Zia wrote:
    1) I have a detail report which contains more than 100 thousands rows. This report is already on menu and available to users. User have got an option on menu that they can select output either 'screen' or 'spreadsheet'. If user select option as 'spreadsheet', report open in excel file but in old excel and truncating excessive rows as .xls have limitation of maximum 65 thousands rows. I do not want to use 'csv' format as directly conversion into excel is more convinient for users. If report contains less than 65 thousands rows then everything is fine and no issues with the report. I hope I could explain real problem this time.65 thousands rows is the limitation of that version u use. I use Microsoft Office 2010 where limitation is 1048576 is a sheet.
    One solution is uninstall the present Office version and use Office 2010.
    2) Regarding second point, I have a summary report which is all fine and showing desired output in desired format. But when user want output in excel file, some of report columns occupy more than one columns and causing difficulties for users. Actually users do need to convert few reports into excel and work with formulas in excel but in this situation they have to do lots of changes in format before applying formulas. A sample screen shot of a report and converted report in excel file both can be seen on this link [https://skydrive.live.com/?cid=573511bde4261fe6#cid=573511BDE4261FE6&id=573511BDE4261FE6%21120]
    I'm not sure about the solution. Most probably you have more space in repeating frame and cause this thing happen. shorter the space in the frame and try.
    Hope this will help you.

  • How to print all columns in one page

    Hi,
    Can anybody explain me how to print all columns in one page.we have around 15 to 20 columns for 4 reports and all these reports are build on one multiprovider.we are using BW 3.5.
    Can anyone explain me  how to print ALL COLUMNS IN ONE PAGE  .currently they are getting all columns in 2 to 3 pages. They are using PORTAL to run the reports here.
    Is it possible to do by customizing Webtemplate or by macros in Workbook.Please help me
    Edited by: kotha123 on Oct 11, 2010 5:58 PM

    Hi,
    Your best bet is to use a workbook template or else Excel to pdf option...Thanks

Maybe you are looking for

  • Photoshop CS6 Running Slooooow

    I am so deeply frustrated with PS CS6 right now.  I bought the Master Suite through school.  I also bought a 27-inch, late 2012 iMac with 3.2 GHz i5 and 32GB of Ram.  Everything on my computer runs lightning fast except for CS6.  Even older PS runs f

  • E-63 voice recorder hang

    For media/office use, we bought 2 E 63. We want use it for our reporters gathering information on the field. All the other application work well but the voice recorder which is principal for reporter's job. Voice recorder : original program from Noki

  • Qosmio X500/02 - Question about partition

    Hello Forum, I have a just purchased a Qosmio X500/02 notebook and have noticed on one of the HDD, a partition having the specs. of NTFS (System) Pri. Act. and a size of 1.465 GB. Is this partition created in order to use the built-in backup and rest

  • Org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation

    Hello, I'm getting a following error message in .trc file (in udump): org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation This error is caused by very simple construction in my stored java procedure org.omg.CORBA.ORB orb = org.omg.

  • Reading PDF file Using java.

    I tried to read the pdf file using FileInputStream. but it gives the Juncked charectars. How can i read(means content) the pdf file using Java.