Request Direct DB can use Variables?

Hello

You can use presentation or the request variables in a direct request of the DB in OBIEE?

I'll have a lot of problems with the conversion of a select statement with a subquery using the guests and all that, so I was wondering if I could just handle it with the direct request of db.

Thanks in advance.

Hello
Yes, we can use variables for presentation

Syntax:

' @{p_v}', date ' @{date_v}

Thank you
saichand.v

Tags: Business Intelligence

Similar Questions

  • You can use variable substitution in the Calc script.

    Hi guys,.

    I want to use variable substitution in the calculation script. I v_SECSUBAREA that my substitution variable and its value would be like C12.00 or C13.00 or C12.00, C13.00.

    But it gives me error mentioned below by checking the syntax of the calculation script.

    Error: parsing formula [statement of DIFFICULTY] (line 15) 1200315 error: invalid object type

    Calculation script:

    -----------------------------

    FIX (& v_CLEARYEAR, & v_CLEARMON)

    FIX (& v_SECSUBAREA)

    DIFFICULTY ('REPGBP', 'REPEUR', 'REPUSD', 'local', @DESCENDANTS ("DIVISION"), @LIST(&v_SECDNBENTITY), @DESCENDANTS ("SubAnalysis"),

    @DESCENDANTS ("RTNROW"), @DESCENDANTS ("RTNCOL"))

    CLEARDATA "RESUB."

    ENDFIX;

    ENDFIX;

    ENDFIX;

    Variable substitution:

    ----------------------------------

    PRCCOR_ALLv_SECSUBAREAC12.00

    Calculation script does not have C12.00 as the value for the variable substitution. If I give FY15 then Script gives me a correct syntax.

    Please help me to get this resolved.

    Thank you

    Shruti

    Hello

    Assuming that you calculate in the PRC. Database COR_ALL.

    You may set the C12.00 value in quotes like "C12.00".

    Kind regards

    Philip Hulsebosch.

  • ODI, using variables

    Hello

    We can use variables in interfaces?

    I have to use the first day of the last month

    for example, today, the variable must generate

    01.05.2012 ' 00:00 '

    is there a choice to do this?

    After that, can I use as an interface?

    Thank you

    Another option to use TRUNC to get the same result

    Select trunc (trunc(sysdate,'MM')-1, 'MM') "First day of the last month" double

  • Use variables to display object in Captivate 4

    I would like to be able to display a check mark next to title on the table of contents page once the user displays the last page in the section.  Is it possible that I can do this, and where can I find the code?

    Thank you

    You can use variables to show/hide elements on a page.

    First add custom variables to represent the State of completion of each section. Something like sectionOneCompleted = 0, sectionTwoCompleted = 0, etc..

    Then add assignments for each of your variables at the end of each section. For example, you could define "on slide enter ' use 'assign' and give variable sectionOneCompleted set to 1.

    Then in your table of contents you can show/hide the elements on the page depending on the value of your new user-defined variables.

    1. go in the slide properties

    2. under ' Navigation: on the slide, type ' select 'execute the Advanced Action '.

    3. click on the... button next to 'the Action '.

    4. under change/create an Action, select 'create '.

    5. the action of giving a name such as ShowHideThingie

    6. in the area of large text, double-click the text of 'Statement add' light gray.  Gray 'add a statement' become a red "declaration". Double-click it again.

    7. Select 'condition' in the menu drop-down

    8. click 'Select a variable' and choose your variable defined by the user (in this case, "sectionOneCompleted")

    9. choose "is equal to" and then enter a value of 1

    10. then, you must specify what to do if the value is 1.  Under 'start' double-click 'Add education '. Select 'action Standard' in the menu dropdown.

    11. Select 'View', then select the name of the object that you want to display (each item placed on the blade has a unique ID)

    12. now, we need to specify what happens if the value is NOT 1.  Under 'otherwise... start', double click 'Add education '. Select 'action Standard' in the menu dropdown.

    13. Select 'Hide', and then select the name of the object that you are showing to step 12.

    14. click "Save" and close the window of the Actions dialogue box.

    This should be it!

    Note: I have not tested these steps carefully (written very quickly), but I hope you get the idea and can get out of here.

    -philip

  • Direct DB request - Connect 2 patterns using 2 pools of connections at the same time?

    Hi all

    Will be "Request for Direct database" feature allows to connect to two pools of connections at the same time?

    Output report is based on the UNION of two select statements from two schemas, two pools of connections are created to access two schematics

    First select statement comes from a single schema and second select statement just forming the other

    Select Column1, Column2, Column3 from A, B, C
    UNION
    Select column4, column 5, column6 of X, Y, Z

    A, B, C paintings come from the first schema and X, Y, Z come from another

    How to get the above out put using "application for Direct database"

    Kind regards
    SMA

    It is a very bad idea. If you connect to the same base, then it will be much better to simply synonymous and grants between the schema1, schema2 objects so that you can use a single connection. You query will go much quicker since the BI server do not have to run separate queries to stich together data. If the data are two different databases, it is advisable to do some ETL and group all the data in your Data Warehouse database.

  • What are the parameters? How are Variables differenet? Why we can not use variables to pass data to one sequnece to another? What is the advantage to use parameters instead of Variables?

    Hi all

    I am new to TestStand. Still in the learning process.

    What are the parameters? How are Variables differenet? Why we can not use variables to pass data to one sequnece to another? What is the advantage to use parameters instead of Variables?

    Thanks in advance,

    LaVIEWan

    I'm sorry... I discovered that... its not at all possible to pass data to another sequence using variables... it must be through settings... once again I apologize for the display of such a stupid question

  • How can I use variable presentation logic SQL

    Hi Experts,

    How can I use variable SQL logical presentation. I need the exact syntax. Kindly help me to achieve this goal.

    "Time". "" Date "between the Date of 2014 '-1-17 'and Date' ' 2014-2-16

    Thanks in advance

    Asim

    It's done... We can use it in the logical query with the same syntax where we use in converting this filter as SQL...

  • can use us Variable to update a column

    can we use variable to set the value in an update statement.


    As below

    DECLARE
    V_CNT NUMBER (10);
    BEGIN
    SELECT BAD_REC_CNT IN THE V_CNT OF C$ TEMP_REC;
    RUN IMMEDIATELY "UPDATE Record_count SET ERROR_RECORDS = V_CNT WHERE SESS_NO = 981002';
    COMMIT;
    END;

    When I tried, it gives me error like below

    ORA-00904: "V_CNT": invalid identifier
    ORA-06512: at line 5
    00904, 00000 - '% s: invalid identifier '.

    To bind this variable

    ...
    EXECUTE IMMEDIATE 'UPDATE Record_count SET ERROR_RECORDS = :V_CNT WHERE SESS_NO=981002'  USING V_CNT;
    ...
    

    The name of the connection variable was not the same as the name of the variable you use to tie the value. It is a positional notation, the variable so first after using will first bind variable (identified by :))

    HTH

  • You can use a variable instead of movieclip linkage to addchild?

    var high: MovieClip = MovieClip (root);

    Top.menu3.addChild (Member [i - 1] .scenarioplayed);

    I want to add components to a movieclip based on the value of i.

    The clips are named menu3, menu4, etc..

    Is there a way to do just what part of "top.menu3" a variable?

    I tried this but had a compilation error:

    Symbol "scene3', layer 'Actions', image1, line 1611061: call to a method perhaps addChild undefined, through a reference with static type String.

    var menuName:String;

    menuName = "top.menu5";

    menuName.addChild(member[i-1].scenarioplayed);

    For the code you just showed, NomMenu is a string.  String do not have a method addChild.

    We know not what you work with to get what you want, but if you want to use string to the objects of the target values, you can use the notation of support...

    var menuObject:MovieClip = top ['menu5'];

    menuObject.addChild(member[i-1].scenarioplayed);

  • You can use a variable as a variable name as you can do it in Perl?

    So say there are 10 clips on the stage, each named mc1 mc2 mc3 etc. I have a function that sends the name of a movieclip in a public class, and I need to be able to change the image of this movieclip according to the string that is sent. Say so my class is the function declaration:

    moveFrame (theMovieClip);

    where theMovieClip is the object returned by another function.

    Is it possible to use this variable somehow?

    The concept of what I'm trying to do:

    function moveFrame (s) {}

    s.gotoAndStop ("the framework law");

    }

    Who is? Is this possible or should I find another solution?

    If the argument of the function (s) pointing to the object, then your code as shown should work.

    s.gotoAndStop ("the framework law");

    If the argument points to the name property of the object, then you will need to use the getChildByName() method to target the instance.

    this.getChildByName (s) .gotoAndStop ("the framework law");

    If the argument is a string version of the name of the instanceobject, you can use the support rating to target the object...

    This [s] .gotoAndStop ("environment law");

  • Business rule can use replacement variables in Essbase?

    Hi all

    I use Hyperion Essbase, EAS and planning with the version 9.3.1.

    1 can. business rule we use replacement variables in Essbase?

    2. how to update the rule of business planning workspace changes?

    See you soon,.
    Simon

    Hello

    Yes you can use substitution variables, as calc scripts use the ampersand & and name of the variable, for example & CurrYr

    I don't know what you mean by the second question, if you make changes to the business rules in the environmental assessments, so that all you have to do, planning of calls is the same repository for information of business rule.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • We use Flash Pro CC creating animations with legends and export to html 5.  We must translate the captions in other languages. How can we download translation of texts in our flash animations so we can use them in html5 using CreateJS?

    We use Flash Pro CC creating animations with legends and export to html 5.  We must translate the captions in other languages. How can we download translation of texts in our flash animations so we can use them in html5 using CreateJS?  I use the Flash on a Mac OSX 10.10.3

    Are you familiar with JavaScript?

    It does not completely answer your question, but the text displayed on the screen from any language (ActionScript/CreateJS / [insert the programming language]) generally all following the same path. Each language has a file stored in some form of key = value style, named through the language and the country of your choice, for example en_US.json

    Any language would allow the user to choose regional settings. The application would then grab the appropriate file and everywhere where the text is needed, the script must be using a (usually global or singleton) variable/service that can get the text of the requested key.

    for example if I wanted a user to have a confirmation of dialogue who said 'are you sure?"with buttons for 'Yes' and 'No', I would have (for me), an Englishman, USA base file en_US.json with these values, for example:

    en_US. JSON example:

    {

    'CONFIRM_YES_NO': ' are you sure?

    'YES': '' Yes. ''

    'NO': 'no '.

    }

    Then you use simply JS/AJAX to read this file. You analyze, or simply JSON decode in an object, or manually, depending on what suits your needs. When you want to display any text, you use the object (variable, maintenance, etc.) you have stored these values.

    for example calling to display function confirm dialogue:

    Nickname... but if you understand...

    and this comes from jQuery UI (see here)

    function confirmDialog() {}

    $(«#dialog-confirmer»).dialog({)

    Title: LocalizationObject ['CONFIRM_YES_NO'],

    buttons:]

    {

    text: LocalizationObject ["YES"],

    Click: function() {/ / do something for 'yes '.

    }

    {

    text: LocalizationObject ["NO"],

    Click: function() {/ / do something to the 'no '.

    }

    ]

    });

    }

    Please consider loosely. 'LocalizationObject' is a variable object or service that returns the appropriate text for the key that you provide. In this case, he provided the key 'CONFIRM_YES_NO', 'YES' and 'NO', which must be on the right answer for this key, localized.

    Again, this is not a manual on how to do it via Flash Pro but it's the general conceptual way you could do it in any language. There are a variety of other ways to do it, but it's a very simple way, as long as you keep your key names at least wake up verbose. A key name such as LocalizationObject ["ABC123"] is not really tell you what the key can be referred. Also nest them contributes greatly, as LocalizationObject ["UI'] ['DIALOGUES'] ['CONFIRM'] ['YES_NO'] = ' are you sure? It just shows I nested the title of the dialog within the user interface, because it is the text that appears in the user interface rather than content. Then inside dialog boxes that may contain a variety of different dialog boxes. Then inside her CONFIRM type of dialogue. Finally, the type is a dialogue YES_NO type (as opposed to OK_CANCEL or JUST_OK, etc.). Whole set makes it easy to understand what the text of reading: UI YES_NO confirm DIALOG boxes.

    I hope that from here you can see that you need to review everywhere you display text on the screen and centralize it in a sort of object (function or variable) of your choice. You must store the external language files to prevent unnecessarily load the other languages as well as an easy to modify Setup.

    The rest is just using basic JavaScript.

    Just be ready for the most difficult challenge. At least for me. The size of the text in several languages is very different, and in some cases requires the loading of special fonts. This can make layout in a very difficult dynamic environment. Always thinking all text how big or small can be in any particular and plan field on this size more and shrink so that to handle this situation correctly.

  • For each connector where I can use BMC Remedy?

    Friends,
    Could you help me to find the differences between BMC Remedy Connector
    -BMC Remedy Ticket Management
    -BMC Remedy user management

    For each connector where I can use it?


    Thank you

    An easy!

    Management of Ticket BMC Remedy: I hope you are aware that means product BMC of ticketing. In simple terms, it is a query interface which allows yo to create tickets (requests) for anything. If your traditional application interface is BMC ticketing for all target systems and you want to continue to keep the query pattern as even for targets that can be connected to IOM for the direct supply and this connector allows you to create a similar ticket BMC using the interface of the IOM. Examples could be physical access phone card IDENTITY etc.

    BMC Remedy User Management: now I said BMS is a request se management fees, so there all workflows created in itself. So when you have the workflow, we'll also users to fall in some parts of the workflow approval and action. These users are managed via this connector.

    Thank you
    SRS

  • Presentation using variable multiselect control

    Hi all

    I have a requirement.
    I show a dashboard page that contains a direct SQL query and a command prompt. Guest must make a multiple selection control.

    The SQL query is the following:
    Select user_name, user_id table_name from where user_id = @{presentation_variable}.

    The presentation variable will be declared in the guests, can I use it in the sql query.
    But when we choose multiselect control, it does not show the area where we can declare a variable of presentation.

    It allows us to declare the variable of presentation when we choose drop dwon control, in which a single value is selected.

    Can someone guide me how I can use multiselect with direct SQL query, then several values can be passed to filter results.

    Thank you.

    Hi rgksugan,

    Variable presentation can't hold any more value, so we cannot define variable presentation (set variable) multi Select

    How can I use multiple selection with direct SQL query,

    You can't do that with multi select

    Thank you
    saichand.v

  • You can use migration assistant to transfer the time machine backup external hard drive?

    Hello. I just bought a new macbook pro with a 256 GB flash drive to replace my previous macbook pro that had a breakdown of all the systems. My problem is that I have a time machine backup that is greater than 256 GB (it's almost 450 GB) and I try to find out if I can use migration assistant to transfer all the content directly on an external hard drive, then move the content I want on my hard drive from the external hard drive? My goal is to let my music and photos on the external hard drive and for all port hardware I need for work.

    I don't have access to another mac with storage well enough that I have the old HD so could potentially be installed in an external enclosure and extracted files directly from there if it's easier.

    What I intend to do in the long term is to buy a big external hard drive network and put all my photos, music etc over there and use the laptop as expected - that is for files from day to day - then it will be just a short-term problem.

    Any advice would be really appreciated.

    Thank you

    Nick

    Migration Assistant is user to transfer data from one computer to the other.  If I read your post correctly, you want to copy your data from Time Machine on another HARD disk.  Thia may be useful:

    http://pondini.org/TM/18.html

    Pondini website covers virtually all aspects of Time Machine.

    Ciao.

Maybe you are looking for