Column number

Hello

We called ROD column. That contains the year/month and the data type is varchar type.

EX:

STEM
-------
2012/01

2012/02

2012/03



I convert the split of the year date data type and the month as a separate column.

But get following

A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 43119] Query Failed: [nQSError: 46044] cannot convert the string (2011 - 01) date data. (HY000)



How to convert and split into year, month columns.

Kindly let me know.

The code works in two, answers or RPD. I would say in the answers once you're good with out then put in the RPD.

Pull the STEM column in the criteria-> fx tab, use the code given and make sure that you use a full column to the STEM which is TableName.columnName.

RPD you must use the same code and ROD pointing to physical column in the expression.

Let me know for questions.

Published by: Srini VIEREN on February 11, 2013 07:09

Tags: Business Intelligence

Similar Questions

  • Sort sort the columns number of lines n columns in the RTF PivotTable but hide them.

    Hello

    I'm trying to sort on the columns number of sort for lines n columns in the PivotTable but hide them. Any help appreciated.

    Attached model RTF, XML and output required. Thank you

    Please check your email that I have forwarded to update the model.

    by default, it performs a sort on the column, we used to pivot rows and columns. If we need custom sort, we must specify that column in the logic that was present in the C form field.

    by default, you are as below

    Custom sort

    {INDUSTRY_sort, o = a, t = n} « ; » MONTHS {Month_sort, o = a, t = n} '; SALES '; "' sum '? >

  • How to get the column number

    Hi all,

    I'm sorry to ask this question because I found 2 different answers, tried without result. So before you go crazy, I prefer to ask!

    Thus given mySelection = app.selection [0], how is possible to get the column's selection?

    I tried app.selection [0] .parentTextFrames [0].characters.itemByRange (0, x)

    with x being app.selection [0] .index.

    but then I'm stuck as if I add ".textColumns", I get an error

    I explored the second way using app.selection [0].textColumns.item (1).insertionPoints.item (1), but once I'm stuck again.

    As a beginner I don't understand why there is no simple built-in function to call in order to obtain such a result of base

    Any help would be appreciated

    Thank you

    Ed

    Okay here goes,

    For and only for the linked text frames.

    // For and only for linked text frames.
    // Warning
    // The Good: This will PROBABLY work for you
    // The Bad :THIS IS A REALLY PRIMITIVE METHOD
    // The Ugly: It could fail in COUNTLESS cases
    // Here goes......
    
    var mySelection, textFrame, parentPage, c;
    mySelection = app.selection[0];
    textFrame = mySelection.parentTextFrames[0];
    parentPage = textFrame.parentPage;
    c = 0;
    while(textFrame && textFrame.parentPage === parentPage){
        textFrame = textFrame.previousTextFrame;
        c++;
    }
    
    alert('Column number: ' + c);
    

    Now with regard to the issue of the image columns bound text compared to the blocks of text with multiple columns of text or span. Depends on what you're trying to achieve with your workflow.

    The scripts are around written by me and others who convert multicolumn text executives to related texts related and vice versa.

    If you want to know which is more appropriate you can use with your workflow, then I suggest the regular ID forum.

    HTH

    Trevor

  • ODI 10 g: column NUMBER becomes NUMBER (22.0) overleaf.

    ODI Version: 10.1.3.6.3
    Version of database: Oracle 10 g (also at XE)

    In the database, one of the columns in the table is defined as "num_val NUMBER". It has been set in this way also for decimal numbers. However, when I reverse this order to my ODI template using the "Reverse selective" the column gets created as 'num_val NUMBER (22, 0)' because that decimals have been truncated.

    I would like to know if it is a bug of ODI (If Yes, please tell me the patch) or the developer should review and correct this in the ODI template manually?

    In the Oracle database, define a column number without precision and scale would designate the maximum precision and scale for the column. I expect that ODI must be aware of this during the reverse model and create the column with a maximum range, as it exists in the Oracle database.

    Published by: museshad on February 7, 2011 12:28

    Hi museshad,

    To the best of my knowledge, it's a bug and workaround would be to do the reverse using RKM.

    Please try to overthrow this table with RKM Oracle and he should get u details decimals.

    Thank you
    Guru

  • % Total on column number project

    How can I get column % of total number of projects. I calculated the number of projects using Timespampdiff (added start date date) and affecting the Count aggregation... To get the % Total I chose to display the data as -? Percent of-> column... Still I get no results

    Any help is highly appreciated

    Hello

    You did sense, made you go to the properties of column County project and go to the data tab and tick override the default settings and change it to the value in percentage, it works.

    If there is problem not yet count then (project_col) / total * 100.00 will give you the value...

    hope helps you,

    See you soon,.
    KK

  • Report with multiple columns NUMBER of counts of the same table

    I am new to discoverer, so I'm a little lost.

    I work to create a report to show usage data and Knowledge Base of e-business. I have written using subqueries in SQL query that is in the format:

    Solution number | Soultion title | Solution views. Positive feedback | Negative feedback
    Title of 12345 _ 345 _ 98 34


    The entries 'Views', 'Positive' and 'Negative' are stored in the same table, so I do a count where setid = setid and usedtype = VS, then count where usedtype = usedtype and PF = NF

    Discoverer, I can get the number of solution, the title and THE totals but I can't seem to understand how to get an ACCOUNT for three different things from the same table in the columns on the same line.

    When I go on change map-> select the items once I select the option NUMBER of the UsedType column in the CS_KB_SET_USED_HISTS table, I can't select it again. I also found way now to add a column based on a query entered.

    If someone could help it would be much appreciated.

    Thank you

    Published by: Toolman21 on December 2, 2010 14:17
    _ to correct spacing added.

    Hello
    You can separate the column with a case or decode.
    for example to create 2 calculations:

    case
    When usedtype = "PF".
    then - that contain both
    0 otherwise
    end

    case
    When usedtype = 'NF '.
    then - that contain both
    0 otherwise
    end

    After that, you can create the aggregation count on those.

    Tamir

  • How to format a column number displayed when drilled down in the dimension

    I have a question:

    For example, I defined a drill on track: year/month/day. I then create a report with the first column in the year. When a user clicks on the column of the year, he bore down to display the year, month, etc. So far so good.

    Say that the month is a number of type double: 1 for January, 2 for the Fed, etc.

    Now, the displayed month is 1,00, 2,00, etc.. Same question when uncovered. The chart legend / label this issue also.

    I can format the year for not only no decimals in tab Format of data when the report is created. Question: How can I format the month? I don't have a chance to make the change in Data Format because it is a column displayed automatically through zoom.

    I could format the month in Business Admin tool or the presentation layer. But I'm looking for solutions BI answers / dashboard.

    Thanks in advance for your help.

    You can set a default value to the system-wide formatting for this column. Add the column to a request format her if necessary, and then in the tab press 'Format of column', 'Save'-> "default" systems for 'Time'. Month' "(or whatever your column is called).

    Just be aware that it will be applicable throughout the entire catalog!

    See you soon,.
    C.

  • With the help of inplace column number of the column name in the SQL Select statement

    Is it possible to execute instructions select sql with the number of columns in
    place names of columns?

    Run SQL
    select AddressId,Name,City from Address
    Is it possible
    select 1,2,5 from Address
    Thanks in advance

    You can extract the names of the columns for user_tab_columns
    with

    SELECT Column_name
    FROM user_tab_columns
    where table_name = 'MY_TABLE'
    and Column_id in (1,2,5)
    

    Use dynamic SQL and then the result to get the values.

    But as others already mentioned, this wil it be given incorrect if your table is changed.

  • Column number running from right to left?

    Is it possible to change the columns of FIGURES to run from right to left?
    Instead > A B C > > > must be: < < < < E D C B A
    I use Hebrew, that is why...

    There was a similar discussion: I can do an array of numbers from right to the left?

    I don't know if anything has changed since then.

  • The column number of FreeCell

    Greetings!

    My Freecell game does not work as usual. Unfortunately, one of the columns form undearneath another. Therefore, one of the columns are left enpty and will accept the cards. I followed the instructions above I found in a fo the forums to remove and re-add the Freecell game. This, however, did not help my situation. I'm hoping to get detailed instructions.

    I thnak in advance for any and all help me with this situation fustrating!

    Hello

    Thank you for using the Microsoft Windows Vista Forums.

    Follow the instructions that might help you resolve the issue.

    I will need some additional information to help you best.

    Ø how do you remove and re-add the game?

    Method 1:

    Analysis of auditor of file system (CFS) that might help you resolve the issue.

    To determine if the problem you are experiencing is caused by one or more system files that are used by Windows Vista, run the System File Checker tool. The System File Checker tool analyzes the system files and replaces incorrect versions of system files by using the correct versions.

    To determine if the problem you are experiencing is caused by one or more system files that are used by Windows Vista, run the System File Checker tool. The System File Checker tool analyzes the system files and replaces incorrect versions of system files by using the correct versions.

    To run the System File Checker tool, follow these steps:

    1. Click Start and type cmd in the box start the search.

    2. right click on cmd in the list programs and then click Run as administrator.

    If you are prompted for an administrator password or a confirmation, type your password or click on continue

    3. at the command prompt, the following line, and then press ENTER:

    sfc/scannow

    When the analysis is complete, test to see if the problem you are experiencing is resolved. If the problem you are experiencing is not resolved, use the procedure that is described in the section "the System Restore tool.

    Follow the instructions in the link below for more information on scan SFC.

    http://support.Microsoft.com/kb/936212/

    Check whether the problem is resolved.

    Method 2:

    1. click the Start button, select Control Panel, click programs and then click turn on turn Windows features on or off.

    If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    2. to activate a Windows feature, select the check box next to the feature. To turn a Windows feature off, clear the check box.

    3. click on OK.

    Please post back and let us know if it helped to solve your problem.

    Kind regards

    KarthiK TP

  • The column number is hidden in the report.

    Hello

    I want to do an interactive report in a table called "Componenta. In this table a numeric column that is not visible to the final report. I have attached a few screenshots below.

    Here's the column attributes: http://imagizer.imageshack.us/v2/800x600q90/560/dzli.png

    And here's the final result: http://imagizer.imageshack.us/v2/800x600q90/577/i85m.png

    We see that the columns "Cantitate" does not appear in the report.

    Hello

    This column has been added at a later date?

    If so, it will show by default. Run the report as a show and a developer and order the column in the Actions Menu and keep as default report parameters.

    Concerning

    André

  • Need to convert the Varchar2 column number for the extraction of data based on the range of values.

    Hello

    I have a ZIP column which is the Varchar2 data type, it has values such as 2345, 09485, 10900, 07110, 06534.

    I have to go look up records from the range of values for the ZIP column as between 00000 and 07500.

    Could you give a logic.

    Thank you.

    Hello

    I think you can use the following code:

    SELECT T.*

    OF t

    WHERE the to_number (ZIP) between TO_NUMBER('0000') and TO_NUMBER('07500')

    ;

    CGomes

  • How to split the PHONE NUMBER in the column of database?

    Hello - how to split the telephone within the same column number?

    Existing column PHONE data

    3711943

    8744723

    8487928

    3349262

    I want to split the data in the same

    371-1943

    874-4723

    etc...


    Is this possible? I need to do this only through SQL query not PL/SQL.



    SUBSTR (your_col, 1, 3). » -'|| SUBSTR(your_col,4)

  • In the electronic-search mail there is no possibility to show a column with the number of attachments has the e-mail found. I googled for solutions: sick only ideas!

    Examle: I looking for a piece attached to a particular sender - in 3 seconds I with the thunderbird electronic-mail-search a list with all the messages from the special sender, but I do not see what emails contain attachments. If I could choose the column 'number of attachments' it would be useful: 0 = there is no attachment, it is foolish to click and open it: 1) I have to close this bad-opend-window and 2.) I return to the search results window because now I'm in the thunderbird main display. Some companies still send their logo like attachment = no problem: once I opened an e-mail-results of research I can see: oh, they always send a logo, so I have to search for emails with attachments 2 and so on. (Please excuse the word "sick" in my question: I'm not very good in English, the line was so short, and I did not know that I can write the details too.)

    Try this add-on: http://attachmentcount.mozdev.org/index.html

  • Column formatting simple observation - number of character, right justified

    Greetings

    Environment: APEX 3.2.1.00.10 on Oracle EE 11.0.1 on AIX Wednesday :-)

    I created a simple interactive report based on an SQL statement. One of the columns is a data type NUMBER I want to appear in the format '999 990' and justified to the right.

    In SQL, I managed by simply making a LPAD (TO_CHAR (< column number >, '999 990'), 10)

    This doesn't seem to work when I use this syntax in my SQL query in the APEX and I can't seem to find a place for formatting the data in the report definition page.

    Has it something to do with the APEX using HTML cells or y at - it something else?

    Any help is greatly appreciated!

    Thank you!

    -gary

    Hello Gary,.

    have a look at the attributes of the column. Here, you can set the alignment of the column and the number format.

    Kind regards
    Dirk

