Displaying the output in a workflow in a provisioned VM

I try to determine a way to show return the content of a variable of an entity of the VM once the machine is built, preferably in the tab 'Machine' of the details of the article. I don't seem to be able to find a way to do it (I tried to update the value of "__Notes", but appears not to pass to the Portal). Basically, we generate a temporary password for the end user, and we want to show in the portal, rather than by e-mail.

Can someone tell me if there is a way to display data in the portal once commissioning is complete, outside the person a Manager and viewing the properties directly? If not, is it possible to display data by using a custom action of resource?

Thanks for all the ideas.

Thus, the easiest way (I think) would update the description field of the virtual machine. Who is be a property of the entity of the virtual machine within the IaaS API, so that you'd run the workflow of update a vCAC model entity under library-vCloud Automation Center-> Infrastructure Management >. This workflow must have two specific entries:

(1) the entity: that can be gained when the heel is launched as an entry in the heel

(2) the input properties to update... This one gets a little more fun. You can do this with a very simple action / scriptable job. The task / action will have an entry (for this example) passwordattribute, which is the temporary password configured and an output for an attribute properties in the workflow called (for this example) vCACModelProperties. The code block, you would use would look like this:

var p = new Properties ();
if (password) { p.put("Notes","The password for your virtual machine is: ".concat(password)); }
vCACModelProperties = p;

After this scriptable task / action outputs Properties, you should be able to feed in the workflow of update, and the value appears in the item once it is filled with the completion of the workflow state.

Tags: VMware

