work with variable

Hi all

In the source table, I colum_flag, I want - after succesfull load into target upadte with currentdate using the variable.
How can I create and update with currentdate variable?
Thank you o much
G.

Hello

Create a variable with the following query to refresh Alfanumeric CURRENT_DATE name
SELECT THE DOUBLE TO_CHAR(SYSDATE,'DD-MM-YYYY')
Use any logic diagram of Oracle for this Variable.

Create a package, drag this variable REFRESING mode and use it as you wish to use.

Thank you
Fati

Tags: Business Intelligence

Similar Questions

  • UCCX scripts, working with variables (variables to type?)

    Hello

    I've got script of unilingual IVR which distributes calls in two separate CSQ (services and logistics), based on the entry of the appellant in the IVR menu. Each QSC contains several agents. There is flow under script that checks if a current day is holiday (similar to the example of Cisco HolidayCheck.aef)

    Now, I have to extend this script and make it multilingual. Many aspects in the script as dates.xml to check, name of the CSQ (each lang have services and logistics), lang for IVR guests are exactly the same files wav localized to specific national environment in different directories called.

    My idea is to parse the input (IVR or by number called country-specific) and on this basis set a variable named input_lang (string) with the values 'en', 'sk' or other). Then set other variables for good localization based on this variable input_lang.

    I have customization variables:

    input_lang (String) = «»

    holiday_datelist (Document) = [DOC]

    ivr_lang (language) = [L]

    CSQ_service (String) = «»

    CSQ_logistics (String) = «»

    When I set input_lang variable, for example "sk" (Slovak), I have other variables defined as:

    Set holiday_datelist = "DOC [dates -" + input_lang + ".xml]".

    Set ivr_lang = 'L []' + input_lang + '] '.

    Set CSQ_service = '-CSQ_servis' + input_lang

    Set CSQ_logistics = '-CSQ_logistics' + input_lang

    But this result in this strange values (not so weird, because they are all 'String-like')

    holiday_datelist = "DOC [dates - sk.xml]" instead of DOC [dates - sk.xml]

    ivr_lang = "L [sk]" instead of L [sk]

    etc... but the names of CSQs are also strings and the results are OK

    The script stops and throws a value unidentified exception / error variable.

    Y at - there no way how to fix string variable as lang/document as a representation? I think I have to get rid of these quotes in the beginning and the end of the value. I want only to concatenate the values of strings void variables based on each lang.

    Or me as a result of the wrong way and everything to do in a different way?

    Thank you very much for all the advice!

    (Improved UCCX, version 5.0.2)

    When I set input_lang variable, for example "sk" (Slovak), I have other variables defined as:

    Set holiday_datelist = "DOC [dates -" + input_lang + ".xml]".

    Set ivr_lang = 'L []' + input_lang + '] '.

    Set CSQ_service = '-CSQ_servis' + input_lang

    Set CSQ_logistics = '-CSQ_logistics' + input_lang

    I think that you are up to something and just need to make some minor changes.

    1. instead of assign the directory "dates - sk.xml" to the document variable, assign it to a string that points to the file name and the relevant path. Then initialize the document variable by using the step to "create a Document file. This should help you over any bumps with typcasting.

    2. for the language, it would be logical to use a statement 'switch' as follows:

    Channel switch (input_lang)

    Connection: Slovak

    Set ivr_lang = L [sk]

    Connection: en - uk

    Set ivr_lang = L [en - uk]

    ...

    Maybe it's not as effective as the road you have decided to take this point but it would work. The only time where I messed up with the support of several languages, I used the trigger JTAPI. It will work for you, if you have walked the road of the language based on the "called" number (as you suggest one way possible, you would take). In this way, you can have several triggers pointing to the same application and the variable of language may already be set on the trigger. You still wish to create/edit your variables. You'd probably want to focus on the expression editor methods. toString() and. getLanguage().

    HTH.

    Kind regards

    Bill

  • Fixed loop element did not work with Variables

    Hi all

    I'm developing an application of classical planning using EMP 11.1.2.2

    I am writing a business rule in which I need to iterate "N" times. This "N" value is always stored in a variable of execution.

    The work rule absolutely perfect, if I have a static value in the field 'Value' of loop fixed.

    In case if I have provided variable execution in the field 'Value' of fixed loop the loop doesn't have to iterate. However the rule validated and successfully deployed.

    Please note that I develop my business rules using calculation EMP Manager.

    Following Code works

    {index} = 10;

    LOOP (10)

    Following the Code didn't work

    {index} = 10;

    LOOP ({index})

    Hello

    You can't put a variable in the loop control, but you can break after some moments of iterations. Here's how:

    var var1 = 0;

    var varbreak;

    DIFFICULTY ([difficulty your members here])

    LOOP (1000000, varbreak)

    [member block here] (

    var1 = var1 + 1;

    If (var1 is 10)

    varbreak = 1;

    endif

    [Your math here];

    )

    ENDLOOP

    ENDFIX

    See you soon,.

    Alp

  • recorder with variable unit

    Hallo!

    I tried to use the recorder with variable units. It does not it? Can I change the units of the recorder of the version of the runtime somehow?

    Thanks for your advice.

    Hilby

    Hello again!

    I found the solution:

    Even when it is not possible to use a variable in the context menu, it is possible to put a global string in the recorder manually. I put "${Unit_Ch1}" on the ground for the unit, and it worked.

    Have a good day everyone.

  • Problem with variables not excluding search terms not

    People,

    I'm having a problem with variables, when used in topic titles.

    We produce two distinct versions of a webhelp. The text is almost exactly the same, but the product has a different name in each version. In one version, he is called FLOW; in another, it is called Service generator. We use the user-defined variables to control which name is used to identify the product, when we generate the webhelp.

    So, I have (for example), a subject that begins with the heading:

    Construction of a FLOW script

    where the text occupied by 'FLOW' is provided by a variable with two values - FLOW and Service constructor.

    So when I generate the generator using the web Service version, I put Robohelp using the Service Builder variable defined, and all contained text and the table of positions generate fine; FLOW is nowhere to be seen.

    But when I type "FLOW" in the search box, the system identifies each of the three subjects that are built as in the example above, with a topic title that contains the variable used to set the name of the product. In addition, it displays in the search results using STREAM in the title of the topic, not Service Builder (but when I open the topic, the text in the header is rendered correctly).

    In addition, the system uses the "FLOW" and not "Service Builder" in the headings found by the search, regardless of what research the term is used.

    Everyone comes through this? Nobody knows how to solve this problem, please?

    Thanks in advance,

    NA.

    What version of RoboHelp do you use?

    I use the 2015 Release version. It used to be version 11.

    In the Release version of 2015, my topic Properties dialog box looks like this:

    I think that version 11 may have introduced the possibility of having a variable in the title of the topic. If your version is older and does not seem to offer a way through the dialogue box to deal with this, I was wondering if you could fudge by manipulating the code manually. For example, I see that when I use a variable in a topic title, I end up with this:

    So I was wondering if you could add just in the bit that reads:

    < InsertVariableNameHere >

    Of course, you want to replace the text InsertVariableNameHere with the actual name of your variable.

    It can fail miserably because the process of generation of RoboHelp doesn't know how to cope. But in fact, it might work! You won't know until you try.

    And even if it fails, I may be able to offer another approach that you will overcome the problem.

    See you soon... Rick

  • hitTestObject does not work with the real

    try to make bombs detonate on impact, when it struck the balls at the bottom of the scene, with If (bomb1.hitTestObject (ball)) {.} But when the bomb struck one of the balls nothing happened. It works with other objects that are placed on the stage, but not with the balls. ball is a variable for 8 balls distributed randomly on the back of the stage.

    import flash.events.Event;

    bomb1.gotoAndStop (1);

    var minLimit: int = 31;

    var maxLimit: int = 42;

    var range: int maxLimit = - minLimit;

    var balls: Array = [];

    ball: bomb30a;

    for (var i: int = 0; i < 8; i ++) {}

    Prom = new bomb30a();

    ball.x = 150 + i * (Math.ceil (Math.random () * range) + minLimit);

    ball.y = 350;

    Balls.push (ball);

    addChild (ball);

    }

    thisButton.addEventListener (MouseEvent.CLICK, fl_MouseClickHandler);

    function fl_MouseClickHandler(event: MouseEvent): void {}

    bomb1.gotoAndPlay (1);

    this.addEventListener (Event.ENTER_FRAME, handleCollision);

    }

    function handleCollision(evt: Event): void {}

    If (bomb1.hitTestObject (ball)) {}

    this.removeEventListener (Event.ENTER_FRAME, handleCollision);

    bomb1. Stop();

    bomb1.bomb2.gotoAndPlay (31);

    }

    }

    Stop();

    You do not use the table of bullets that you should be.  You fill it with instances of the ball, but you don't try to target them in the service.  If anything you would be the target of this latest bullet that has been added, although I have to question because I do not see a var reported for a ball, just a line that looks like it should throw an error... ball: bomb30a;

    In the function that performs the hit test, you must be a loop through the range of balls and targeting each ball inside to check suddenly.

    function handleCollision(evt: Event): void {}

    for (var i: int = 0; i

    If (bomb1.hitTestObject (balls [i])) {}

    this.removeEventListener (Event.ENTER_FRAME, handleCollision);

    bomb1. Stop();

    bomb1.bomb2.gotoAndPlay (31);

    break;

    }

    }

    }

  • Working with date and time of the request for help from acrobat JavaScript...

    This coming from

    Working with date and time in Acrobat JavaScript (part 1 of 3)

    The following code adds five days to the current date, and then prints the new date in the console window.

    Get the date and time

    var rightNow = new Date();

    Get the value of millisecond

    Article date

    var msRightNow = rightNow.getTime ();

    Calculate in milliseconds, of 5 days

    5 days x 24 hours/day x 60 min / h x 60 s / min x 1000 ms/s

    Challenge of var = 5 * 24 * 60 * 60 * 1000;

    Do the calculation of var CFAbsoluteTime = msRightNow + challenge;

    Create a new Date from the calculated value

    var theNewDate = new Date (finalTime);

    In the actual work on a form code, you'll want to place the

    the object of a field value. But since this is test code, we will

    Print the result to the Console window (great for debugging)

    Console.println ("5 days from now is:" + theNewDate.toString ());

    The foregoing is the exact code (cut and paste)

    The error I get here is;

    ReferenceError: theNewDate is not defined

    1:Console:exec

    undefined

    To get the "undefined" question a lot... it seems to me, learn to distinguish the undefined 'of type' undefined 'variable' and undefined 'value '.

    in this case 'theNewDate' seems to be defined as a variable equal to the current date plus 5 days... BUT I am now "educated" enough to 'see' Why am I getting the error...


    Any thoughts... Any who...

    You need to highlight all the text that you want to run.

    You have not set the rightNow variable before you can apply a method to the variable.

    You can just add a new variable as msRightNow name. Why not use rightNow.

    Executes the code that you provided with a new departure of Acrobat, I get the following error messages:

    rightNow.getTime is not a function

    1:Console:exec

    TypeError: rightNow.getTime is not a function

    1:Console:exec

    undefined

    What you are showing probably works because your previous attempts have left behind them a variable "rightNow" and as long as you do not have the object of time date change too much, you will not notice the error.

    Cleaning of your code:

    get the number of milliseconds of the date object.

    rightNow var = (new Date()) .getTime ();

    define 5 days in milliseconds;
    Challenge of var = 5 * 24 * 60 * 60 * 1000;

    Add 5 days to the value of this moment and assign the result to the last time;
    var CFAbsoluteTime = rightNow + challenge;

    convert finalTime value in a date object.
    var theNewDate = new Date (finalTime);

    display the result;
    Console.println ("5 days from now is:" + theNewDate.toString ());

    Have you tried the code that I provided, it is another way to add days to the date object.

  • Problem with variable setting after some validation in RTF

    Hi all

    I have a requiremnt to set a variable value after some validation in RTF, I tried using the way below.

    ? xdofx:if (($p_email n'est pas null ou $p_fax n'est pas null) and $p_ver is null and S_C = 'ABC')? >
    <? xdoxslt:set_variable($_XDOCTX,'SC','LIST_PRI')? > <? end if? >

    Well, I need to set the 'SC' variable with the value "LIST_PRI" once the above if condition satisfied. then I tried to get the value as below:

    <? If: xdoxslt:get_variable($_XDOCTX,_'SC') = 'LIST_PRI? ' > <? L? > <? end if? >

    But it does not work with education and set_variable instruction, if you please help me on this

    Thank you

    Change the code as follows and give it a try.


    Or send the xml and RTF file to bipuser@gmail and I'll take a look. Update this thread to let me know if you sent me the files.

    Thank you
    Bipuser

  • ADF BC to SQL Server connection with variable set to View object

    Hello world

    I develop a BPM Application using Oracle BPM 11.1.1.5.0 and JDeveloper 11.1.1.5.0

    Following the thread of the link below, since it is a new topic, I decided to open a new thread.

    Re: ADF method call to extract data from DB before loading the page from the initiator

    what I try to do is to get a record from a database and show to the user on the initiator of the UI using ADF BC and not the database adapter.
    I have worked with ADF BC and display objects to get all the lines and show them to the user in a table.

    However, when I try to run the same query in the parameterized shape just return a single line, I hit a wall.
    In short, my problem is like this:

    I have an Application Module which has an entity object and a display object.
    My database is SQL Server 2008.
    When I try to create a new read only view object to return a single line I face the problem.
    The query that I have in the section my display object query is like this:
    select *
    from dbo.Employee
    where EmployeeCode= 99
    which works very well.
    However when I set a variable input_code, linking for example and change the query as follows it won't validate.
    select *
    from dbo.Employee
    where EmployeeCode= :input_code
    He just telling me
    >
    incorrect syntax near ': '.
    >
    I don't know if this has to do with my Oracle DB is not or I'm doing something wrong.
    Can someone help me with this you problem?

    Thanks in advance

    The problem is that you are using 'Oracle named' style for the binding of parameter in the SQL statement. However, this style of binding is specific Oracle. You must use "Positional JDBC" style of binding with MS SQL Server:

    select *
    from dbo.Employee
    where EmployeeCode= ?
    

    (The style of binding is specified in the query to the dialog box Definition VO Editor pane).

    If you specify the positional style of binding "JDBC", another field called 'Linking the Positions' will appear in the definitions pane variables bind VO. You will be able to specify it is the position of the particular parameter in the binding variable VO query bound to. (the position of the bond index is 0-based).

    Dimitar

  • Problems with variable/table length

    Yes, me again.

    Well, everything seems to work in this script I have.  In this regard, the vmsStillOn.length should return the number of slot machines tension on a host.

    This seems to work great until there is only 1 host on the computer.    Here's what happens: if I have 2 virtual machines on a host, length returns the form 2.  If I have a virtual machine turn off, the length does not at all appear and I don't know why.   I'm sure there is a better way to make a counter, but that's what I have so far working with.  Thank you HERE!

    {}

    Start-Sleep - #Wait 15 seconds, 15 seconds and check again!

    $poweredOn = $FALSE

    #Start - Sleep - seconds 10

    {foreach ($machine in $hosts)

    SE connect-VIServer-server $machine - user $user-password $pass

    {color: #ff0000} $vmsStillOn = Get-VMHost | Get - VM | where {$_.} PowerState - don't "PoweredOff"}

    Disconnect-VIServer-confirm: $FALSE

    Write-Host 'Is number of virtual machines' $vmsStillOn.length

    If ($vmsStillOn.length & gt; 0) {}

    $poweredOn = $TRUE

    breaking

    }

    }

    } while ($poweredOn = $TRUE)

    When there is only 1 guest runs the $vmStillOn variable is not an array of VirtualMachineImpl objects, but a single object of VirtualMachineImpl.

    The length property does not exist in the VirtualMachineImpl object.

    The length is to a table.

    As a solution, you can count the number of objects VirtualMachineImpl returned (with the Measure-Object cmdlet) and use that value instead of the length property.

    Something like this for example

    do {
         Start-Sleep -Seconds 15 #Wait 15 seconds, and check again!
         $poweredOn = $FALSE
    
         #Start-Sleep -Seconds 10
         foreach ($machine in $hosts){
              Connect-VIServer -Server $machine -User $user -Password $pass
              $vmsStillOn = Get-VMHost | Get-VM | where {$_.PowerState -ne "PoweredOff"} | Measure-Object | %{$_.Count}
              Disconnect-VIServer - Confirm:$FALSE
    
              Write-Host "Number of VMs is " $vmsStillOn
              if ($vmsStillOn > 0){
                   $poweredOn = $TRUE
                   break
              }
         }
    }while($poweredOn = $TRUE)
    
  • Problem with Variables

    After loading data from an asp page, I posted the following variables.

    var jobRoot = this.firstChild;
    use var = jobRoot.firstChild;
    var jobPosition = job.childNodes [1].firstChild.nodeValue;
    var jobLocation = job.childNodes [2].firstChild.nodeValue;

    When I export my swf that I don't get that "indefinite" where location information and location of work should be.


    detailText.text = "Post" + newline + jobPosition + newline + "Place" + newline + jobLocation;

    Can you see where I am going wrong? Thank you

    Brian, I've not dealt with XML vs. AS2 (only AS3)... so I figure it's about time I did something.  So I took a look online and found something that works for me and places the data in a data structure that I can more easily work with the option - author of its effectiveness boasts.  I don't know if it will work as well for what you've designed so far, but it is worth watching in any case.  Here's where I found it as a reference for you: http://www.darronschall.com/weblog/2003/10/better-xml-parsing.cfm

    What does this code is that it stores xml data in an array of objects.  So when the analysis is complete, you don't have to deal with knots and other whatnot to know where data is... just a table and the objects it contains.  At the end of the first function, I put in a trace, just to demonstrate access to the data once the analysis completed.

    Here is a revised version of the code using your xml data structure.  I renamed mainly things, deleted some code for timing and added to the trace output data:

    vacancy_list_arr = new Array();
    vacancy_list_xml = new XML();
    vacancy_list_xml.ignoreWhite = true;

    vacancy_list_xml. OnLoad = {function (success)}
    If (success) {}
    var job_xml = vacancy_list_xml.firstChild.firstChild;
    While (job_xml! = null) {/ / add data on jobs to our vacancy_list_arr!}
    vacancy_list_arr.push (getJobData (job_xml));
    job_xml = job_xml.nextSibling;
    }
    } else {}
    trace ("error loading vacancy_list.");
    }
    delete vacancy_list_xml;

    for (i = 0; i
    trace ("Job ID:" + vacancy_list_arr [i].) "NEST +"-"+ vacancy_list_arr [i]. "Position +"-"+ vacancy_list_arr [i]. Location);
    }
    }

    function getJobData (job_xml) {/ / convert the data object}
    var jobData = new Object();
    var data_xml = new XML();
    data_xml = job_xml.firstChild;
    While (data_xml! = null) {}
    jobData [data_xml.nodeName] = data_xml.firstChild.nodeValue;
    data_xml = data_xml.nextSibling;
    }
    Return jobData;
    }

    vacancy_list_xml. Load ("vacancy_list.xml");

    And here is the content of the xml file that I created to test:



        
              449
              General operative
              Galway
        

        
              550
              Foreign operative
              Outtatheway
        

  • [JS, CS4] TextFrame.extractLabel () does not work with the instances of this class

    I have the script, which works very well in CS3. In CS4 (app.version = 6.0.1.532) However, I get an error using extractLabel, after reading a few other a textframe properties:

    frameObject.extractLabel ('name')
    Error: TextFrame.extractLabel () does not work with the instances of this class

    Until the reading of one of the 'normal' properties, such as (frameObject.) content I can call frameObject.extractLabel ('name') without errors, but after "watching" (assign it to a variable in the code, or by getting the value in the javascript console), the content property (or as it seems any normal property) the extractLabel method generates the above error.

    It seems to work to move all frameObject.extractLabel at the beginning of the function calls, but I don't think that I would need to do this.

    It could very well be the case that the label read by extractLabel has no content and never received. Will there be a change in behaviour of CS3 in this sentence? If so, and if this is the reason for the error, is there then a way to determine if the label has been assigned?

    This error is familiar to someone else?

    Best regards

    Andreas

    It works if you use:

    var pgItm = app.activeDocument.textFrames.itemByID(parseInt(myId));
    

    Otherwise, this might work:

    var pgItm = app.activeDocument.pageItems.itemByID(parseInt(myId)).getElements()[0];
    

    Although, generally, itemByID gives you the question no matter what it is as long as there are, so I'm bit puzzled that neither of them will be necessary.

    Dave

  • working with checkboxes

    Anyone know if there is a way to capture the value of the checkbox and use
    to do things like:

    -change the value of a form variable... OR
    -use the value of the checkbox as a variable in a SQL statement

    Here's the background. The user selects a check box to indicate the type of
    they need to work with (employee account or customer account) account. If
    the employee's account is selected, and then a list of employees and the user
    selects an employee. Even if they choose to work with a customer account.

    I tried several times and can't get the jack in the box. I can't
    even display the value of the checkbox on the form for debugging them. I tried to
    define a form variable to equal to the value of the checkbox and use the form variable
    in the SQL statement and who has been a non-starter.

    Any help would be appreciated.

    The value of the check box form field will be a list separated by commas of all checked values. How you refer to the form field - javascript? ASP, ColdFusion?

  • FlvPlayer works with FireFox but not with IE

    Hello

    I created an FLV Player to play remote. FLV movie. It works with Firefox but not with Internet Explorer 6 or 7. In fact, when I test locally on my desktop with local (on my desktop). File FLV movie player works in Internet Explorer. The problem seems to be my Web site, when reading remotely. FLV file, it only works with Firefox.

    Try my Web site with Firefox and IE 6-7 and you will see only works with Firefox. Movie player (right section) to this remote file access: http://www.wikiguitarist.com/wikiguitarist/images/9/9a/CanonFuntwo.flv .

    Since it is a Wikimedia site HTML code is generated from a PHP file. Here is the code that generates the HTML code.

    Of Internet Explorer browser only interpret the tag: < embed >?
    Why IE has problem to play remotely. File FLV and not Firefox?

    Any idea, suggest code, suggest HTLML, action script...?

    Thank you
    Alain



    Hi guys,.

    Thank you very much, Jeckyl, you were right, it seems that only FLASVARS is allowed. Nevertheless, I will try to test if I can pass more than one variable/value less a statement of FLASVARS. For the moment, leaving only a statement of FLASVARS the video works fine with IE and Firefox. I'll do a little cleanup, it is true that my generated HTML code is a bit messy.

    Thanks to WindShadow75 for your answer, now you see it works because I removed the additional declaration of FLASVARS.

    Several guys from tanks, it is appreciated!

    WikiGuitarist

  • With variable presentation month() function

    Hi all

    How can I use the MONTH() function in column answers, with variable presentation? I need to get the date month.
    I tried MONTHS (' @{tmp_date}' as date) but it doesn't work I get the error message.

    Thank you

    Hello

    If you select a single date value... go invite... then...
    Just keep filter on is invited to date column criteria of special relationship...

    Now, in the criteria take the same date column and apply * months ( column date ) *.

    So this column has the value selected and taken months of that particular date...

    try it this way...

Maybe you are looking for