Maybe you are looking for

  • R2 Server 2012 network leak

    Hi all I have a problem on my LAN since I installed 2 Windows server 2012R2 in 2 different places. Since im now facing a delay of network at least once in a week in particular on network printers, switches and wireless access point. and this problem

  • Vista Service pack 2 install problem on Dell XPS M1330 with SSD hard drive

    Hello I have a DELL XPS M1330 with Solid State SDD drive. None of the solutions have solved my installation problem including run all the tools to clean up the intall. It restarts after installation, then crosses the restart process, then the States

  • HP 7210 cannot install driver under Windows 8.1

    We just bought a nine (under running windows 8.1) dell desktop computer.  The HP tool, is the driver to install for the printer all-in-one 7210 AIO_CDB_Net_Full_Win_WW_140_408.exe He keeps fails with the message c:\user\doug\appdata\local\temp\\setup

  • PDFS IN EMAIL DON'T BE POSTER NOT OPENING

    Whenever I try to open .pdf files are sent to me via e-mail messages, he has never displayed on the page.  He says, "DONE" at the bottom left, but the page is empty.  There is no error message any. In addition, when I hover over links or words, I get

  • How to check the event for any activity view?

    My PC wakes up in the middle of the night recently, and I would like to know what to check the event viewer and see what type of program wakes up my PC for the Hibernate. Does anyone have any suggestions?Thanks in advance for your suggestions