Similar Questions

  • Capture the output of a workflow in a different workflow

    I'm calling a WF1 workflow from another workflow WF2. I am able to do and WF1 is running perfectly in the background and the desired output via a return number. Newspapers of WF1 to verify that.

    But I want to capture the output (table/integer) to WF1 by WF2. I can't pass the exit (snapshots) WF2.

    I enclose the code and the journal of WF2. I enclose the code and WF1 journal as well.

    Well, well, you seem to met a strange problem... It was me frustrating because your code resembles a re-work of my code here:

    How to retrieve the details of Workflow

    ... If I run MY library workflow that checks the chips of workflow, the output, but all the variations, I tried to get out of the current token element has ended in the same result as what you had: null.

    So, as executions of audit workflow worked rather than the active token, wait until the workflow has completed, and then loop through the workflow runs until you find the one with the matching id of the token you just ran... once that you find, parse the output.

    Given two workflows you set in the last post, replace your task Scriptable text in the 'test' WF follows him with and run it (feel free to delete the code useless, I left all my code test in place in there something of another case may be useful):

    var inputParameters = new Properties();
    inputParameters.put("name", name);
    System.log("name '" +name);
    System.log("hostResource '" +hostResource);
    var curToken = wf.execute(inputParameters); //,"root","vmware");
    while (curToken.state == "running"){
        System.log(".. still running ..");
        System.sleep(1000);
    }
    var tokens = wf.executions;
    // Each execution is a "workflowToken" object
    for each (token in tokens){
        if (token.id == curToken.id && token.isStillValid){
            System.log("");
            System.log("=============== Checking token ===============");
            System.log("Token ID: "+token.id);
            System.log("Start Date: "+token.startDate);
            if(token.endDate != null){
                System.log("End Date: "+token.endDate);
            }
            System.log("Business State: "+token.businessState); // Indicates the business state as defined by the workflow dev in each of the elements of the workflow (not always specified)
            System.log("State: "+token.state); // Indicates the system state of this workflow
            /* State values are likely to be one of the following:
            waiting <- waiting for user input
            failed <- an exception was thrown to cause the workflow to fail
            completed <- workflow competed running successfully
            canceled <- user right-clicked and canceled the workflow
            running <- workflow is still processing
            */
            System.log("");
            System.log("==== Token Inputs ====");
            var inputParams = token.getInputParameters();
            if (inputParams != null){
                for each (key in inputParams.keys){
                    var value = inputParams.get(key);
                    System.log(key + ": " + value + " ("+System.getObjectType(value)+")");
                }
            }
            System.log("");
            System.log("==== Token Attributes ====");
            var attributes = token.getAttributes();
            if(attributes != null){
                for each (key in attributes.keys){
                    var value = attributes.get(key);
                    System.log(key + ": " + value + " ("+System.getObjectType(value)+")");
                }
            }
    
            System.log("");
            System.log("==== Token Outputs ====");
            var outputParams = token.getOutputParameters();
            if (outputParams != null){
                for each (key in outputParams.keys){
                    var value = outputParams.get(key);
                    System.log(key + ": " + value + " ("+System.getObjectType(value)+")");
                }
            }
    
            System.log("");
            System.log("==== Token Log Events ====");
            var logEvents = new Array();
            logEvents = token.logEvents;
            var eventCount = logEvents.length;
            System.log("Event Count: "+eventCount);
            for (i=eventCount-1; i>-1; i--){
                var logEvent = logEvents[i];
                System.log("");
                System.log(" == EVENT ENTRY "+(eventCount - i)+" == ");
                System.log("logTimeStamp: "+logEvent.logTimeStamp);
                System.log("longDescription: "+logEvent.longDescription);
                System.log("originatorId: "+logEvent.originatorId);
                System.log("originatorUri: "+logEvent.originarorUri);
                System.log("originatorUserName: "+logEvent.originatorUserName);
                System.log("severity: "+logEvent.severity);
                System.log("shortDescription: "+logEvent.shortDescription);
            }
        }
    }
    

    And to get an idea of the output, my tab newspapers looked like this:

    [2014-08-01 16:29:25.632] [I] name 'demo
    [2014-08-01 16:29:25.632] [I] hostResource 'null
    [2014-08-01 16:29:26.351] [I] .. still running ..
    [2014-08-01 16:29:27.365] [I]
    [2014-08-01 16:29:27.365] [I] =============== Checking token ===============
    [2014-08-01 16:29:27.365] [I] Token ID: ff80808146af57140147934349c10567
    [2014-08-01 16:29:27.365] [I] Start Date: 2014-08-01 16:29:26
    [2014-08-01 16:29:27.365] [I] End Date: 2014-08-01 16:29:26
    [2014-08-01 16:29:27.365] [I] Business State: null
    [2014-08-01 16:29:27.367] [I] State: completed
    [2014-08-01 16:29:27.367] [I]
    [2014-08-01 16:29:27.367] [I] ==== Token Inputs ====
    [2014-08-01 16:29:27.371] [I] name: demo (string)
    [2014-08-01 16:29:27.371] [I]
    [2014-08-01 16:29:27.371] [I] ==== Token Attributes ====
    [2014-08-01 16:29:27.374] [I] restOperation: null (null)
    [2014-08-01 16:29:27.374] [I] statusCodeAttribute: null (null)
    [2014-08-01 16:29:27.374] [I] snapshotids: null (null)
    [2014-08-01 16:29:27.374] [I] RESTHost: null (null)
    [2014-08-01 16:29:27.375] [I] hostResource: null (null)
    [2014-08-01 16:29:27.375] [I] errorCode:  (string)
    [2014-08-01 16:29:27.375] [I]
    [2014-08-01 16:29:27.375] [I] ==== Token Outputs ====
    [2014-08-01 16:29:27.378] [I] snapshots: 1966,2262,2555,2927,3272,3586,3895,3903,3909,3987,4041,4430,4734,5048 (Array)
    [2014-08-01 16:29:27.378] [I]
    [2014-08-01 16:29:27.378] [I] ==== Token Log Events ====
    [2014-08-01 16:29:27.423] [I] Event Count: 2
    [2014-08-01 16:29:27.423] [I]
    [2014-08-01 16:29:27.423] [I]  == EVENT ENTRY 1 ==
    [2014-08-01 16:29:27.423] [I] logTimeStamp: 2014-08-01 16:29:26.364
    [2014-08-01 16:29:27.423] [I] longDescription: Workflow has started
    [2014-08-01 16:29:27.423] [I] originatorId: a4e950d3-c575-4ddd-8b7f-dd838cdf7b2e
    [2014-08-01 16:29:27.423] [I] originatorUri: undefined
    [2014-08-01 16:29:27.423] [I] originatorUserName: bazbill
    [2014-08-01 16:29:27.424] [I] severity: 0
    [2014-08-01 16:29:27.424] [I] shortDescription: Workflow has started
    [2014-08-01 16:29:27.424] [I]
    [2014-08-01 16:29:27.424] [I]  == EVENT ENTRY 2 ==
    [2014-08-01 16:29:27.424] [I] logTimeStamp: 2014-08-01 16:29:26.401
    [2014-08-01 16:29:27.424] [I] longDescription: Workflow is completed
    [2014-08-01 16:29:27.424] [I] originatorId: a4e950d3-c575-4ddd-8b7f-dd838cdf7b2e
    [2014-08-01 16:29:27.424] [I] originatorUri: undefined
    [2014-08-01 16:29:27.425] [I] originatorUserName: bazbill
    [2014-08-01 16:29:27.425] [I] severity: 0
    [2014-08-01 16:29:27.425] [I] shortDescription: Workflow is completed
    
  • Get the output parameter of workflow using soap in PHP

    Hi all, I have a question on how to print the output in php parameter using the soap Protocol. I create the workflow with 1 single task scriptable with variable name of virtual machines as output like that.

    var sdkConnections = VcPlugin.allSdkConnections;
    vms = new Array();
    for (var i in sdkConnections) {
      var host = sdkConnections[i];
      var found;
      if (host.isInventoryServiceAvailable()) {
      found = host.getAllVirtualMachines();
      }
      for (var j in found) {
      vms.push(found[j]);
      System.log(vms);
      }
    }
    

    And my php, source code

    <?php
    
    include ("parameters.inc");
    $vco = new SoapClient('https://' . $vco_server . ':8281/vmware-vmo-webcontrol/webservice?WSDL');
    $workflowid = "f73f2521-0e6b-48e8-81b9-388b13fc3fea";
    $param = array(workflowId=>$workflowid,username=>$vco_user,password=>$vco_pass);
    echo '<br>';
    
    $result3 = $vco->executeWorkflow($param);
    print_r($result3);
    echo '<br>';
    
    foreach ($result3 as $token)
    {
            $tokenID = $token->id;
    }
    
    $param2 = array(workflowTokenId=>$tokenID,username=>$vco_user,password=>$vco_pass);
    $wftokenstatus = $vco->getWorkflowTokenStatus($param2);
    print_r($wftokenstatus);
    echo '<br>';
    
    $wftokenresult = $vco->getWorkflowTokenResult($param2);
    print_r($wftokenresult);
    echo '<br>';
    ?>
    

    When I try the same, executed release in web

    stdClass Object ( [executeWorkflowReturn] => stdClass Object ( [id] => ff808081440b6eb90144316de4bc04fe [title] => Copy of Get virtual machines by name [workflowId] => f73f2521-0e6b-48e8-81b9-388b13fc3fea [currentItemName] => __item-undefined__ [currentItemState] => running [globalState] => running [businessState] => [startDate] => 20140215002449+0700 [endDate] => [xmlContent] =>         ) )
    stdClass Object ( [getWorkflowTokenStatusReturn] => )
    stdClass Object ( [getWorkflowTokenResultReturn] => stdClass Object ( [name] => vms [type] => VC:VirtualMachine [value] => ) )
    

    I see in customer orchestrator, my workflow work well and in the logs tab I see all my VM appear, but I'm trying to print all components of table in my php script using print_r(), the value of the object always null, only can get name and type as above... No idea how to get the value of the output parameter?... Thanks before

    Change this code to your:

    for (var j in found) {
      vms.push(found[j]);
      System.log(vms);
      }
    

    To do this:

    for (var j in found) {
      vms.push(found[j].name);
      System.log(vms);
      }
    

    In this code, j is a VC:VirtualMachine object, instead of pushing the entire object in your table, just push the virtual machine to .name property. Additionally, make sure that your output variable is of type: Array of Strings

  • Switch the output of a workflow parameter to another workflow as input parameter?

    Hi all

    I have created a list of resources and want to add a virtual machine in this resource pool. There are two workflow, 1. Pool of resources & 2 creation. Cloning a VM. I'm creating a different workflow and by adding this two workflow. I don't know how to pass the value of the output parameter of the first stream of work performed as input to another workflow running. Can anyone help? Can anyone attach the workflow example?

    Thanks in advance.

    Hello

    You must create workflow attributes (in the "General tab" of your workflow) and link out of the first workflow settings that you call to them. You can then link the same attributes as parameters to the second.

    Watch this video (and all others in the www.vmwarelearning.com/orchestratorseries) for an explanation: http://vmwarelearning.com/2nB/understanding-variables-and-variable-binding-overview/

    See you soon,.

    Joerg

  • Unable to display the output of a concurrent program

    Dear members,

    I use Oracle R12.1.3 Vision Instance.

    I ran the program create accounting. When I click on the button to display output, the browser gets displayed and gets immediately closed. I'm unable to view the output.

    Can someone help me please to solve this issue?

    Thanks in advance.

    Kind regards.

    I faced this problem once. That's the problem with the settings of Internet Explorer.
    Check in the settings of IE-> tools - > Internet Options-> Security tab-> the zone (Intranet, for the most part)-> enable downloads.

    By
    VAMSi

  • How to display the output of query clause?

    Hello. I use Forms Developer 10g. I have a datablock that uses a from_clause_query. In my from_clause_query, I used a WITH AS SELECT.
    I try to view the output of this query in my forms but the first column, V_CUTOFF_TO not displayed, probably because it is not a database element. It was a result of my initial query WITH AS SELECT month. How can I view this with the release of my from_clause_query. Thanks in advance for the help. Moreover, I am trying to post the contents of my from_clause_query here, but it says sorry, this content is not allowed. I don't know why?

    I was able to solve the problem by creating a stored procedure. I insert the records in a table in the procedure, and then I query the table. Thanks for your help.

  • the two equii join and natural join are equall.will both display the output of the same

    the two equii join and natural join are equall.will both display even

    output?

    Hello
    It keeps you a little test and check yourself?

    See the link below.

    http://psoug.org/reference/joins.html

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> CREATE TABLE parents (
      2  person_id  NUMBER(5),
      3  adult_name VARCHAR2(20),
      4  comments   VARCHAR2(40))
      5  PCTFREE 0;
    
    Table created.
    
    SQL>
    SQL> CREATE TABLE children (
      2  parent_id    NUMBER(5),
      3  person_id    NUMBER(5),
      4  child_name   VARCHAR2(20),
      5  comments     VARCHAR2(40))
      6  PCTFREE 0;
    
    Table created.
    
    SQL>
    SQL> INSERT INTO parents VALUES (1, 'Dan', 'So What');
    
    1 row created.
    
    SQL> INSERT INTO parents VALUES (2, 'Jack', 'Who Cares');
    
    1 row created.
    
    SQL> INSERT INTO children VALUES (1, 2, 'Anne', 'Who Cares');
    
    1 row created.
    
    SQL> INSERT INTO children VALUES (1, 1, 'Julia', 'Yeah Right');
    
    1 row created.
    
    SQL> INSERT INTO children VALUES (2, 1, 'Marcella', 'So What');
    
    1 row created.
    
    SQL> COMMIT;
    
    Commit complete.
    
    SQL>
    SQL> SELECT adult_name, child_name
      2  FROM parents NATURAL JOIN children;
    
    ADULT_NAME           CHILD_NAME
    -------------------- --------------------
    Jack                 Anne
    Dan                  Marcella
    
    SQL> select adult_name,child_name from parents a, children b
      2  where a.person_id=b.person_id;
    
    ADULT_NAME           CHILD_NAME
    -------------------- --------------------
    Jack                 Anne
    Dan                  Julia
    Dan                  Marcella
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  select adult_name,child_name from parents a, children b
      2* where a.person_id=b.parent_id
    SQL> /
    
    ADULT_NAME           CHILD_NAME
    -------------------- --------------------
    Dan                  Anne
    Dan                  Julia
    Jack                 Marcella
    
    SQL>
    

    Kind regards
    Avinash

  • Able to display the output but cannot send and entry on powerconnect 5424

    Hello

    I am configuring a PowerConnect 5424 switch to connect to my network as one of the distribution switch. When I explain on my network. its very basic as we do not have to any VLAN managed or any other complex implementation.

    When I boot the switch connection with putty via a cable series, I can see the output of the switch where I can't enter anything. I tried three different emulators of terminal that did not work at all.

    What can be the reason, how can I do this because I just want to set up an IP address so that I can connect to switch and monitor ports... etc?

    Hello!

    Thanks for the reply. Well, he had no problem with the cable or unit, it is the laptop that I used. It's no wonder that my previous Dell switch has failed. I tried it on another laptop and it worked like charm. I managed to configure the switch too.

    Thank you!

  • Flash Player plugin that displays the output window?

    Hey there,

    I remember reading about a Flash Player plugin that shows the output window when mistakes happen, but don't remember the link or where I read about it.

    Does it exist or did I did it upward?  I would use it if it can be useful when testing on Flash you can hear it on the web.  If someone has a link to find out where to download it from the adobe site that would be of great stuff.

    http://www.Adobe.com/support/flashplayer/downloads.html

    Download a debugger player. they get a bit of a nuisance, because when you install it in your browser it takes on errors for everyone and you told about it in a popup. eBay banners seem to be particularly mounted bug.

  • Unable to display the output in the next block

    Hello
    I tried the next block... But unable to see the output
    Could you suggest me in this...
    0-----)
    
    PL/SQL procedure successfully completed.
    Although made setserverout

    but of no use

    Please help me

    Published by: josh1612 on April 5, 2010 12:14 AM

    Hello

    Check if the script given below will print something...

    DECLARE
      ..
    BEGIN
       DBMS_OUTPUT.PUT_LINE('START OF ANONYMOUS BLOCK');
      ..
       DBMS_OUTPUT.PUT_LINE('END OF ANONYMOUS BLOCK');
    END;
    

    If so, check your logic for the results expected, if not... Check the settings of sqlplus

    * 009 *.

    Edited to take off your real script :) forums

    Published by: 009 April 5, 2010 12:18 AM

  • JavaScript to display the output if multiple check boxes are selected

    Hello

    My PDF form has a number of questions about this, some of which are multiselect.

    for example

    Identify the colors of our company logo (there are three)

    Blue

    Red

    Green

    Orange

    Yellow

    Purple

    If they choose the good ones (blue, red and yellow), the script should display a 'Correct' output, if they look for something else, it should show incorrect. I have worked out how to do it for a collection of radio button, but may not know of check boxes.

    Any help would be greatly appreciated.

    Concerning

    I don't know, but see if it works for you: http://acroscript.net/pdf/demos/Adobe_Forums_1993380.pdf

  • How to display the output as 'error' in this program

    DECLARE

    C_ID employees.sno%type: = 2;

    employees.name%type c_name;

    c_addr employees.country%type;

    BEGIN

    SELECT name, c_name, c_addr FROM Employees WHERE sno country is c_id;

    DBMS_OUTPUT. Put_line (' name: ' | c_name);

    DBMS_OUTPUT. Put_line (' address: ' | c_addr);

    EXCEPTION WHEN no_data_found THEN

    dbms_output.put_line ('no such customer!');

    WHILE others

    THEN dbms_output.put_line ('Error!');

    END;

    If I have 2 give her no customer display

    and what I need to do to print error when you exit?

    Because you manage the no_data_found error in your exception block there is no error for when others block to manage.  If you want to hit him when another fishing your code available, you can either remove the handler no_data_found, or introduce a different error condition, such as:

    SQL > select * from employees;

    SNO NAME NECK

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

    1 John CAN

    1 John CAN

    SQL > DECLARE

    2 c_id employees.sno%type: = 1;

    3 employees.name%type c_name;

    4 c_addr employees.country%type;

    5 BEGIN

    6. SELECT name, country IN c_name, c_addr

    7 FROM employees

    8. WHERE the sno = c_id;

    9 DBMS_OUTPUT. Put_line (' name: ' | c_name);

    10 DBMS_OUTPUT. Put_line (' address: ' | c_addr);

    EXCEPTION 11

    12. WHEN no_data_found THEN

    13 dbms_output.put_line ('no such customer!');

    14 SO that others THEN

    15 dbms_output.put_line ('Error!');

    16 END;

    17.

    Error!

    PL/SQL procedure successfully completed.

    The too_many_rows error introduced by the lines in the flow of the table to the when of other Manager.  Note the procedure message passed to PL/SQL.  Because the other handler handled the error, when more an error in the code block.  If it's a stored procedure, the appellant would never know that something had gone wrong, one of the reasons why when another Manager without a raise is a bad idea.

    John

  • A hierarchical report query SQL formatting to display the output as a tree

    4.2.1

    THM:2

    Hello world

    I have a simple request which when I run it should show in a tree like structure as seen in this link

    Hierarchical queries in Oracle SQL

    Any ideas on how I can get this output show upward in an area of report page apex? I tried to put it in a classic report, and it shows just all in one line given the length and spacing. I don't want to use the tree for this.

    Thank you!

    Ryansun-Oracle wrote:

    I have a simple request which when I run it should show in a tree like structure as seen in this link

    Hierarchical queries in Oracle SQL

    Any ideas on how I can get this output show upward in an area of report page apex? I tried to put it in a classic report, and it shows just all in one line given the length and spacing. I don't want to use the tree for this.

    I found that the standard reports and report templates are not really useful in this situation.

    According to exactly how it should be used, you might want to watch a dynamic list using one of the models of hierarchical list, but I tend to use this Tyler Muth & Rob Van Wijk. This can be used in a region in connection with a column named custom report template.

  • How to display the output of PL/SQL and difficulty package below error (please help)

    -PACKAGE SPECIFICATION AND met with success, but I see no way out, an error is also here... Please help. How do I solve this problem
    -with the code

    CREATE OR REPLACE PACKAGE package_variables
    -Declare the components of a package.
    Established PROCEDURE (VARCHAR2 value);
    Public FUNCTION get RETURN VARCHAR2;
    END package_variables;
    /



    CREATE OR REPLACE PACKAGE BODY package_variables
    -Declare the package-scoped variable.
    variable VARCHAR2 (20): = "initial value";
    -Define the function
    Get function RETURN VARCHAR2 IS
    BEGIN
    RETURN variable;
    END get;
    -Define the procedure.
    PROCEDURE set(value VARCHAR2) IS
    BEGIN
    variable: = value;
    The END value;
    END package_variables;
    /



    Result VARIABLE VARCHAR2 (20)
    CALL package_variables.get () IN: result;
    SELECT: result AS result FROM dual;


    RUN package_variables.set ("new value '");
    CALL package_variables.get () IN: result;
    SELECT: result AS result FROM dual;

    /*

    OUTPUT


    PACKAGE compiled package_variables.
    PACKAGE compiled package_variables BODY.

    Error at startup on line 2 of the command:
    CALL package_variables.get () IN: results
    Error report:
    SQL error: ORA-01008: not all variables
    01008 00000 - "not all variables.
    * Cause:
    * Action:
    RESULTS
    --------------------------------


    1 selected lines

    anonymous block filled

    Error at startup on line 2 of the command:
    CALL package_variables.get () IN: results
    Error report:
    SQL error: ORA-01008: not all variables
    01008 00000 - "not all variables.
    * Cause:
    * Action:
    RESULTS
    --------------------------------


    1 selected lines

    */

    The package name is package_variables (note the 's'. Plural.) But using package_variable (in the singular) in your call.
    Also select in as a SQL statement seems to be not valid. You encapsulate a begin - end around her block.

    SQL> begin
      2  select package_variables.get into :outcome from dual;
      3  end;
      4  /
    
    PL/SQL procedure successfully completed
    outcome
    ---------
    Initial Value
    
  • replace the carriage return, displaying the output on a single line

    [oracle@ccoshs02xvdbs01 ~] $ sqlplus deploy_ctl/deploy_ctl

    SQL * more: Production version 11.2.0.1.0 on Mon Mar 28 10:21:05 2011

    Copyright (c) 1982, 2009, Oracle. All rights reserved.


    Connected to:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    With partitioning, OLAP, Data Mining and Real Application Testing options


    Modified session.

    10:21:05 SQL > insert into test (b) values ("this is stop
    10:21:38 2 space are now ');

    1 line of creation.

    10:21:47 SQL > commit;

    Validation complete.

    10:21:49 SQL > select test b where b as "this % ';

    B
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    It is stop
    space wear now


    10:22:07 SQL > select replace (b, chr (13)) of the test where b as "this % ';

    REPLACE (B, CHR (13))
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    It is stop
    space wear now


    10:22:56 SQL > select replace (b, chr (13), chr (32)) test fix where b as "this % ';

    DIFFICULTY
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    It is stop
    space wear now


    10:24:19 SQL >


    I would lilke to display on the same line.

    Thank you.

    Hello

    SQL> select translate(b,chr(13)||chr(10),chr(32)) fix from test where b like 'this%';
    
    FIX
    ----------------------------------------------------------------------------------------------------
    this is stopspace now carry on
    
    SQL> select translate(b,chr(13)||chr(10),' ') fix from test where b like 'this%';
    
    FIX
    ----------------------------------------------------------------------------------------------------
    this is stopspace now carry on
    

    -Pavan Kumar N

Maybe you are looking for

  • EL CAPITAN - when in safari Apple toolbar is not visible

    I tried this and do not find any answer to El Capitan and NOT the FULLSCREEN MODE. When I open safari, NOT full-screen, the Apple toolbar is not visible (the one with wi - fi, Apple, file edit, history etc.). The only thing visible is the bar with re

  • Lost bookmarks and passwords

    I have windows xp on my system and kept getting the blue screen of death, so I had to reinstall the operating system.I went in the region that stores the records firefox and thunderbird and saved on another drive.I reinstalled windows and then transf

  • Invalid product key, Data manager

    My computer says I have an invalid product key. Is Windows Vista. I've had this computer for about 7 years, so I don't know where is my original Windows cd. Someone gave me a virus? Also, I'm getting "data manager has stopped working" pop ups. Help!

  • Still another Z3C with WIFI issues...

    Hi all So I'm not a beginner in the world of smartphones, and today, I have a problem with my Z3C which affects me because I bought not long ago. Wifi, for most every stop just 10-20 minutes to work. It shows the Upload activity, but no download acti

  • Any java API to delete an e-mail account

    At the present time, I have implemented the code to remove emails from a particular e-mail account and I also implemented listener to record to the deletion of all new emails coming. I am also looking for some API to remove him leads of the device e-