Column name length

Hi,
Max column name length is 30
Do we have any settings to increase this size in 10g
Thanks

no
oracle still only allocated 30 to store the name in the data dictionary:
SQL> desc sys.col$
Name                          Null?    Type
OBJ#                          NOT NULL NUMBER
COL#                          NOT NULL NUMBER
SEGCOL#                       NOT NULL NUMBER
SEGCOLLENGTH                  NOT NULL NUMBER
OFFSET                        NOT NULL NUMBER
NAME NOT NULL VARCHAR2(30)
TYPE#                         NOT NULL NUMBER
LENGTH                        NOT NULL NUMBER
FIXEDSTORAGE                  NOT NULL NUMBER
PRECISION#                             NUMBER
SCALE                                  NUMBER
NULL$                         NOT NULL NUMBER
DEFLENGTH                              NUMBER
DEFAULT$                               LONG
INTCOL#                       NOT NULL NUMBER
PROPERTY                      NOT NULL NUMBER
CHARSETID                              NUMBER
CHARSETFORM                            NUMBER
SPARE1                                 NUMBER
SPARE2                                 NUMBER
SPARE3                                 NUMBER
SPARE4                                 VARCHAR2(1000)
SPARE5                                 VARCHAR2(1000)
SPARE6                                 DATEMessage was edited by:
shoblock

