evaluate the function escape quote

Hi, experts,
What is the syntax / how to escape to quote the user defined function.

for example
TO_CHAR (dimension_tbl.some_date, '(my) yyyymm')

dimension_tbl.some_date is a column name

I don't want to set the alternative format in the web catalogue.

Thank you very much!

Hello

use,
Evaluate ('to_char (%1%2)' as varchar (20), dimension_tbl.some_date, "YYYYMM (Monday)")

Thank you
Knani

Tags: Business Intelligence

Similar Questions

  • Evaluate the function in an expression of State teststand

    Hello

    I can not understand the meaning of the Evaluate() function in the sentence below and do not find the explanation in the help files, could someone help me?

    Step.DataSource! = "Step.Result.PassFail"? Step.Result.PassFail = Evaluate (Step.DataSource): false, Step.Result.PassFail? 'Past': 'failed '.

    Sorry to confuse you.

    Hope that explanation helps.

    Step.DataSource! = "Step.Result.PassFail"? Step.Result.PassFail = Evaluate (Step.DataSource): false, Step.Result.PassFail? 'Past': 'failed '.

    If (Step.DataSource! = "Step.Result.PassFail") / / True if the user has selected a different source of data (by default, its step.result.passfail)

    {

    Step.Result.PassFail = Evaluate (Step.DataSource) / / extract variable stored in step.datasource.Read the value and store it in step.result.passfail

    }

    on the other

    {

    false / / do nothing when the default data source is present

    }

    If (Step.Result.PassFail) / / it will be the last default value or even if the data source is changed.

    {

    passed status is set as adopted

    }

    on the other

    {

    status failed is defined as being broken

    }

  • Evaluate the function does not not in obiee 11.1.1.7

    Hi all

    I finished the upgrade of obiee 11.1.1.5 to 11.1.1.7 on-site.

    After that I get an error when running a report, which is created using function must be evaluated.

    [nQSError: 43113] The message returned by OBIS. EVALUATE_SUPPORT_LEVEL inside the NQSConfig.INI is not set to support EVALUATE

    In my NQSconfig.ini I coundnt find EVALUATE_SUPPORT_LEVEL. So I added under content in the file NQSConfig.ini

    # EVALUATE_SUPPORT_LEVEL:
    # 1: evaluate is supported for users with the permission of manageRepositories
    # 2: evaluate is supported for all users.
    # other: assess only is not supported if the value is something else.

    EVALUATE_SUPPORT_LEVEL = 2;

    After this, I restarted BI services. But still, I am faced with same error.

    Guide me in this regard.

    Thanks in advance.

    Hi RR,.

    Try this scenario,

    Create a dynamic variable repository in RPD and use this variable in responses like BI @{biServer.Variable ['variable_name']}

    Check if helps.

    Thank you

    Sara - Sara OBIEE

  • How do the function of Oracle database in OBIEE Administration tool

    Hi all
    I want to use an Oracle database function as a column in OBIEE (BM, presentation model). Can someone made this inOBIEE. Pointers to this is much appreicated.

    Thank you

    Hi user7417334,

    You cannot use the formulas in the presentation layer (not that I know well). But you can certainly use functions of oracle database in MDB layer.

    You want to use the function EVALUATE. It works like this:

    can EVALUATE (' TO_DATE (%1, %2) "AS DATE, 31 December 2009", "MM/DD/YYYY" ")

    Generic version: EVALUATE ('' AS , value1, value2, etc.)

    FUNC) is the syntax for the function you are calling. All parameters must be replaced with %, where number refers to the order in which you specify your settings.
    DATATYPE) the type of data that will allow to evaluate the function. In this case, the DATE.
    Value1) the last part of the formula is a list separated by commas of all parameters used in the function. In this case, this is the date I want to ride
    Value2) is the second parameter. You need as many times as you have referenced in your function. In this case, it is the date format.

    Good luck and if you found this post useful, please give points!

    Best regards

    -Joe

  • How can I escape commas inside the function listQualify?

    I have

    am a newbie in coldfusion. I need help. My database has records of names of companies as: abc, Inc. For now I'm using this query:

    SELECT DISTINCT COMPANY FROM ComapanyTable WHERE (Company IN (#ListQualify(form.cCompanyList2, "'", ",")#))

    This problem is that it separates CBA, Inc..

    SELECT DISTINCT Company FROM CompanyTableWHERE (Company IN ('abc',' Inc.','xyz','Inc.'))

    I need to get the list, as it is, i.e. as: "abc, Inc.", "xyz, Inc." so that I can later insert these values into a new table.

    Insert the code:

    <cfquery name="insertPair" datasource="#DSN#" dbtype="ODBC"> INSERT INTO tblChildCompanyToParent (Parent_Account_ID, Child_Account_ID) SELECT DISTINCT <cfqueryparam value = "#form.pCompanyList#" CFSQLType = "CF_SQL_VARCHAR">, Company FROM CompanyTable WHERE Company IN (<cfqueryparam value="#ValueList(insertSelect.Company,';' )#" CFSQLType = "CF_SQL_VARCHAR" list="true" separator=";">) </cfquery>

    Code of the selection list

    <select multiple name="cCompanyList2" id="cCompanyList2" class="selectCCompany" data-attribute="selCCompany" size="10"> <cfloop query="childCompanyList"> <option value="#childCompanyList.Child_Account_ID#">#childCompanyList.Company#</option> </cfloop> </select>

    Y at - it anyway to solve this problem.

    Thank you for your help.

    I managed to fix it.

    I posted the solution to StackOverflow

    SQL - how can I escape commas inside the function listQualify? -Stack overflow

    Thank you once again!

  • Syntax of the function Evaluate in OBIEE

    Hello
    I have traveled the docs but could not find the syntax for the function Evaluate. Could someone pass me the full syntax and if possible a useful example against essbase.
    Thank you

    Hello
    without a doubt

    syntax:- REVIEW ('your db function (%1, %2)', list of parameters)
    %1 and %2 here no.of (columns or constant values of May) parameters to pass to the function db
    If you have 3 parameters, you must also use %3... We hear the columns to move.

    following exapmples are for ORACLE db,
    EX1: EVALUATE ('upper (%1)', "kishore kumar") gives the result-> KISHORE KUMAR
    Ex2: EVALUATE ('upper (%1)', 'Markets.Region') Markets.Region this is column.

    Alternatively, you can call the functions defined by the user through to reassess
    Evaluate ('functioname (%1, %2), column1, column2)
    the function above has 2 parameters input

    Thank you & best regards
    Kishore Guggilla

    Published by: Kishore Guggilla, January 16, 2009 23:00

  • Remove the flange in the POSIX path quotes

    Hello

    I use quotes from the POSIX path form for an AppleScript script to move files in arguments to a script shell (a process automator (see automator man)).

    When the process is complete, I would like to pass the result to another action, but the chain is cited like this:

    "(

    \"/Users/conmeubonailleuco/temporaire/converted/01.one way Ticket. mp3\ «»

    \"/Users/conmeubonailleuco/temporaire/converted/02.knockers.mp3\".

    )"

    Instead of:

    (

    "/Users/conmeubonailleuco/Temporaire/converted/01.One way Ticket.mp3."

    "/ Users/conmeubonailleuco/Temporaire/converted/02.Knockers.mp3".

    )

    What is the function to use to do?

    Thx a lot.

    Use code such as:

    points-2 '\"/Users/conmeubonailleuco/Temporaire/converted/01.One Way Ticket.mp3\' 2' as string

    (139074)

  • Why the function of integrated separator string is missing in Oracle?

    Hi all

    It's maybe a generic/discussion question. And it's purely for learning about how Oracle prioritizes its development on the functions in construction.

    Well, we have very userful built-in functions (http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions001.htm) is transformed during the versions of Oracle from simple to very complex (syntactic xml and data mining functions)

    But why is this important function to split a string has been neglected (may not be the right word) by Oracle.

    Be a learner curious and admirer of such a wonderful technology database called Oracle, I always thought that it must have a dedicated channel, divide the function.

    My question is: is this something that can be generalized in a built-in function?

    or

    Is he coming releases?

    At least a simple function first (I guessed right his name would be splitstr and the very basic features to do our job of splitting, maybe I'm wrong in thinking this way, please correct me if...) Thank you in advance!)

    splitstr('A,B,c',',','col')-> (separator ',' and the fractionating column mode)

    Output: A B C (three separate columns)

    splitstr('A,B,c',',','row')-> (separator ',' and the mode line split)

    Output:

    A

    B

    C

    ----------

    If oracle has this, there will be a lot of code reduced and we can be saved by connect or recursive with clause or as a matter of fact even xmltable (with or without tokenizer ) for the separation of the channels.

    What you have to say about this? You can ignore this naïve question if is not a value you answer.

    And thanks for everyone who reads this discussion!

    See you soon,.

    Manik.

    Can you please help me understand why Oracle has its participation in develping and DBMS_UTILITY.COMMA_TO_TABLE now then?

    http://docs.Oracle.com/CD/B19306_01/AppDev.102/b14258/d_util.htm

    Oracle can only tell you why they have developed this particular function. But the fact that Oracle included in a package of "utility" tells me that they do not consider that there was a generic number of use cases. These functions often begin as internal functions that Oracle decides to publish.

    But if you read this API spec you'll see that he does that to a VERY PARTICULAR use case and has several restrictions.

    The list must be a list separated by commas of non-vide: another thing that a comma-separated list is rejected. Do not count the commas inside double quotes.

    Entries in the list separated by commas may not include multibyte and dashes (-) character.

    Also, returns a collection which would normally be used only for a very limited number of items.

    It is not yet near a general-purpose function.

    A major complication with such a function in SQL is sql is generally used with more than one, or even millions, of lines.

    How you specify to Oracle where to put the collection on each of these lines?

    New - Oracle is a relational database. With the help of sql to manipulate collections is NOT a relational paradigm.

    Just my opinion. Others can and will disagree. But you may have to wait for the weekend for these answers.

  • Writing bug when you use the function to import .txt (Acrobat Pro DC)

    I'm trying to redact large sections of a document using the function import .txt to select phrases or expressions. It works great, except if there is - or '. In this case, Acrobat bad reads the text file, per the screenshot below. If I copy the sentence from the PDF file and add it in the same manual, it seems in good condition. If I paste the Clipboard even in a txt and then import the text, he result is bad reading and so cannot find the phrase in the document.

    Screen Shot 2016-04-17 at 9.42.45 PM.jpg

    It seems that the TXT file was done in Word and saved in Unicode format. and used quotation marks. Quotes in general are a big problem as three different characters are used for them and corresponding can be difficult; and 4 hyphen/as of the characters.

  • need help on image blob retriving of table... I need to use the function

    I have a single display field and I tried to retrieve a value using the function... The idea of using the BLOB comes from the following example...
    http://dgielis.blogspot.in/2008/07/show-blob-of-other-table-in-apex-form.html

    I created the following function... has only function display.
    "return ' < img src =" "|" APEX_UTIL. GET_BLOB_FILE_SRC('P375_PICTURE',1204,,'inline') | '" />';

    but the output is undesirable character
    The output is the following
    < img src = "" apex_util.get_blob_file? a = 231 & s = 16387884076007 & p = 375 & d = 26249204291254605 & i = 26247831247254566 & p_pk1 = 1204 & p_pk2 = & p_ck = C226897F204BFA329F601AF2ED72ECDA & p_content_disposition = inline "/ >"

    Using apex 4.2 db 11g release 2 xe
    1204 here are a few magazine_id
    Here's my blob table structure
    xxx_picture
    xxx_no number (10),
    BLOB of photo
    picture_filename
    picture_mimetype
    image_last_update
    I am able to recover the data via interactivereport but I will lke to recover their data that show only the BLOB field

    Can someone please guide. . I could hurt
    Thank you

    Published by: zycoz100 on April 28, 2013 01:05

    zycoz100 wrote:
    I have a single display field and I tried to retrieve a value using the function... The idea of using the BLOB comes from the following example...
    http://dgielis.blogspot.in/2008/07/show-blob-of-other-table-in-apex-form.html

    I created the following function... has only function display.
    return '';

    but the output is undesirable character
    The output is the following

    To get a displayed item to render in HTML, in the definition section Security value escape special characters notitem.

    For a column of the report, ensure that the column attribute text to display as report is report Standard column rather than the default display text (escape special characters).

    However in the APEX 4.x, using an element in the Image display and support declarative BLOB is preferable to these manual methods. Images can be formatted using the HTML attributes of the element form of property, or via CSS element.

  • getting this error on the function g 10 isn't a return type

    See the function down
      TYPE ptr IS REF CURSOR;
      FUNCTION check (check_part IN VARCHAR2, check_vendor in varchar2) RETURN ptr;
    FUNCTION check(check_part IN VARCHAR2, check_vendor in varchar2) RETURN ptr is
      
       my_ptr ptr;
        
       check_cnt number(30);
       default_cnt number(30);
          
      BEGIN
        
      select count(*) into check_cnt
      from table_one ps
      where ps.part_number = check_part
      and ps.vendors = check_vendor;
      
      select count(*) into default_cnt 
      from table_one lm 
      where lm.part_number = check_part
      and lm.vendors = 'UNKNOWN';
      
      if (check_cnt = 1 and default_cnt = 0) then
       
        OPEN my_ptr  FOR
        
          SELECT tp.id,
                FROM table_one tp 
          WHERE tp.part_number = (check_part)
          and tp.vendors = (check_vendor);
      return my_ptr;  
        
    elsif (default_cnt = 1 and check_cnt = 0)  then
    
          open my_ptr for 
          
          SELECT tp.id,
           FROM table_one tp 
          WHERE tp.part_number = (check_part)
         and tp.vendors = 'UNKNOWN';
    
    return my_ptr;
    end if;
    
      
    END check;
    Please note that I use oracle 10g all the... Any help is appreciated. Thank you.

    Published by: user13328581 on February 6, 2011 19:36

    sql_dev wrote:
    Hello

    Better just to have a simple statement in the else block

    ELSE
    open my_ptr for
    SELECT NULL
    FROM DUAL;
    return my_ptr;
    

    So whenever the IF fails, your other work without value in the cursor.

    In fact, this slider returns a single row that contains a NULL value.
    Better add a condition that will always evaluate to false (0 = 1).

  • syntax of the function

    Hey hii

    I just wanted to know that is it possible to just find the syntax a function integrated in oracle?


    as we in cmd on windows or ny else the help command, so we know what are the arguments to this function.

    810345 wrote:
    Hey can u please explain
    say that my function is substr how to know abt his arguments using dictionary

    You already know that information is contained in all_arguments. To see what information is available:

    DESC  all_arguments
    

    Output:

    Name                                      Null?    Type
    ----------------------------------------- -------- -----------------
    
    OWNER                                     NOT NULL VARCHAR2(30)
    OBJECT_NAME                                        VARCHAR2(30)
    PACKAGE_NAME                                       VARCHAR2(30)
    OBJECT_ID                                 NOT NULL NUMBER
    OVERLOAD                                           VARCHAR2(40)
    ...
    

    For the functions built-in such as SUBSTR, you know that the owner is SYS, and the name of the package is STANDARD, so you can say:

    SELECT     *     -- or list specific columns
    FROM     all_arguments
    WHERE     owner          = 'SYS'
    AND     package_name     = 'STANDARD'
    AND     object_name     = 'SUBSTR'
    ;
    

    Remember, anything inside quotes is case-sensitive, so "Sys" or "sys" work above.

  • the problem of reuse based on the functions

    I read the text in quotes as follows a book written by a Microsoft Developer. I googled and found a good number of citations of it, but did not find any explanation.

    ============
    With languages like C, the basic unit of re-use is the function. The problem with reuse based on a function, is that the function is coupled to the data, he manipulates. and if the data world, a change to a function in the context of re-use infringes another function used somewhere else.
    ============

    C using the libraries widely, which is to reuse based on functions. Kindly can anyone give me a scenario where this problem occurs?

    Java is usually based on objects for reuse, and I confess that my question is not a Java. But I think that would help to better understand the concept or the benefits of the Java language design. So, thank you for allowing me to ask this question here,

    Published by: 799160 on September 30, 2010 12:38

    Published by: 799160 on September 30, 2010 12:57

    That's what I came to read the quote you posted:

    I guess something like the following might happen:

    You (being a person in General) have received a class change. You examine the code for the first time, and it has a bunch of methods and variables of class in it. Some methods use class variables. How can you be sure that if you change the functionality for editing a class variable in one method will not affect the other methods when they are used? This problem can be solved by learning everything that is and how it interacts, the correct way to use it. But then again, if you don't think about it and to make changes... Oops!

    -----

    Maybe another abstract example would be wise:
    Imagine a calculator that could be used by 2 people at the same time? I bet it would come with a few funny answers :)

    -----

    I hope that I wrote a short example of this, he makes some sense:

    public class SuperBigProgram
    {
         private int globalVar;
    
         public static void main ( String[] args )
         {
              new SuperBigProgram();
         }
    
         public SuperBigProgram()
         {
              System.out.println("I'm a super big program.");
    
              globalVar = 0;
    
              //Let's pretend these series of events occur during the program:
    
              doItHighChanceActivity(); //1
              doItHighChanceActivity(); //2
              doItHighChanceActivity(); //3
    
              //Whoops super rare event occured!
              doesNotHappenALot();
    
              doItHighChanceActivity(); //4????    but is really 5.
         }
    
         /**
          * This happens A LOT!
          */
         private void doItHighChanceActivity ()
         {
              superUtilityMethod();
    
              System.out.println("globalVar: " + globalVar);
         }
    
         /**
          * This utility method does some awesome utility stuff for our Super Big Program.
          * This changes some global data.
          */
         private void superUtilityMethod()
         {
              globalVar++;
         }
    
         /**
          * This does not happen a lot, if at all.
          */
         private void doesNotHappenALot()
         {
              //Hey I don't happen a lot but I'm reusing this really cool utility method that contains global data...
              //Code reuse for the win!
              superUtilityMethod();
         }
    
    }
    

    Here is the result:

    I'm a great big program.
    globalVar: 1
    globalVar: 2
    globalVar: 3
    globalVar: 5

    Published by: kilosi on Sep 30, 2010 13:22

  • How the batch of photos of change in Version 2.0 of Photos... impossible to find the function.

    How the batch of photos of change in Version 2.0 of Photos... impossible to find the function.  If it has been deleted to "improve" the Photo experience?

    Lot, what exactly will change?

    Titles, Descriptions and capture date - Yes.

    Select the images you want to change the title or the description and to set-up the info (command-i) pane.  Enter the title or the description in the appropriate field and he will be assigned to all selected pictures.

    If you want to batch, change the title with sequential use attached many Applescripts provided by users in the Photos for Mac user tips section.

    Batch change/correction of dates is provided by the Image ➙ setting Date and time menu option:

  • I have an iMac 27' 2012 with macOS Sierra and Apple Watch with watch OS 3, I can use the function "Log?" in Apple Watch

    I have an iMac 27' 2012 with macOS Sierra and Apple Watch with watch OS 3, I can use the function "Log?" in Apple Watch

    Hi John 2078 Tito.

    I understand that you have updated your iMac and Apple Watch and now you're curious about unlock your iMac using your Apple Watch. I know that it is a nice feature to be able to quickly and safely unlock your computer, so I'm happy to help you.

    This feature is available on 2013 iMacs and later versions, which means that your iMac won't be compatible. You can see more info on this feature here:
    Unlock your Mac with Apple Watch - Apple Watch user's Guide

    Thank you for using communities Support from Apple. See you soon!

Maybe you are looking for

  • 7.0 Firefox opened with an unknown and indecipherable language.

    After you download 7.0, Windows boxes for the installation initially revealed nothing but the small boxes on the entire area. I clicked on what I knew, it was the 'install' box which has been marked in a language or symbols I could understand not (ba

  • Lenovo Moto G4 growing ringtone

    Hello How can I turn off the ringer growing (and in general, if it touches other sources) on the smartphone without installing 3rd party applications? 6.0.1 Android. Thank you AndreiB.

  • face recognition function freezes

    In the last month or two, when I go to add ID to a face in a photo, the circle with handles appears on the picture, but can not be moved.  No function except for the appearance of the circle.  Any help? Col - Abe

  • I get an error saying: "WSOCK32.dll does not work properly" after playing a game on a web site.

    Hey, I'm using windows XP on my IBM thinkpad T40. I noticed after playing a game website (don't remember the URL) that my WSOCK32.dll did not work properly. It is sending a bunch of errors at startup and saying things are corrupt. I think it's a viru

  • I cannot get my webcam with MSN, no other program

    Original title: Toshiba Chicony Web cam OK, so my computer missed me, but I fixed it by reinstalling windows vista Home premium, before my webcam has jumped over the side of the screen.  Now, my webcam works for msn but I can find it anywhere on the