Question about my script

I have a question about my script and why Im not return desired output. Could someone please help me solve this and also let me know what I was doing wrong, why their working version vs my return empty result. Thanks in advance and have a nice day.

Mike P.

First of all, I ran this for a list of all virtual cards ovf all my virtual machines. It comes out OK but gave me too much, I was looking for something a little more specific.

Get - VM | Get-NetworkAdapter | Select-Object Parent, name, NetworkName, ConnectionState

the script above has given me all the names of VM, AdapterName, PortGroup name and the connection status of the adapter of the said

I wanted to filter this down a little more. I was looking for netowrk adapters connected to a specific NetworkName with a ConnectionState connected object. Mainly because I have another script, I want to run after the fact that would make this particular NotConnected and NoStartConnected adapter.

I thought I could do it with the following script. The script works fine without errors and filter unwanted information. However, my problem is that it does not return what it finds on the screen as the previous script. I'm missing a piece for this script that will give me the output of the screen for each card that meets the criteria. I tried out channelling to a .csv, of course, it was empty as well. I tried a failed in an echo statement after him as well.

Get - VM | Get-NetworkAdapter | where {$_.NetworkName - eq "Network 1" - and $_.} ConnectioState - eq 'Connected'}

Thanks again for your help!

You can better use the operator contains this

{$_.NetworkName -eq "Network 1" -and "Connected","NoGuestControl","StartConnected" -contains $_.ConnectionState}

It checks if the value property is present in the array of values that you give on the left side

Tags: VMware