Similar Messages

  • Column name length exceeds maximum allowed

    Hello,
    I get this error when am trying to create a table. ERROR: Column name length exceeds maximum allowed length(30).
    Is it able to extend this length to be more than 30 ? By the way I am using Oracle 11g
    Regards,
    Moussa El Tayeb
    about.me/MoussaEltayeb

    Hello,
    also Oracle has some limits. For more Information see the logical limits
    http://docs.oracle.com/cd/E14072_01/server.112/e10820/limits.htm
    regards
    Peter

  • What is maximum column name length?

    What is the maximum column name length in Oracle (XE) ?
    Peter

    Handle:      user559463
    Status Level:      Newbie
    Registered:      Feb 18, 2007
    Total Posts:      575
    Total Questions:      260 (181 unresolved)
    so many questions & so few answers.
    What is the maximum column name length in Oracle (XE) ?the limit is not Oracle's, but ANSI/ISO SQL Standard imposed limit

  • Column Name Length of Tables In ODI

    Hello Everyone,
    I am facing with an unique issue in ODI. We are using ODI AIA for Integration, which has default XML exports of some JD Edwards tables.
    These tables are automatically reversed and models are created using AIA, one such file is named Base.xml and is reversed as a Model named 'Base' in ODI. In this model there are various tables which are created on the basis of the contents of XML file. The column names are derived from XML Tags. Some XML tags are having length greater than 30. This does not create a problem in the model as such, but when using it as source in interface, the temporary tables that are created on-the-fly in a schema (Oracle) does not allow the length to be greater than 30 and hence the interface fails (error : Column name length exceeded), add to it, ODI suffixes column names with a Cnumber_. Since the XML file and tags are standard within the AIA, we cannot alter the length.
    So is there a way to reduce the column name length of temporary tables which are created at runtime by ODI based on the source XML files ?
    Thanks in advance,
    NJ

    If you are using temp table that are created on the fly, you can not control the column length, so you have only one alternative just change the column name (less than 30) in model level.
    Thanks

  • Membership rules does not work with UDF column name having the max length

    Found a bug in OIM .
    Membership rules does not work with UDF column name having the maximum length
    Steps to Reproduce
    1.Create a UDF having max column name length for eg UDF_USR_PERSONAL_SUB_DOMAIN_CO (lable = Personal Code)
    2. Create a simple Rule like Personal Code = 7000
    3. Assign this Rule as a member ship rule of a Group.
    4. Create a user with Personal Code = 7000.
    5. User doesnot get the group membership.
    Thanks
    Suren

    Yes , i verified logs as well .
    If you just decrease the column name length , w/o making change to any other attributes , it starts working ..
    Thanks
    Suren

  • Maximum length allowed for column name, index name and table name?

    Hi,
    I want to know what is the maximum length allowed for coulmn name, table name and index name in MaxDB ?
    Regards
    Raj

    Hi Raja,
    simply check the catalog:
    sqlcli bwt=> \dc domain.columns
    Table "DOMAIN.COLUMNS"
    | Column Name      | Type         | Length | Nullable | KEYPOS |
    | ---------------- | ------------ | ------ | -------- | ------ |
    | SCHEMANAME       | CHAR UNICODE | 32     | YES      |        |
    | OWNER            | CHAR UNICODE | 32     | YES      |        |
    | TABLENAME        | CHAR UNICODE | 32     | YES      |        |
    | COLUMNNAME       | CHAR UNICODE | 32     | YES      |        |
    and
    sqlcli bwt=> \dc domain.indexes
    Table "DOMAIN.INDEXES"
    | Column Name        | Type         | Length | Nullable | KEYPOS |
    | ------------------ | ------------ | ------ | -------- | ------ |
    | SCHEMANAME         | CHAR UNICODE | 32     | YES      |        |
    | OWNER              | CHAR UNICODE | 32     | YES      |        |
    | TABLENAME          | CHAR UNICODE | 32     | YES      |        |
    | INDEXNAME          | CHAR UNICODE | 32     | YES      |        |
    regards,
    Lars

  • What is the order of Column Names in Sqlite query results?

    I am writing an application using Adobe Air, Sqlite, and Javascript.
    After writing the following select statement:
              SELECT field1, field 2, field 3, field 4 FROM TableA;
    I would like to get the columnName/data combination from each row -- which I do successfully with a loop:
              var columnName="";
              for (columnName in selResults.data[i]) {
                   output+=columnName + ":" + selResultsdata[i][columnName] + ";";
    My issue is that the column names come out in a different order every time I run the query and never once have they come out in the desired order -- field 1, field 2, field 3, field 4.  If I run the query in Firefox's Sqlite Manager, the columns come out in the "proper" order. When I run them in Adobe Air, the order will be the same if I run the query mulitple times without closing the app.  If I make a change such as declaring the columnName variable with "" before the for column, or declare it as (var = columnName in selResults.data) , then the order changes.  If I shut down my app and re-open after lunch and run query, it comes out in another order.  At this time, I'm not interested in the order of the rows, just the order of the columns in each output row.  I've even tried assiging an index to columnName which seems to just pick up a single letter of the columnName.
    I'm in the process of changing my HTML presentation of the data to assign a precise columnName to an HTML table title, but I'm reluctant to let go of the above concept as I think my separation of HTML/presentation and Javascript would be better if I could use the solution described above.
    So, does anybody know how to force the order of the columnNames in my output -- or what I'm doing to cause it to come out in a different order?
    Jeane

    Technically there isn't any "order" for the return columns. They aren't returned as an Array -- they're just properties on an Object instance (a "generic object"). The random order you're seeing is the behavior of the for..in loop iterating over the properties of the object. Unfortunately, with a for..in loop there is no guaranteed order for iterating over properties (and, as you've seen, it tends to vary wildly).
    The only solution is to create your own list of the column names and sort it the way you want to, then use that to create your output. For example, use the for..in loop to loop over the properties, but rather than actually get the values, just dump the column names into an Array:
    var columnName="";
    var columns = [];
    for (columnName in selResults.data[i]) {
        columns.push(columnName);
    columns = columns.sort(); // just uses the default alphabetical sort -- you would customize this if desired
    var j = 0;
    for (j = 0; j < columns.length; j++) {
        columnName = columns[j];
        output+=columnName + ":" + selResultsdata[i][columnName] + ";";

  • Generating CSV file with column names and data from the MySQL with JAVA

    Hi all,
    Give small example on ...
    How can I add column names and data to a CSV from from MySQL.
    like
    example
    sequence_no, time_date, col_name, col_name
    123, 27-apr-2004, data, data
    234, 27-apr-2004, data, data
    Pls give small exeample on this.
    Thanks & Regards
    Rama Krishna

    Hello Rama Krishna,
    Check this code:
    Example below exports data from MySQL Select query to CSV file.
    testtable structure
    CREATE TABLE testtable
    (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
    text varchar(45) NOT NULL,
    price integer not null);
    Application takes path of output file as an argument.
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    public class automateExport {
        public static void main(String[] args) {
            DBase db = new DBase();
            Connection conn = db.connect(
                    "jdbc:mysql://localhost:3306/test","root","caspian");
            if (args.length != 1) {
                System.out.println(
                        "Usage: java automateExport [outputfile path] ");
                return;
            db.exportData(conn,args[0]);
    class DBase {
        public DBase() {
        public Connection connect(String db_connect_str,
                String db_userid, String db_password) {
            Connection conn;
            try {
                Class.forName("com.mysql.jdbc.Driver").newInstance();
                conn = DriverManager.getConnection(db_connect_str,
                        db_userid, db_password);
            } catch(Exception e) {
                e.printStackTrace();
                conn = null;
            return conn;
        public void exportData(Connection conn,String filename) {
            Statement stmt;
            String query;
            try {
                stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,
                        ResultSet.CONCUR_UPDATABLE);
                //For comma separated file
                query = "SELECT id,text,price into OUTFILE  '"+filename+
                        "' FIELDS TERMINATED BY ',' FROM testtable t";
                stmt.executeQuery(query);
            } catch(Exception e) {
                e.printStackTrace();
                stmt = null;
    Greetings,
    Praveen Gudapati

  • Strange behavior in BI Publisher with long column names from BI Answers

    Hello all!
    I have created a BI Answers request with few calculated columns in form of
    case when <condition> then <value if true> else <value if false> end
    Then in BI Publisher Desktop designed a report ttemplate based on saved BI Answers request and noticed that for calculated columns their names look strange:
    CASEWHEN_<condition>THEN...ELSE..._...END__
    Some of the column names are about 100 characters long.
    After running the report from Word found that for these "long length named columns" there's no data in the output.
    Do someone else experience the same? Any workarounds?
    Regards,
    mr.maverick

    This is because the length for the formula is restricted in publisher. you have to either reduce the size of the column name in answers or change the formula. another workaround is completely pasting the formula directly in the word template instead of placing the formula inside the form field. you can add maximum of 300 characters i guess. you can edit the formula for the form field in the form field options formuals menu.

  • JTable can't display column names and scroll bar in JDialog !!

    Dear All ,
    My flow of program is JFrame call JDialog.
    dialogCopy = new dialogCopyBay(frame, "Bay Name Define", true, Integer.parseInt(txtSourceBay.getText()) ,proVsl ,300 ,300);
    dialogCopy.setBounds(0, 0, 300, 300);
    dialogCopy.setVisible(true);        Then,I set the datasource of JTable is from a TableModel.
    It's wild that JTable can diplay the data without column names and scroll bar.
    I have no idea what's going wrong.Cause I follow the Sun Tutorial to code.
    Here with the code of my JDialog.
    Thanks & Best Regards
    package com.whl.panel;
    import com.whl.vslEditor.vslDefine;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.Frame;
    import javax.swing.JDialog;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.table.AbstractTableModel;
    public class dialogCopyBay extends JDialog {
        vslDefine glbVslDefine;
        int lvCnt = -1;
        JTable tableCopyBay;
        int bgnX = 0;
        int bgnY = 30;
        int tableWidth = 100;
        int tableHeight = 100;
        public dialogCopyBay(Frame frame, String title, boolean modal, int sourceBay,
                vslDefine pVslDefine, int ttlWidth, int ttlHeight) {
            super(frame, title, true);
            Container contentPane = getContentPane();
            System.out.println("dialogCopyBay Constructor");
            glbVslDefine = null;
            glbVslDefine = pVslDefine;
            copyBayModel copyBay = new copyBayModel((glbVslDefine.getVslBayStructure().length - 1),sourceBay);
            tableCopyBay = new JTable(copyBay);
            tableCopyBay.setPreferredScrollableViewportSize(new Dimension(tableWidth, tableHeight));
            JScrollPane scrollPane = new JScrollPane(tableCopyBay);
            scrollPane.setViewportView(tableCopyBay) ;
            tableCopyBay.setFillsViewportHeight(true);
            tableCopyBay.setBounds(bgnX, bgnY, tableWidth, tableHeight);
            tableCopyBay.setBounds(10, 10, 100, 200) ;
            contentPane.setLayout(null);
            contentPane.add(scrollPane);
            contentPane.add(tableCopyBay);
        class copyBayModel extends AbstractTableModel {
            String[] columnNames;
            Object[][] dataTarget;
            public copyBayModel(int rowNum ,int pSourceBay) {
                columnNames = new String[]{"Choose", "Bay Name"};
                dataTarget = new Object[rowNum][2];
                for (int i = 0; i <= glbVslDefine.getVslBayStructure().length - 1; i++) {
                    if (pSourceBay != glbVslDefine.getVslBayStructure().getBayName() &&
    glbVslDefine.getVslBayStructure()[i].getIsSuperStructure() == 'N') {
    lvCnt = lvCnt + 1;
    dataTarget[lvCnt][0] = false;
    dataTarget[lvCnt][1] = glbVslDefine.getVslBayStructure()[i].getBayName();
    System.out.println("lvCnt=" + lvCnt + ",BayName=" + glbVslDefine.getVslBayStructure()[i].getBayName());
    public int getRowCount() {
    return dataTarget.length;
    public int getColumnCount() {
    return columnNames.length;
    public String getColumnName(int col) {
    return columnNames[col];
    public Object getValueAt(int rowIndex, int columnIndex) {
    return dataTarget[rowIndex][columnIndex];
    public Class getColumnClass(int c) {
    return getValueAt(0, c).getClass();
    public boolean isCellEditable(int row, int col) {
    if (col == 1) {
    // Bay Name Not Allow To modify
    return false;
    } else {
    return true;
    public void setValueAt(Object value, int row, int col) {
    dataTarget[row][col] = value;
    fireTableCellUpdated(row, col);

    Dear DB ,
    I am not sure what you mean.
    Currently,I don't undestand which code is error.
    And I also saw some example is add JTable and JScrollPane in JDialog.
    Like Below examle in Sun tutorial
    public class ListDialog extends JDialog implements MouseListener, MouseMotionListener{
        private static ListDialog dialog;
        private static String value = "";
        private JList list;
        public static void initialize(Component comp,
                String[] possibleValues,
                String title,
                String labelText) {
            Frame frame = JOptionPane.getFrameForComponent(comp);
            dialog = new ListDialog(frame, possibleValues,
                    title, labelText);
         * Show the initialized dialog. The first argument should
         * be null if you want the dialog to come up in the center
         * of the screen. Otherwise, the argument should be the
         * component on top of which the dialog should appear.
        public static String showDialog(Component comp, String initialValue) {
            if (dialog != null) {
                dialog.setValue(initialValue);
                dialog.setLocationRelativeTo(comp);
                dialog.setVisible(true);
            } else {
                System.err.println("ListDialog requires you to call initialize " + "before calling showDialog.");
            return value;
        private void setValue(String newValue) {
            value = newValue;
            list.setSelectedValue(value, true);
        private ListDialog(Frame frame, Object[] data, String title,
                String labelText) {
            super(frame, title, true);
    //buttons
            JButton cancelButton = new JButton("Cancel");
            final JButton setButton = new JButton("Set");
            cancelButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ListDialog.dialog.setVisible(false);
            setButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ListDialog.value = (String) (list.getSelectedValue());
                    ListDialog.dialog.setVisible(false);
            getRootPane().setDefaultButton(setButton);
    //main part of the dialog
            list = new JList(data);
            list.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
            list.addMouseListener(new MouseAdapter() {
                public void mouseClicked(MouseEvent e) {
                    if (e.getClickCount() == 2) {
                        setButton.doClick();
            JScrollPane listScroller = new JScrollPane(list);
            listScroller.setPreferredSize(new Dimension(250, 80));
    //XXX: Must do the following, too, or else the scroller thinks
    //XXX: it's taller than it is:
            listScroller.setMinimumSize(new Dimension(250, 80));
            listScroller.setAlignmentX(LEFT_ALIGNMENT);
    //Create a container so that we can add a title around
    //the scroll pane. Can't add a title directly to the
    //scroll pane because its background would be white.
    //Lay out the label and scroll pane from top to button.
            JPanel listPane = new JPanel();
            listPane.setLayout(new BoxLayout(listPane, BoxLayout.Y_AXIS));
            JLabel label = new JLabel(labelText);
            label.setLabelFor(list);
            listPane.add(label);
            listPane.add(Box.createRigidArea(new Dimension(0, 5)));
            listPane.add(listScroller);
            listPane.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
    //Lay out the buttons from left to right.
            JPanel buttonPane = new JPanel();
            buttonPane.setLayout(new BoxLayout(buttonPane, BoxLayout.X_AXIS));
            buttonPane.setBorder(BorderFactory.createEmptyBorder(0, 10, 10, 10));
            buttonPane.add(Box.createHorizontalGlue());
            buttonPane.add(cancelButton);
            buttonPane.add(Box.createRigidArea(new Dimension(10, 0)));
            buttonPane.add(setButton);
    //Put everything together, using the content pane's BorderLayout.
            Container contentPane = getContentPane();
            contentPane.add(listPane, BorderLayout.CENTER);
            contentPane.add(buttonPane, BorderLayout.SOUTH);
            pack();
        public void mouseClicked(MouseEvent e) {
            System.out.println("Mouse Click");
        public void mousePressed(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseReleased(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseEntered(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseExited(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseDragged(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseMoved(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
         * This is here so that you can view ListDialog even if you
         * haven't written the code to include it in a program.
    }

  • Using dynamic column name in datagrid selectedItems

    Hi
    I have a datagrid loaded with 2 columns. Allowmultiselect is turned on.
    Based on the values selected at run time, I get the corresponding selected column name and its values and shown it on HTML screen.
    // grp is datagrid
    // dgrcl is a data grid column
    // selflds is an array which has 0,1,2,3 values
    //selflds[0] = name,selflds[1]=age
    for (var l:int=0; l<grp.columnCount; l++)
    dgrcl =grp.columns[l];
    selflds[l] = dgrcl.dataField;
    // srhVals will have only one selected value at any point
    // getting the corresponding selected column name and its value
    var  srhVals:String;
    srhVals = String(grp.selectedItem[selflds[1]]);
    I am trying to achieve the above selection instead by .selectedItems somthing like this below. By doing like this, I will get all the selected items but not only one. If i try below syntax, i get error. Any one has ideas on how to do.
    srhVals = String(grp.selectedItems.selflds[1]);

    Hi
    I got my mistake, there should be no dot operator after selectedItems;
    I got a solution - it goes like this:
    for(var g:int=0;g<grp.selectedItems.length;g++)
    srhVals = srhVals + String(grp.selectedItems[g][selflds[1]]);
    So the complete scenario is like this:
    Datagrid:
    Name      Age    
    a               20
    b               30
    c               40
    d               50
    I am selecting b,d in UI. At run time, I get programatically the selecteditem column name as "Name", loop through the selecteditems and store the value in srhVals as b,d.
    b,d will be finally shown in UI.

  • Return the column names for which the row values are not null.

    Hi i m a new guy to db admin, and i need a sql script which should return column names of the particular table. and the returned column should have value (fyi - if the column has null value column name should not come in the sql o/p).
    Exmple:
    table name - A
    s.no name mark status fee
    1 aa 45 p null
    2 bb 30 null paid
    3 cc 35 p paid
    fyi -1) if i give the table name(A) and s.no (2) the o/p should be -- name,mark.
    2) if i give the tablename(A) and s.no (1) the o/p should be --- name,mark,status.
    Thanks
    Krishna.
    Edited by: user13294228 on Jun 14, 2010 10:54 PM

    BTW,
    The previous solution is for all values of the column, if you want a specific row, you can add it in where clause.
    I mean in your example, it you look like:
    SET serveroutput on;
    DECLARE
       l_cnt          NUMBER;
       l_str          VARCHAR2 (255) := '';
       l_table_name   VARCHAR2 (255) := 'YOUR_TABLE_NAME';
       l_col_cond     VARCHAR2 (255) := 'S_NO';
       l_val          NUMBER         := 1;
       CURSOR c_col
       IS
          SELECT column_name
            FROM user_tab_columns
           WHERE table_name = l_table_name;
    BEGIN
       FOR i IN c_col
       LOOP
          EXECUTE IMMEDIATE    'SELECT COUNT ('
                            || i.column_name
                            || ') FROM '
                            || l_table_name
                            || ' WHERE '
                            || l_col_cond
                            || ' = '
                            || l_val
                       INTO l_cnt;
          l_str := l_str || CASE
                      WHEN l_cnt = 0
                         THEN ''
                      ELSE i.column_name
                   END || ',';
       END LOOP;
       l_str := SUBSTR (l_str, 1, LENGTH (l_str) - 1);
       DBMS_OUTPUT.put_line (l_str);
    END;Saad,
    Edited by: S.Nayef on Jun 15, 2010 11:54 AM

  • How the BEE lines column names populated in OTL?

    Hi,
    I am trying to figure out how the elementry entry lines column names( in the pay_batch_lines table they are from value_1 to Value_15) populated in the form dynamically. I checked the pay_input_values_f table and it seems the element entry form is showing the columns for the vlaues in the name column for a particular element_type_id. So can we say the element entry lines shows the column which are in pay_input_values_f table and stores data ascending order of display sequence in pay_input_values_f table.
    Thanks and Regards.

    Extracted from the ProC manual from Oracle 7.3 (don't ask :-{).
    Chapter 11: Using Dynamic SQL
    Section: Using Method 4
    What Is a SQLDA?
    A SQLDA is a hostprogram data structure that holds descriptions of
    selectlist items or input host variables.
    SQLDA variables are not defined in the Declare Section.
    The select SQLDA contains the following information about a query
    select list:
    maximum number of columns that can be DESCRIBEd
    actual number of columns found by DESCRIBE
    addresses of buffers to store column values
    lengths of column values
    datatypes of column values
    addresses of indicatorvariable values
    addresses of buffers to store column names
    sizes of buffers to store column names
    current lengths of column names
    NOTICE THE LAST THREE ENTRIES!
    Could this also be usefull?
    Enjoy.

  • UD Datasource Proposal Tab Shows Incorrect Column Names

    I created a UD datasource in BW and the "Proposal" tab showed me the correct column names for the table I had selected.  A couple of column names were then changed for this table in the source system but they are not showing up in the "Proposal" tab (the old column names are still there).  I refreshed and reactivated the source system in BW but it didn't work.  Any ideas on how to get the new column names to show up in the "Proposal" tab?  Thanks for any help on this.

    hi,
    check with the following steps you carried out in the ud data source creation.
    You are in the DataSource tree in the Data Warehousing Workbench.
           1.      Select the application components in which the DataSource is to be created and choose Create DataSource.
           2.      In the next screen, enter a technical name for the DataSource, select the type of the DataSource and choose Copy.
    The DataSource maintenance screen appears.
           3.      Go to the General tab page.
                                a.      Enter descriptions for the DataSource (short, medium, long).
                                b.      If necessary, specify if the DataSource builds an initial non-cumulative and supplies potentially duplicate data records within a request.
           4.      Go to the Extraction tab page.
                                a.      Define the delta method for the DataSource.
                                b.      Specify whether you want the DataSource to support direct access to data.
                                c.      UD Connect does not support real-time data acquisition.
                                d.      The system displays Universal Data Connect (Binary Transfer) as the adapter for the DataSource.
    Choose Properties if you want to display the general adapter properties.
                                e.      Select the UD Connect source object.
    The connection to the UD Connect source is established. All source objects that are available in the selected UD Connect source can be selected using input help. Source objects can be multi-dimensional storage or relational objects.
           5.      Go to the Proposal tab page.
    The system displays the elements of the source object (for JDBC for example fields, or for XMLA and ODBO characteristics and key figures) and creates a mapping proposal for DataSource fields. The mapping proposal is based on the similarity of the names of the source object element and DataSource field and the compatibility of the respective data types.
    Note that source object elements can have a maximum of 90 characters. Both upper and lower case are supported.
                                a.      Check the mapping and change the proposed mapping as required. Assign the non-assigned source object elements to free DataSource fields.
    You cannot map elements to fields if the types are incompatible. The system produces an error message in this case.
                                b.      Under Copy to Field List, select the fields that you want to transfer to the field list for the DataSource. All fields are selected by default.
           6.      Maintain the Fields tab page.
    Here you edit the fields that you transferred to the field list of the DataSource from the Proposal tab page.
                                a.      Under Transfer, specify the decision-relevant DataSource fields that should be available for extraction and transferred to BI.
                                b.      If required, change the values for the key fields of the source.
    These fields are generated as a secondary index in the PSA. This is important in ensuring good performance for data transfer process selections, in particular with semantic grouping.
                                c.      If required, change the data type for a field.
                                d.      Specify whether the source provides the data in the internal or external format.
                                e.      If you choose an External Format, ensure that the output length of the field (external length) is correct. Change the entries, as required.
                                  f.      If required, specify a conversion routine that converts data from an external format into an internal format.
                                g.      Select the fields for which you want to be able to set selection criteria when you schedule a data request using an InfoPackage. Data for this type of field is transferred in accordance with the selection criteria specified in the InfoPackage.
                                h.      Choose the selection options (such as EQ, BT) that you want to be available for selection in the InfoPackage.
                                  i.      Under Field Type, specify whether the data to be selected is language-dependent or time-dependent, as required.
    Note
    If you did not transfer the field list from a proposal, you can define the fields of the DataSource directly. Choose Insert Row and enter a field name. You can specify InfoObjects in order to define the DataSource fields. Under Template InfoObject, specify InfoObjects for the fields of the DataSource. This allows you to transfer the technical properties of the InfoObjects into the DataSource field.
    Entering InfoObjects here does not equate to assigning them to DataSource fields.  Assignments are made in the transformation. When you define the transformation, the system proposes the InfoObjects you entered here as InfoObjects that you might want to assign to a field.
           7.      Check, save and activate the DataSource.
           8.      Go to the Preview tab page.
    If you select Read Preview Data, the number of data records you specified in your field selection is displayed in a preview.
    This function allows you to check whether the data formats and data are correct.
    Result
    The DataSource is created and added to the DataSource overview for the UD Connect source system in the application component in the Data Warehousing Workbench. When you activate the DataSource, the system generates a PSA table and a transfer program.
    You can now create an InfoPackage. You define the selections for the data request in the InfoPackage. The data can be loaded into the entry layer of the BI system, the PSA. Alternatively you can access the data directly if the DataSource allows direct access and you have a VirtualProvider in the definition of the data flow.
    http://help.sap.com/saphelp_nw70/helpdata/en/bc/ed1640b7b6dd5fe10000000a155106/frameset.htm
    hope this give you an idea
    regards
    harikrishna N

  • SQL Alter Column Name

    I am trying to change the name of a column in my Oracle database using SQL PLUS. This is what I'm doing:
    ALTER TABLE projects
    RENAME COLUMN thomas_comp_type TO thomas_comp_shipped_via;
    When I do this it gives me an error stating ORA-14155 Missing PARTITION or SUBPARTITION keyword.
    What does this mean and how do I fix it?

    Hang on: you're trying to rename a column called NAME?
    That's one of Oracle's reserved keywords so should never have been used as a column name in the first place:
    SQL> select * from v$reserved_words where keyword like 'NAME';
    KEYWORD                            LENGTH R R R R D
    NAME                                    4 N N N N NThat said, you are able to do such a rename without an issue in 10g:
    SQL> create table t1 (name varchar2(10));
    Table created.
    SQL> alter table t1 rename column name to fred;
    Table altered.
    SQL> desc t1;
    Name                                      Null?    Type
    FRED                                               VARCHAR2(10)Oracle 9i is obviously a different matter ...and it doesn't help that it's such an old version, because I don't have a machine running that to hand to test things out on. You could try double-quoting the column name:
    SQL> alter table t1 rename column "FRED"  to barney;
    Table altered.But I can't guarantee that will work.

Maybe you are looking for

  • Weekly build notes listings

    Since there are major changes going on in the TLF weekly builds, and the ASDocs aren't up to date, and the changes made are not searchable, I thought people might want the list dumped on here so changes to particular classes would show up in a forum

  • TS1506 how to download or transfer a video from ipad mini to computer?

    I would like to know, how I can download or transfer a video I recorded from my ipad mini to a computer? or how I could send it through an attachment to my email?

  • Replace cd drive in a G4 Xserve

    I have one of the original Xserve with only a cd drive. Can I replace it with a combo or superdrive? It is needed for software installs. If not what is the best way to connect a BOOTABLE DVD drive?

  • The app store prompt for privacy policy is stuck on the app page.

    I went into the App Store icon and was prompted to agree to a Terms & Conditions and Apple Privacy Policy. I clicked agree and then it froze to the page.  i shuffled through the 56 page policy to see if I had to show I had read it, and it then says y

  • Pavilion g6 Laptop Windows 8 Error 0xc000000f

    Laptop product number C1Y93EA#ABU using windows 8 Clapton froze and had to be turned off. On restarting either the laptop would say that it had failed to start correctly and needed to restart upon which it would immediately switch off and start again