IS IT POSSIBLE TO CHANGE DINAMICALLY THE SOURCE OF A QUERY?

IS IT POSSIBLE TO CHANGE DINAMICALLY THE SOURCE OF A QUERY, AND TO SHOW DATA FROM DIFERENT TABLES, BASED IN USER PARAMETER VALUE?.
EXAMPLE:
IF USER PARAMETER = 1 THEN
SELECT COLUMN1 FROM TABLE1
ELSIF USER PARAMETER = 0 THEN
SELECT COLUMN2 FROM TABLE2
END IF;
ANY OTHER IDEA??
THANKS FOR HELPS.

Read the online help about lexical parameters.
Select a from &p_1
should work.

Similar Messages

  • Is it possible to change what the "Slide to Unlock" says? I was told you could personalize it to say whatever you want.

    Is it possible to change what the "slide to unlock" says? I was told you could personalize it to say whatever you want.

    yes you can change is there are some free and some paid apps in the apps strore search them and you will find then
    <Edited By Host>

  • Is it possible to change just the ram on the motherboard (G5) or do you have to change the motherboard?

    Is it possible to change just the ram on the motherboard (G5) or do you have to change the whole motherboard?

    I do understand that... but this is the problem - The computer freezes when it is put to sleep (and sometimes more frequently). Apple told me that it could be three things: ram, hard drive or the motherboard. - take the ram out and then put the computer to sleep, if it still freezes than it is one of the other two and not the ram. They told me that there is ram on the motherboard. So I tried that and the computer wouldn't even boot up. So I thought the problem is the motherboard and possibly the ram on the motherboard. I really have no idea what I am doing, I just don't want to have to throw a $3,500 (when new) computer away.
    Thanks!

  • Mac version - Is there a possibility to change to the windows version?

    Hello Adobe team, 
    I bought an Adobe Creative Suite 6 Master Collection as "Student and Teacher Edition" for MAC in 2013. I am now working in a pure Windows environment and would like to exchange the product in a Windows version. Alternatively, I could also imagine to sell my software and to use the cloud version. What are my options?   1. Is there a possibility to change to the windows version?   2. Is it allowed to sell the “Student and Teachers Edition”? And if so, only to students and teachers?   THANKS for the help! The software was quite expensive ...

    2. Is it allowed to sell the “Student and Teachers Edition”?
    No. The whole point of the special licensing is that it's meant to support people in education or else the low price wouldn't exactly make sense - if everyone just bought used edu licenses, Adobe would bankrupt in a predictable timeframe.
    1. Is there a possibility to change to the windows version?
    Order product | Platform, language swap
    Mylenium

  • How the Drill down functionality works if the source is Bex Query

    Dear All,
    How the Drill down functionality works if the source is Bex Query through the query browser in Dashboard 4.1
    Please let me know process.
    Thanks
    Regards,
    Sai

    Hi sai,
    Drill down can be done by two ways.
    1. you need to bring all the data in one shot to the spreadsheet and then by using the components you can achieve it. Below given link explains in detailed about that.
    Filtering Through Combo Box
    2. you can use different set of query to pass the value from one set to another to fetch the data using the prompt. please check the below which explain them.
    Difference between "When value Becomes & When value Changes"
    Revert any clarification required on this.
    --SumanT

  • How to find the source generating DNS Query

    Hi team,
    we are getting error message for DNS total query
    Received/sec is getting more than 250 . can any one help me how i know the source where these query are generated .
    DNS Total Query Received/sec is 308.11; >TH = 250
    Regards, Triyambak

    Note: For this to work correctly you’ll need to run this part of the process from a domain controller. In this example I’m using a 2012 R2 DC but the process should be the same for 2008 and 2008 R2, unfortunately this process doesn’t apply to 2003 DCs, for
    sure you can use SPA and get similar information but the good thing is that you’ve got rid of those old 2k3 DCs right?
    http://blogs.technet.com/b/askpfeplat/archive/2013/12/16/domain-and-dc-migrations-how-to-monitor-ldap-kerberos-and-ntlm-traffic-to-your-domain-controllers.aspx
    You can add the DNS
    Regards~Biswajit
    Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights.
    MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, MCTS, Enterprise Admin
    MY BLOG
    Domain Controllers inventory-Quest Powershell
    Generate Report for Bulk Servers-LastBootUpTime,SerialNumber,InstallDate
    Generate a Report for installed Hotfix for Bulk Servers

  • Capturing the DML changes on the source and writing to a temporary table

    Am trying to set up a change data capture where both the source and target would be the same database.
    like in my case i would like to capture changes from a table schema.xyz in a orcl database and write it to a temp table within the same database. My concern here is , the table schema.xyz is already replicating to a different database on a different server.
    Any ideas on how this can be achieved?
    I thought of setting up a different extract process and capture the changes and write to the temp table , but not sure if this is manageable.
    Thanks,
    Venky.

    Just tap into the existing trail if the change data is already there. There's no need to have a second extract in that case. So ADD REPLICAT and specify the EXTTRAIL the same as the EXTTRAIL for the redo log extract.
    OGG won't pick up truncates by default. If the row is gone before the update arrives at the target table then you can use INSERTMISSINGUPDATES. When using this parameter make sure that you add supplemental logging (ADD TRANDATA) for columns that you need but that may not be updated (e.g. target columns with NOT NULL or FK constraints).
    Good luck,
    -joe

  • Change in the source system

    Dear All,
    We have currently BW 3.5 and CRM R/3 server up and running in Production.
    Now CRM server is being upgrade to CRM 7.0 . Now i being the BW consultant needs to find out what is that needs to be done at BW side.
    My idea :-
    1) We first need to create a new Source system and repllicate all the data sources in bw system.
    2) Assign this datasource to the old infosource.
    3) create an infopkg and try loading the data once again to the old cube.
    We can ahieve this in Dev system and then transport the Transfer rules again to BW Production system.
    Can we directly get this done in Production system????
    Kindly add your idea to this list and suggest if we can do this directly in the Productions system without the need to transport the Transfer rule from Deve system.
    Thanks & Regards,
    Anup

    first, temporarily disconnect the source system connection when the upgrade is started...
    after that as you said, please transport the transfer rules from DEV box to production box. it is not advisble to do directly in production box.
    Since the end user is having access to the production box, it is not advisble to open the production box as modifiable and allow to changes.
    Hence we cannot take long down time isnt..? After upgrade is done, please restore the source system connection.
    Better you dont delete the source system of your CRM system in BI.
    Hope this would help you.

  • Change of the source system

    Hi
    all
    Background installation from  SAP r/3 was already done and the system is up and running.
    Now i would like to replace the SAP R/3 with ECC version , where I must replicate the same extractor now with obviously a different version of  ECC.
    I wonder if the source system change will effect the similar infoobjects which were already installed and assigned to a different source system.
    Please explain me the effect and defects, or if any changes on the master data already existing.
    thanks

    When you change the source system - all your transfer rules , data sources etc will be gone and you will have to do them again.
    The master data and transacton data will not be affected only that you will have to init the same again and deltas subsequently...
    You could instead - keep the old system connection alive and then create a new set of transfer rules , data sources etc for the new system - that way you can have the old Transfer rules , data sources active and then have the coding done the for same alive for reference as well..

  • D.O.T - Is it Possible to Change/Increase the Default Values?

    Well, I reckon it isn't, otherwise people wouldn't be recommending to not use D.O.T and just use manual overclocking.  However, I figured I would ask anyways, seeing as D.O.T is quite a useful feature that I would like to use.  
    My situation is I have a P4 2.8C which runs stable at 3.5GhZ.  Obviously, for the fastest speed, I use manual overclocking with the system clock at 250Mhz.  The maximum D.O.T will overclock to is somewhere around 230Mhz.  Not bad, but then again, still noticeably slower.  So I was curious if it were somehow possible to change the default D.O.T overclocking values to tailor them to your specific maximum speed.  Thanks in advance for any replies.

    Hmph...
    That's really a shame, considering they could have had an alternative to Intel's Enhanced Speedstep which hasn't even been released yet on their newer chips.  Seems to be a waste to have this special corecenter chip and dynamic overclocking feature, yet have it's hands tied when it comes to speed.

  • Failed to find out the source table of query in the formated search

    Dear All,
    I am trying to find out how to know the table that it is the source of a formatted search query. In the query manager --> formatted search --> select one of query --> double click to see the query. I see the query but I can't find out what table it will be used if the query like this :
    SELECT $[$13.87.NUMBER] - ($[$13.9.NUMBER] + $[$13.88.NUMBER])
    If I go to receipt from production form, the column no relate to the above query are mixture of IGE1 and OWOR, so what actually the table must I choose if I redesign the above query from query generator. I need your help to solve this question. I appreciate your answer. TIA
    Rgds,
    Steve

    Hi Steve,
    Assuming the FS is currently assigned to a form field you could try the following:
    - Look in OUQR for the query and get it's id (OUQR.IntrnalKey).
    - Look for this id value in CSHS.QueryID and check the FormID value of any records listed. It's not the table name you're looking for but the FormID might help e.g. 139 = Sales Order = ORDR/RDR1 etc.
    Hope this helps.
    Regards,
    Andrew.

  • I want to upgrade to Lion but have been told I can't because i don't have a intel based system.  Is it possible to change out the motherboard etc to do this upgrade

    I want to upgrade to Lion but hav ebeentold I can't because I have a G5 non intel based system.  If this is true can I change the motherboard and install Lion

    If you are running Snow Leopard OS 10.6 you do not have a PPC Mac as they cannot run it, so you already have an Intel Mac. The question is, which one?
    Lion requires an Intel-based Mac with a Core 2 Duo, i3, i5, i7 or Xeon processor and 2GB of RAM, runing the latest version of Snow Leopard. The Lion upgrade can be installed on all your authorized personal Macs.
    But in any case you cannot replace the motherboard with a different one in any Mac.

  • How can I change the source DB?

    Hi all,
    I have implemented an ETL with OWB where the source DB and the target DB both are Oracle.
    Now I have the same source (the same structure, tables, indexes,...) DB in MSSQL. Then my question is: how can I change the connections without modifying the mappings?
    I only want to change the source DB in Oracle to the same DB in MSSQL, therefore the mappings that are getting the data from Oracle then will get the data from MSSQL DB. Is it possible? or I have to create new mappings for MSSQL?
    Many thanks in advance,
    Victor.
    p.d. hope my english is understable

    Hi
    To have one set of mappings that could be switched to point to one system or another would be possible using synonyms to the source, where the synonym could be refined at runtime.
    You can have unbound table operators in OWB mappings that would be the name of the source item. It helps to understand a little about how the code generation works in order to do this. If you use a source table T in a schema S1, and the mappings is in schema S2, then the generated code would refer to S1.T and may even have a dblink so S1.T@dblink, an unbound table operator for table T would simply use the name T in the generated code, this lets you define T however you want in the schema where the mapping is deployed to. So T could be a synonym that points to a local Oracle table for example named S3.MYORATAB or it could be a SQLServer table referenced via the database gateway using MYSQLSERVERTAB@mysqlserverinstance
    Here is a trick to quickly define an unbound table operator based on the table structure of an existing table. You can quickly create unbound table operators that look like other tables by adding an existing table which you have imported into the map, then add a new table operator and add it unbound with a name. Then map from the bound table operators in/out group to the unbound table operators in/out grp, this will define all of the attributes and datatypes, you can then delete the bound table operator to leave the unbound one.
    An alternative would be to copy-paste the mappings and synchronize the source table operators with the SQLServer table definitions.
    Cheers
    David

  • Hi, is it possible to change from photoshop cs6 extended student windows to the mac version?

    hi, everybody,
    is it possible to change from the photoshop cs6 extended student Windows Version to the mac version?
    thank you for your help
    fabian

    Change product platform or language
    You can swap languages/platforms for a latest version product if you follow the instructions at the following link:
    http://helpx.adobe.com/x-productkb/policy-pricing/order-product-platform-language-swap.htm l

  • Slide effect - change dinamically from to

    Hi,
    i try to build a slide effect (v1.5) for change dinamically
    the options 'from' and 'to', the scope is obtain a graphic
    interface for domotics application (eg. open sliding-windows to
    25%)
    i used this sample code, but the value in the effect not
    change:
    <input type="button" onclick="slide.options.to='25%';"
    value="Set To 25%">
    <input type="button" onclick="slide.options.to='50%';"
    value="Set To 50%">
    <input type="button" onclick="slide.options.to='75%';"
    value="Set To 75%">
    <input type="button" onclick="slide.options.to='100%';"
    value="Set To 100%">
    <input type="button" onclick="alert(slide.options.to);"
    value="CHECK">
    <input type="button" onclick="slide.start();"
    value="START">
    <div id="slidingWindows">
    <div>
    <div>img src="images/window.jpg" alt="" border="0"
    /></div>
    </div>
    </div>
    <script type="text/javascript">
    var slide = new Spry.Effect.Slide('slidingWindows',
    {duration: 2000, from: '0%', to: '25%', toggle: false,
    scaleContent:true});
    </script>
    Thanks!

    Hello,
    The percent values are translated in pixel values when the
    effect is instantiated. The result is cached and later used in each
    of the animators. If you manually set a new value the effect will
    ignore those values.
    Your problem is a little bit more complicated. You'll have to
    create a more complex script that will instantiate on the fly a new
    effect for each button when that button is clicked. Because when
    you instantiate an effect another effect it is possible to have run
    the percent value will be considered from the current size and not
    from the old original size. In this situation we'll have to also
    compute manually before effect instantiation the pixel value
    against the maximum one:
    <input type="button" onclick="slideIt('25%');" value="Set
    To 25%">
    <input type="button" onclick="slideIt('50%');" value="Set
    To 50%">
    <input type="button" onclick="slideIt('75%');" value="Set
    To 75%">
    <input type="button" onclick="slideIt('100%');" value="Set
    To 100%">
    <input type="button" onclick="alert(slide.options.to);"
    value="CHECK">
    <input type="button" onclick="slide.start();"
    value="START">
    <div id="slidingWindows">
    <div>
    <div><img src="images/window.jpg" alt="" border="0"
    /></div>
    </div>
    </div>
    <script type="text/javascript">
    function slideIt(to){
    var percent = parseInt(to, 10);
    // 300 is a random chose value.
    var pixels = to * 300 / 100;
    slide = new Spry.Effect.Slide('slidingWindows', {duration:
    2000, from: '0px', to: pixels + 'px', toggle: false, scaleContent:
    true});
    // the default value is 25%
    slideIt('25%');
    </script>
    Regards,
    Cristian

Maybe you are looking for

  • Adobe Reader 10 + Plugins = Adobe Reader has encountered a problem and needs to close.

    Platform:  Win XP SP3 and Win7 SP1 (both 32bit) Problem experienced with both Reader 10.0.1 and 10.1 To eliminate our custom plugins as an issue, we've performed our testing using a generic plug-in using the Adobe plug-in creation method. We encounte

  • Problem installing oracle 8.1.5 as local database, Help me!

    Hello, my friends! I've been having problems with the connection to oracle 8.1.5 via ODBC. Does Exist any way to install a protocol that no requieres a net like TCP, SPX. I have a pc in my house and I'm not in a networking, so when i configure a tnsn

  • Interesting Multiple Container Bug in TLF

    Hi All, I've hit a bit of a roadbump in developing an AIR app (2.5.1.17730 runtime) using the TLF and wonder if anyone else has seen it and come up with a workaround. Consider the mxmxl below. When you run the app, you two columns of text as you woul

  • Can a menu link to .html pages?

    I want to make a DVD that will start with a video introduction, and upon finishing the brief minute or so intro, it will display a menu screen. 1.) I would like the menu buttons to link to .html pages saved on the DVD. So after clicking on a link fro

  • How do get all the apps I had on my old iPad onto my new iPad?

    I am a teacher and we were given iPads recently. The one I had would not connect to the wifi at school. I could get on wifi at other places. I downloaded several apps. Now that I have a different iPad the apps are not there. How I get them back? Both