Similar Questions

  • Question about OWA scripts - how much time do need to run or not at all

    Just a question about OWA on Exchange 2010 scripts. I have a site and unique Exchange Server. I noticed that we have a powershell script scheduled in the Task Scheduler running daily that defines all the mailbox OWA strategy. This policy is defined in the EMC access client/organizational Configuration (EMC) tab.

    My question is... If the policy is already configured in the access client/organizational Configuration tab, should this powershell script run at all?  Not all new users get this strategy by default (since we have only one policy OWA) If you enable Outlook Web access on the mailbox of the user in the appearance of the mailbox tab?  My thought is that the powershell script and the calendar was just a postponement of the old Exchange 2003 for strategies for the OWA...

    Thank you.

    Hello

    Your question is beyond the scope of this community.

    I suggest that repost you your Question in Exchange for TechNet Forums.

    https://social.technet.Microsoft.com/forums/Office/en-us/home?category=ExchangeServer

    Or here:

    https://social.technet.Microsoft.com/forums/Exchange/en-us/home?Forum=exchangesvrgeneral

    See you soon.

  • Can I post here questions about Java Script here in this category?

    Hello

    I can post my questions of JAVA SCRIPT here in this category-Acrobat Scripting? If this isn't the case, RAS is the right forum category?

    Thank you

    The PDF files created by a program can be used by Acrobat, Reader and other 3rd party programs that can process PDF Forms.

    The only exception, if the folder level user written JavaScript work that uses Acrobat JavaScript.

    JavaScript for Acrobat

    Documentation of Adobe LiveCycle ARE

    LiveCycle® Designer ES scripting Basics

    LiveCycle® Designer ES script reference

    FormCalc user reference

    The shotgun approach to post the same question in all possible forums is not appreciated.

    Here are the free user 2 forums and responses are coming from other users and they might appreciate the little help to answer questions that form you.

  • Newbie question about executing script

    Hello world

    our company wants to publish a really nice magazine on iPad using InDesign and I must evaluate the solution.

    I read a few guides in Adobe PDF (great job btw), but I have a really important question to ask the experts among you: is it possible to customize a presentation to InDesign (with the target of the iPad in mind) to intercept, for example, a click from the user (that is, the reader of the magazine) and run a Javascript function.

    I understand that the InDesign scripting is used to customize the tool to automate the workflow etc. but can be used at the time of execution, during the actual presentation?

    I'm sorry if my question is obvious/naïve, I don't intend to spam the forums.

    My question was about the iPad and the type of magazine, you might

    Read about it (with the DPS), but I suspect that your answer is synonymous with

    This kind of content (which is not PDF), isn't?

    I'm not sure of DPS.

    You may need to ask in the forums DPS.

    And once again, for the PDF, it is not that there is no way to do it... just that there is no way to get him out of InDesign, you the user other tools (Acrobat).

  • Question about the script action and creation of menus

    I use flash for a while now and never formally trained in the design of web sites, so I always wonder if I use best practices. Here is the code I wrote for a menu. I try to use the script to control everything, I think that there is a more effective way to achieve this. Any help would be appreciated. Menu design and the current site work can be viewed here: http://www.studiojarch.com

    Advice on how to optimize the code would be appreciated.

    on {(press)
    If (project._currentframe == 25) {}
    }
    else {}
    getURL ("http://www.studiojarch.com/contact/", "studio_james_cornetet");
    project.gotoAndStop (25);
    }}

    on {(overview)
    If (_parent. Contact.goalPos == 290) {}
    _parent. Highlighter.goalPosy = 299;
    _parent. Highlighter.goalPosx = 5;
    _parent. Highlighter.Reverse = false;
    _parent. Highlighter.Play ();
    Project.Reverse = false;
    Project.Play ();
    }
    ElseIf (_parent. Contact.goalPos == 330) {}
    _parent. Highlighter.goalPosy = 339;
    _parent. Highlighter.goalPosx = 5;
    _parent. Highlighter.Reverse = false;
    _parent. Highlighter.Play ();
    Project.Reverse = false;
    Project.Play ();
    }
    ElseIf (project._currentframe == 25) {}
    _parent. Highlighter.goalPosy = 259;
    _parent. Highlighter.goalPosx = 5;
    _parent. Highlighter.Reverse = false;
    _parent. Highlighter.Play ();
    }
    else {}
    _parent. Highlighter.goalPosy = 259;
    _parent. Highlighter.goalPosx = 5;
    _parent. Highlighter.Reverse = false;
    _parent. Highlighter.Play ();
    Project.Reverse = false;
    Project.Play ();
    }}

    on {(deployment)
    If (project._currentframe == 25) {}
    Project.Reverse = false;
    }
    else {}
    _parent. Highlighter.Reverse = true;
    _parent. Highlighter.goalPosx = - 10;
    Project.Reverse = true;
    }}

    on (release) {}
    If (animation_hl_contact._currentframe == 24) {}
    }
    else {}
    _parent. James_Cornetet.project.gotoAndStop (1);
    _parent. Architecture.project.gotoAndStop (1);
    _parent. Awards.project.gotoAndStop (1);
    _parent. Blog.project.gotoAndStop (1);
    _parent. News.project.gotoAndStop (1);
    _parent. Publications.project.gotoAndStop (1);

    _parent. James_Cornetet.reverse = true;
    _parent. Architecture.Reverse = true;

    _parent. Architecture.goalPos = 100;
    _parent. Awards.goalPos = 130;
    _parent. Blog.goalPos = 160;
    _parent. News.goalPos = 190;
    _parent. Publications.goalPos = 220;
    _parent. Contact.goalPos = 250;

    _parent. James_Cornetet.about.gotoAndStop (1);
    _parent. James_Cornetet.CV.gotoAndStop (1);
    _parent. Architecture.category.gotoAndStop (1);
    _parent. Architecture.date.gotoAndStop (1);
    _parent. Archtiecture.bylocation.gotoAndStop (1);
    _parent. Architecture.typology.gotoAndStop (1);

    animation_hl_contact. Reverse = false;
    animation_hl_contact. Play();
    _parent. James_Cornetet.animation_hl_james_cornetet. Reverse = true;
    _parent. Architecture.animation_hl_architecture. Reverse = true;
    _parent. Awards.animation_hl_awards. Reverse = true;
    _parent. Blog.animation_hl_blog. Reverse = true;
    _parent. News.animation_hl_news. Reverse = true;
    _parent. Publications.animation_hl_publications. Reverse = true;

    }}

    One thing that stands out as being undesirable that recommended going is that you place on the items (using the on() approach) code.  The right approach is to assign instance names to your interactive objects and use them to place all code on the timeline where it is easily visible.  In doing so, you will find just that a lot of code that show you can be modularized in functions that can be shared by different objects rather than having each carrying a load full on his back. You will find that you can pass arguments to shared functions that do the same functions capable of supporting interactions with different objects

    Your call you (press) performs a conditional test useless.  If you change the status to be if (project._currentframe! = 25) you can avoid this.

    In all of your executed appeal of conditional statements, you have a few lines that are repeated in each condition, so they can be moved to the end off the conditional statements.

    Your call to it (release) has the same problem as your call you (press).  Use the _parent target overflow is also an indication that most of the code in this appeal would probably serve you better sitting in the _parent timeline and your button could just call this function

  • Simple question about calling script

    Hi people,

    I am new to flash and actionscript, so only to learn one simple question. (I have not found an answer while the former posts surf/reading again)

    If I wrote a script at the top of my project:

    btnTest1._visible = false;

    btnTest2._visible = false;

    btnTest3._visible = false;

    etc.

    I can create something to call this script in without having to re write the original code if I need to use it again, for example:

    btnTest4.onrelease = function() {}

    btnTest1._visible = false;

    btnTest2._visible = false;

    btnTest3._visible = false;

    }

    I'm looking for a way to store need to unnecessarily repeat the script

    See you soon

    Yes, you can create features and reuse them as long as they remain accessible.  Just be aware that you are showing code Actionscript 2, Actionscript 3.  Below it is rewritten in AS3...

    function hideEverything (): void {}

    btnTest1.visible = false;

    btnTest2.visible = false;

    btnTest3.visible = false;

    }

    And that the function could be further simplified because of the way you named elements (more sense if there is more than a mere 3)...

    function hideEverything (): void {}

    for (var i: uint = 1; i<4;>

    This ["btnTest" + String (i)] .visible = false;

    }

    }

    Place the strings in parentheses causes their names of proceedings for assessment.

  • Question about fx:Script

    Hello

    I have a form with many features of calculations in fx:Script.

    Can I create a separate part of my fx:script file? It happened to long.

    If I can separate this file, can I use this as a different form?

    Thank you!

    You can use the source property:

  • Question about action script 2

    Hello!

    I hope I posted in the correct forum.

    I used this code http://www.Adobe.com/devnet/flash/articles/puzzle_game_sample.html to make my own puzzle and I made the changes as the image of the puzzle and the number and the size of the Board and the pieces of the puzzle. I also changed placement of parts at the beginning to adapt to my puzzle better. Now everything works fine, it recognizes piece is on the right place and all, but once the puzzle is solved, it will not load effect disappears and you win the game, that I added to go after it. I tried to remove what I added to go after, but he still did not effect disappears. It behaves as if the puzzle is not resolved from what I see, but I can't understand why. If someone could help me I would be very grateful. ^^

    Thank you!

    It's too much code to look at.  It is best to simply provide code that is directly relevant to the problem, preferably in a form that is not based on the page and in the display thread that it is obvious to see.

    The function that you pointed out appears to perform work you say works very well except for the part where the puzzleSolved(); called.  I think the problem is be conditional that you are leading the call to this function...

    if(correctPuzzlePieces == totalPuzzlePieces) {}

    puzzleSolved();

    }

    or in the puzzleSolved function.  So what you should do to try to isolate the problem, use the trace() function to see what are the values of the things, or if some processing is running.  See, for example, if the conditional runs when it needs putting a sign in front of her and traces within the puzzleSolved function...

    trace (correctPuzzlePieces, totalPuzzlePieces);

    if(correctPuzzlePieces == totalPuzzlePieces) {}

    puzzleSolved();

    }

    function puzzleSolved (): Void {}

    trace ("this function has been called")

    Continue to use the trace to track down where things don't agree with what you would expect, that they must be.

  • Question about the scripted events.

    I don't know if it's still something, I can use events, but I want to do the following:

    I have a label with some text.  I want to display this text for x number of seconds and after that time, move on to another text.

    Tips for getting started on this task?

    Thank you!

    Gah! Adobe has a really low example in their docs (for meaning, see http://livedocs.adobe.com/flex/3/langref/arguments.html ). Something like the following should work for you (attention: have not tried this)

    private var delay: Number = 7000;

    private var initTempMsg:String = 'temporary Message. "

    private var initDefaultMsg:String = "The default Message";

    private function BDTimer():void

    {

    inBD.text = initTempMsg;

    setTimeout (renderBD, delay, initDefaultMsg);

    }

    private function renderBD(defaultMsg:String):void

    {

    indBD.text = defaultMsg

    }

    --
    Maciek Sakrejda
    Truviso, Inc..
    www.truviso.com
    Truviso recruiting: http://www.truviso.com/company-careers.php?i=87

  • Questions about scripts in ai2

    Hello

    Two questions about the new install script.

    (1) where to find documents on the "object model" which is available for use during the writing of scripts. There the Javadocs available to all classes, getters, setters, etc that can be used?
    For example, I want to write a custom rule to detect foreign keys "without columns. For some reason, this error occurs during generation DOF, but I have not found a standard rule of prior design detect these problems before the generation of DDL. So, I'm interested in knowing how to navigate through the object model to create a rule of mine (IE is it a table.getFK (.getColumns ()) use?).

    (2) is it possible to use Groovy as a scripting language? If Yes, does anyone have the docs (or even draft notes) on how join as a script engine in the Data Modeler?

    Thank you, BP

    Hi BP,.

    to detect foreign keys "without columns. For some reason, this error occurs during generation DDL

    What version did you use to create these cases? There was such a problem in one of the pre-production versions published two years ago.

    Meta definitions, you can watch datamodeler\datamodeler\xmlmetadata directory.
    In fact, it is preferable to define the rule of index/constraint - you will get a clue that is used to represent the PK, UK, the FK constraints and indexes.
    So for your rule, you select index/constraint as object and the next Java scrip will be your rule:
    var index;

    {if (index.isFK () & {index.getElements () .length == 0)}
    fake;
    } else {}
    true;
    }

    If you remove index.isFK (control) then the rule will be valid for all PK, UK, the FK constraints and indexes.

    For script engines - you can start here - https://scripting.dev.java.net/
    I see groovy is supported - http://groovy.codehaus.org/JSR+223+Scripting+with+Groovy
    How to install it - you can follow the instructions in the first link above, it's much easier just to copy related jar in the "ext" directory - for groovy I copied "groovy - 1.7.5.jar" (I downloaded 1.7.5 version)
    in the "D:\jdk1.6.0_20\jre\lib\ext" directory on my computer. You must restart the Data Modeler - I engine script groovy as a choice in the engine drop-down list box.

    You must test how Groovy will return true or false for the Data Modeler - generally ordinary (not library), it is strange that you see in the example. If the library is used then the standard return is used.

    Philippe

  • HTML (Web), I have a question about the models.

    Hello CC animate developers.

    New features are really good.

    HTML (Web), I have a question about the models.

    <! DOCTYPE html >

    < html >

    < head >

    < meta charset = "UTF-8" >

    < title > $TITLE < /title >

    < meta name = "ad.size" content ="width = $WT, height = $HT" > "

    $CREATEJS_SCRIPTS

    $SCRIPT_START

    var canvas, stage, exportRoot;

    function init() {}

    $CJS_INIT

    }

    $PLAYSOUND

    $SCRIPT_END

    < script type = "text/javascript" >

    "clickTAG" var = "";

    < /script >

    < / head >

    < onload = "init (); the body"style =" background-color: #D4D4D4; " margin: 0px; ">

    < a href = "javascript:window.open (window.clickTag)" >

    < div style = "position: absolute;" cursor: pointer; box-sizing: border-box; border: 1px solid #000000; overflow: hidden; height: $HTpx; Width: $WTpx; Background: rgb (255, 255, 255.0); "> < / div >

    < canvas id = "$CANVAS_ID" width = "$WT" height = "$HT" style = "background-color: $BG" > < / canvas >

    < /a >

    < / body >

    < / html >

    In the example above, the model;

    < Meta name = "ad.siz of" content = "width = $ WTI height = $ HT" > "

    and

    < Div style = "position: absolute;" cursor: pointer; box-sizing: border-box; border: 1px solid # 000000; overflow: hidden; height: $HTpx; Width: $WTpx; Background: rgb (255, 255, 255.0); "> < / div >"

    I use labels. But these tags in the template and import, it gives an error does not occur.

    I think it was a mistake. I want to help in this regard.

    $ HT or Properties $WT , I get an error when I use elsewhere.

    I think I should be able to use anywhere I want.

    The same problem here - I worked around by some DRM models with different values of ad.size, but it's a solution quite short-seight

    Also - you are not able to create the model with transparent background by removing style = "" background-color: $BG ' as it also throws errors - is the only solution that I managed to get updates style = "background-color: $BG; background: none; ", but it's a really bad way of coding things.

    It would be really great to have freedom in changing patterns.

  • A question about external authentication with PHP OCI8 using a portfolio store

    Hello
    SQL> SELECT * FROM v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE     11.2.0.1.0     Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    SQL> 
    OS: Linux Fedora Core 17 (x86_64)
    PHP Version: 5.4.14
    Apache version (httpd): Apache/2.2.23 (Fedora) 
    I have a question about OCI8 connection to the Oracle server via portfolio, which I understand is a good practice because we do not have to hard code the users password. I'm trying to read pages 117 and 118 of the book The Underground PHP and Oracle manual online to learn how to set up a portfolio. I proceeded by steps as explained in these two pages (except that at the end I connect, as a normal user, not a privileged user) yet, apparently PHP does not detect the user.

    Here's what I write in my script
    $connection = 
                    oci_connect 
                        (
                            "training", 
                            "", 
                            "php_ora_usr", 
                            "AL32UTF8"
                        );
    the training is the name of the user that I use in my PHP scripts to connect to the oracle database and the password is mypassword (is not true, just for the purpose of this thread :)) the code above gives me the following error:)
    Warning: oci_connect(): ORA-01005: null password given; logon denied in /var/www/html/myscript.php on line 91
    
    Fatal error: Connection step: ORA-01005: null password given; logon denied in /var/www/html/myscript.php on line 13
    But if I also provide the password which is,
    $connection = 
                    oci_connect 
                        (
                            "training", 
                            "mypassword", 
                            "php_ora_usr", 
                            "AL32UTF8"
                        );
    Obviously it works, but at the same time, this means that my wallet is not operational.

    So I'll write here, step by step, how I did according to the instructions contained in the pages 117 and 118 of the above mentioned book and I would be grateful if you could kindly tell where I made the mistake (s)

    The following text was performed under my oracle linux (so the dbagroup)

    Step 01:_
    I created and provided the password for the directory of portfolio
    mkstore -wrl /home/oracle/wallet_dir -create
    Step 02:_
    I created an entry for my oracle user that will be used in my PHP scripts to connect to oracle
    user: training
    password: mypassword
    mkstore -wrl "/home/oracle/wallet_dir" -createCredential php_ora_usr training mypassword
    I also checked that the entry was actually created for my user in the portfolio
    $ mkstore -wrl "/home/oracle/wallet_dir" -listCredential
    Oracle Secret Store Tool : Version 11.2.0.1.0 - Production
    Copyright (c) 2004, 2009, Oracle and/or its affiliates. All rights reserved.
    
    Enter wallet password:                
       
    List credential (index: connect_string username)
    1: php_ora_usr training
    $ 
    Step 03:_
    I added the following to my $TNS_ADMIN/tnsnames.ora
    .  .  .
    php_ora_usr = 
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = db02)
        )
      )
    .  .  .
    Step 04_
    I added the following to my $TNS_ADMIN/sqlnet.ora
    # sqlnet.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    
    ADR_BASE = /u01/app/oracle
    
    WALLET_LOCATION =
        (SOURCE =
            (METHOD = FILE)
            (METHOD_DATA =
                (DIRECTORY = /home/oracle/wallet_dir)
            )
        )
    SQLNET.WALLET_OVERRIDE = TRUE
    SSL_CLIENT_AUTHENTICATION = FALSE
    SSL_VERSION = 0
    _ Step 05
    The TNS_ADMIN environment variable is already set correctly in * / etc/sysconfig/httpd * so I didn't need to do something for this step


    Step 06_
    I gave to access Apache (as root) in the directory of portfolio (in fact, it seems that the user oracle (dba) of linux also has the required privileges to grant this access to the apache)
    # setfacl -m u:apache:rx /home/oracle/wallet_dir
    # setfacl -m u:apache:r /home/oracle/wallet_dir/{cwallet.sso,ewallet.p12}
    Step 07_
    Restart Apache
    # service httpd restart
    Step 08_
    Finally make a test connection using the connection string php_ora_usr which the entry was created earlier. And the test was not successful, as indicated above
    $connection = 
                    oci_connect 
                        (
                            "training", 
                            "", 
                            "php_ora_usr", 
                            "AL32UTF8"
                        );
    The error message:
    Warning: oci_connect(): ORA-01005: null password given; logon denied in /var/www/html/myscript.php on line 91
    
    Fatal error: Connection step: ORA-01005: null password given; logon denied in /var/www/html/myscript.php on line 13
    I would appreciate it if you could kindly shed some light.

    Thanks in advance,
    Dariyoosh

    That gives a good clue to begin with. With your platform/Apache/DB, you might need different ACLs. Test directory and permissions. Check what euid your Apache runs as. Good luck.

  • A question about license Eula agreements

    Hello:

    I have a question about the license agreements (EULA end user). Could someone figure this out for me?

    My question is, what is the significance of the AE6 2.1.7.2 EULA?

    EULA - after effect 6 download link: http://www.adobe.com/products/eulas/pdfs/Gen_WWCombined-MULTI-20111031_1230.pdf

    2.1.7 use of server

    2.1.7.1.

    2.1.7.2... (e) for operations not initiated by an individual user (for example, the server automated processing).

    Everything (e), means that I can't start automatically processes via the AE AE script? That's what I'll do below.

    There will be a few AE works in the work list (DB), my script would read the list, and then automatically start program main AE,.

    After some processes, the work will be done. The script should continue to work until all the works being completed.

    What is a legal way to use AE?

    Thank you.

    Neil

    As far as my understanding of the legal points will: No. you would breach 2.1.7.1 and also on some level 4.7 and 4.8 break - Amazon is not your local network and since otehrs can access the server outside the number of permits users who could carry some influence in the judgememnt. Anyway, I'm not a legal expert by any means. However, technical obstacles remain: AE and SOUL do not necessarily play with the server because of CoDecs software, licenses and other things system level get involved Server security mechanisms can stop working...

    Mylenium

  • A question about the REEL in sqlplus command

    Hi all


    I have a question about the order of the COIL and I would be grateful if you could kindly give me a helping hand. Consider the following sql script.
    SPOOL result.txt
    SELECT * FROM mytable;
    SPOOL OFF;
    It works pretty well, and all the contents of the table "MyTable" is exported to the textfile "result.txt". However, sqlplus also prints the number of lines
    Print after each query. So after you run this script, the end of the file, I always have a line like
    ...
    "20541 lines returned"
    How can I avoid this line (the number of returned rows) in my output file?


    Thanks in advance,
    Dariyoosh

    Type this command prior to winding.

    set feedback off
    

    Kind regards
    Prazy

  • A question about the order of COLUMN sqlplus and PL/SQL

    Hello everyone.



    I would like to ask a question about sqlplus command COLUMN that I use in order to define the length of my queries of output columns. So, for example, I run something like:
    COLUMN market FORMAT a20
    That is why any column with the name 'the market' will be composed by sqlplus as 20 characters.

    Currently I'm working on a PL/SQL script that makes this automatic procedure, in other words, instead of manually write for each column in the above COLUMN order, it uses the DBMS_SQL. He read first as input the name of the table and then inside a loop, it detects the maximum length.

    For those interested, here is the Oracle documentation page that I found (example 8)
    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_sql.htm

    If everything worked well enough I managed to recover the maximum of each column in my table length, except that I don't know how to use the COLUMN sqlplus command in my PL/SQL block. I would like to do something like that (it's just a pseudo-code)
    FOR colIndex in 1 .. numberOfColumns LOOP
            currentColumnName = getColumnName(tableDescriptionObject, colIndex);
            currentColumnLength = getColumnLength(tableDescriptionObject, colIndex);
            
            COLUMN  currentColumnName FORMAT a -- and here after 'FORMAT a' I have to write currentColumnLenth but I don't know how to proceed.
    
    END LOOP;
    I would like to know is there a command in PL/SQL to define the appropriate column typeset in sqlplus length?


    Thanks in advance,
    Dariyoosh

    Hi, Dariyoosh,

    Sory, I don't think that there is a simple way to publish SQL * most orders fom PL/SQL.
    PL/SQL runs in the database (back-end); There isn't any direct contact with SQL * more at the front end.

    The best way I know is that PL/SQL script (myfile.sql) with orders of the COLUMN, and then have SQL * more run the script (@myfile).

Maybe you are looking for