Is there any equivalent to xp_cmdshell command in, SQL Anywhere?

In Sybase IQ there's a command named xp_cmdshell, it is a system extended procedure that allows a database server to execute external shell commands.
I need to know if there's an equivalent to it in SQL ANywhere syntax?

Hi Erika,
SQL Anywhere contains a command by the same name which should be very similar, if not identical, to it's IQ counterpart.
More information can be found at this DCX page.
Thanks,
Mikel Rychliski
SAP Active Global Support

Similar Messages

  • HT4967 Mobile Me was so handy. I pushed the little sync button and everything updated. Is there any equivalent for I Cloud?

    Mobile Me was so handy. I pushed the little sync button and everything updated. Is there any equivalent for I Cloud?

    Welcome to the Apple Community.
    Unfortunately, iCloud does not offer equivalents to Mobile Me’s iDisk, Gallery or Web Hosting services. You will need to find a third party solution to replace these services. You might consider DropBox, SugarSync, MediaFire or any other service that offers online storage. (not all these alternatives offer all the services previously provided by iDisk)

  • Is there any feature in Oracle 9i like SQL Adviser ?

    Hi,
    How can i use the SQL Adviser in Oracle 9i, I am not whether it's the feature of Oracle 9i or 10g.
    If not , can anyone tell me , is there any feature in Oracle 9i like SQL Adviser.
    Raj

    answered

  • Is there any way to hook into the SQL report pagination process?

    I have a SQL report (based on EMP) with a radiogroup row selector.
    The scenario 1 and 2 are in place
    1) When the employee row radio group is clicked the P900007_JOB the text item is populated with the JOB for the employee.
    2) When the page is initially displayed or submitted via the button the first row’s radio group is programmatically clicked and therefore populates the additional job information in P900007_JOB
    Info (radio Group) Employee No Name
    (+) 7369 SMITH
    () 7499 ALLEN
    () 7521 WARD
    P900007_JOB CLERK
    1-3 Next>
    Once the report has been displayed and the next or previous pagination is used then none of the radio groups will be selected and the data in the P900007_JOB text item will still display the job of the last selected employee row.
    What I require is on pagination some sort of mechanism to either
    a) Call the page_init() that should then set the first row as selected and populate the text item via the programmatic click. (preferred option)
    b) OR blank out the additional text item P900007_JOB.
    Is there any way to hook into the pagination process?
    I have a work around – Set the ‘Enable Partial Page Refresh’ to ‘No’ but this means a full refresh every time the pagination is used.
    Details of my page
    Report Region (Based on EMP table) – radio group as a row selector
    select     APEX_ITEM.RADIOGROUP(1,EMPNO,'X21',null) CHECKRG, EMPNO,
         ENAME,
         JOB
    from     EMP
    Report Attributes -
    Report template :- P900007_ROWTEMPLATE (custom template see later)
    Report Attributes Substitution :- id="emp_report" (used in page_init see later)
    Enable Partial Page Refresh :- Yes
    Columns – All columns are selected as show but job is left out of the template below.
    P900007_JOB - Text item in report region (disabled does not save state). Populated with the employees job when the radio group is clicked.
    Control region :- HTML region that just holds a button <GO> just to submit the page and redirect back to the same page.
    P900007_ROWTEMPLATE (named column row template)
    Row template 1
    <tr style="cursor: hand; cursor: pointer;" onmouseover="row_mouse_over(this, 1)" onmouseout="row_mouse_out(this, 1)" #HIGHLIGHT_ROW# ">
    <td class="t15data" onclick="selectRow('#JOB#');">#CHECKRG# </td>
    <td class="t15data">#EMPNO# </td>
    <td class="t15data">#ENAME# </td>
    </tr>
    Before rows
    <table class="t15standard" summary="" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#" >
    <th class="t15header" #ALIGNMENT# >Info</th>
    <th class="t15header" #ALIGNMENT# >Employee Number</th>
    <th class="t15header" #ALIGNMENT# >Name</th>
    After Rows
    <tr>
    <td colspan="99" class="t15afterrows">
    <span class="left">#EXTERNAL_LINK##CSV_LINK#</span>
    <table style="float:right;text-align:right;" summary="pagination">
    #PAGINATION#</table>
    </td>
    </tr>
    </table>
    *Javascript in page Header*
    <script src="#WORKSPACE_IMAGES#apex_show_hide_region.js" type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript">
    <!--
    function selectRow(pJob)
    /* console.log('pete got here!'+pJob)*/
    $x('P900007_JOB').value =pJob;
    /* Start Page init*/
    function *page_init*()
    /* Used to set radio groups on reports */
    /*console.log('START pete got here!');*/
    var is_checked = false;
    var l_check = $x_FormItems($x('emp_report'), 'radio');
    /*Loop and set flag if checked*/
    for(var i=0,len=l_check.length;i<len;i++)
    if(l_check.checked){
    is_checked = true;
    /*end loop*/
    /*If none checked force a click*/
    if(!is_checked){
    /*no longer need as doing click below*/
    l_check[0].checked=true;
    /*Force a click on the first radio group - extra details should then be
    populated*/
    var l_click = l_check[0].click();
    /* console.log('END pete got here!');*/
    /*END page_init*/
    // -->
    </script>
    *Application shared component.* – This fires a DB packaged procedure when the page is loaded.
    P330_PART_NO_HIST
    Process Point On load after Body region
    Process Text show_hide_memory.part_no_history_details();
    *Packaged Procedure* – This kicks off the page_init javascript in the header (earlier) to click on the radio group in the first row.
    PROCEDURE part_no_history_details AS
    BEGIN
    htp.prn('<script type="text/javascript">' || CHR(10));
    htp.prn('<!--' || CHR(10));
    htp.prn('page_init();'|| CHR(10));
    htp.prn('//-->' || CHR(10));
    htp.prn('</script>' || CHR(10));
    END part_no_history_details;
    Thanks Pete
    Edited by: Pete @ LSC on 26-Jan-2010 06:56

    Anybody any ideas? Should I be looking down the route of using my own pagination buttons and adding my code to this?
    There seems to be a routine $a_report that I can use for the pagination but I am finding it difficult to get the current first and last record values that I would need to pass. I've seen references to below in the form but when I'm using partial refresh they do not seem to change.
    wwv_flow.g_flow_current_min_row
    wwv_flow.g_flow_current_max_rows
    wwv_flow.g_flow_current_rows_fetched
    wwv_flow.g_request
    Thanks Pete

  • Is there any type of network compression for sql

    I have a user trying to spool a select statement that is close to a 2 gig text file when its done..
    the statement runs in 3 minutes when run on a sql client connected to a 1gig full duplex network..
    but when connected to a 100Mb/half duplex network it takes 7 hours..
    the obvious fix would be to upgrade the clients network.. but thats not my call.. and isn't going to happen..
    I've offered to schedule it local, zip it, and send the zip.. but they don't want that..
    is there any type of compression setting that could be specified..

    I don't believe there is to be honest, but I haven't poured through all the documentation. This may be beneficial however: [Configuring Session Data Unit|http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/performance.htm#sthref1395]
    HTH!

  • Is there any Bapi to Connect to the Sql Serve

    Hi ,
              I have a requirement in which i want to connect to the Sql Server is there any BAPI for the same can anybody help me out .
    Thanks in advance
    Regards
    Shankar

    Hi.
    Have you read the online documentation and searched for "native SQL". If yes, what are your specific questions?
    Best regards,
    Jan Stallkamp

  • Is there any Tools for Code coverage for SQL Azure Database projects

    I need to capture data base code coverage for all the manual and automated test. this is for Azure DB, is there any tools available for the same? Please advise

    Hi,
    In order to code coverage for SQL Azure, use Microsoft Test Manager.
    This Link helps you in understanding and step by step procedures for manual testing.
    http://msdn.microsoft.com/en-us/library/vstudio/hh698492(v=vs.110).aspx
    Along with the above link also refer to
    http://msdn.microsoft.com/en-us/library/jj156172.aspx
    http://msdn.microsoft.com/en-us/library/jj156144.aspx
    Girish Prajwal

  • Is there any "skip page count" command for last page?

    Hello,
    May I know if there is a command(such as even-skip-page-count) specifically for the document last page?
    I have a requirement where PO/Invoice T&C should be printed at the back of the last page only.
    The blog of Tim (http://blogs.oracle.com/xmlpublisher/2007/10/here_are_my_terms_conditions.html) covers
    only odd/even printing.
    Thanks in advance.
    Rownald

    nagornyi is correct.
    i will just expand a bit on the use but it can be found in the documentation.
    you will need to add a section break to the last page of your report
    and also remember to add the header information of you report.
    I may be wrong but when I left the header info out it was not printing.
    header information goes above the tags and footer(totals and stuff like that) below the tags
    Edited by: tarmenel on Feb 26, 2009 9:02 AM

  • Is there any equivalent in OS X to Windows Offline files?

    I have been using Offline files in Windows since1999, and today this is the only feature I still haven't found a way to do with a Mac. I need that for work. Is it available with Mac OS X Lion?
    Thanks a lot!

    lupunus wrote:
    CariocaDaGema wrote:
    I have been using Offline files in Windows since1999, and today this is the only feature I still haven't found a way to do with a Mac. I need that for work. Is it available with Mac OS X Lion?
    Thanks a lot!
    If you refer to "offline files" as downloaded websites you may use it quite like in Windows by choose "save as" for the site. It creates a folder and a html file to open in a browser.
    Or did I misunderstood your question?
    Lupunus
    You did, Offline Files (in windows) refers to files stored on a network drive that are mirrored to your local machine (for offline use) and then synchronized back to the network drive when you reconnect.

  • Is there any simple way to run same sql script on multiple remote sql server databases at once?

    i am using sql server 2005. our company has many branches. each branch is located in different country. so when i update database in any country over the VPN connection then i need to update db in another country one by one over the vpn connection. it
    is very tire some job....so i was think that there could be any easy trick to update multiple db in different country easily. so am developing a store procedure which will connect each DB in different database one after one over the vpn and read script from
    sql file and execute the script in remote db over vpn. so please have look at my script and tell me how to do it. please do not advise me to use any 3rd party.
    here is a table structure where i will put all my remote db details.
    CREATE TABLE [dbo].[DBDetails]
    [ServerName] [varchar](max)     NULL,
    [DBName] [varchar](max)         NULL,
    [UserID] [varchar](max)         NULL,
    [Password] [varchar](max)       NULL,
    [CountryCode] [varchar](2)      NULL
    SET NOCOUNT ON
    DECLARE DB CURSOR FOR SELECT ServerName,DBName,UserID,Password,CountryCode FROM    DBDetails
    OPEN DB
    DECLARE @ServerName     varchar(MAX)
    DECLARE @DBName         varchar(MAX)
    DECLARE @UserID         varchar(MAX)
    DECLARE @Password       varchar(MAX)
    DECLARE @CountryCode    varchar(2)
    FETCH NEXT FROM DB INTO @ServerName,@DBName,@UserID,@Password,@CountryCode
    WHILE @@FETCH_STATUS = 0
    BEGIN
    -- here i need some help for opening db connection and read sql file and execute  the statement
    -- Please help here
    FETCH NEXT FROM DB INTO @ServerName,@DBName,@UserID,@Password,@CountryCode
     END
     CLOSE DB
     DEALLOCATE DB
    thanks

    One way: set them as jobs and assign the same schedule or start them from a stored procedure:
    http://www.sqlusa.com/bestpractices2005/startjobfromstoredproc/
    Note: when you start a job from a stored procedure, control proceeds to the next statement, there is no wait for the job to finish.
    Kalman Toth SQL SERVER 2012 & BI TRAINING
    New Book: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2012

  • Is there any Frame/Chan​nel API command to clear Rx CAN queue ?

    Hi everybody,
    Is there any NI-CAN CVI command to clear CAN Rx queue/buffer ? .... Something like FlushInQ in CVI ?
    Petko G.

    Hi Petko,
    I didn't find any command which would work like "flush queue", but I believe you should be able to clean the entry queue by reading number of frames available in the read queue, and then calling "Read Net Multiple.vi". All the read data you can just ignore, but I bett you will empty entry queue.
    regards,
    Stefo

  • Any equivalent for "Oracle9i Database: Seminar Series for Oracle Server"?

    Dear all
    I'm interesting on the Oracle course named "Oracle9i Database: Seminar Series for Oracle Server" - [D16665GC10|http://education.oracle.co.uk/html/oracle/68US/D16665GC10.htm]
    AFAIK as Oracle 9i is unsupported, I don't belive that I can find this course available anywhere. So my question is: "Is there any equivalent for above course for 10g/11g?"
    Thanks in advance

    Kamran Agayev A. wrote:
    Dear all
    I'm interesting on the Oracle course named "Oracle9i Database: Seminar Series for Oracle Server" - [D16665GC10|http://education.oracle.co.uk/html/oracle/68US/D16665GC10.htm]
    AFAIK as Oracle 9i is unsupported, I don't belive that I can find this course available anywhere. So my question is: "Is there any equivalent for above course for 10g/11g?" Yes, those are excellent materials. A lot of the material is covered in the DBA 1 & 2 courses, but not as focused and not as 'in depth'. I encourage that you write directly to Oracle University and ask them to upgrade the seminar. (Tell them I'd be happy to update/deliver it. ;-))
    An alternative, and possibly even better, is to watch for (or ask for) a local presentation by Jonathan Lewis and/or Cary Millsap (Method R)
    /Hans

  • Any good Power Shell command or script to see connected users in real time for Lync 2013

    Are there any good Power Shell commands or scripts that can tell you how many users are connected to a pool in real time so you can evaluate the current load. I have 3 FE servers in a single pool. We just started deploying the lync client to the users and
    were curious as to how many are actually connected. I saw a number of home made scripts but really didn't care for any of them. I just want to find out how many users that are actually connected to the pool at a particular moment so we can see how many users
    are really using the product.

    Have you looked at Pat Richard's get-csconnections script?: http://www.ehloworld.com/269
    Please mark posts as answers/helpful if it answers your question.
    Blog
    Lync Validator - Used to assist in the validation and documentation of Lync Server 2013.

  • Is Ref Cursor Supported in Froms 10g . If not is there any built-ins

    Hi Experts,
    I need to use ref cursor in my from 10g. My cursor query should be dynamically append the "where clause column name". Hence I used the dynamic query with ref cursor.
    But my problem is , when I compile the form it gives error "this feature is not supported in clinet-side programs'
    Is there any solution for this in forms?
    Will "EXEC_SQL" package works.
    Is there any alternative other than writing pl/sql refcursor....
    Thanks
    Jana

    There are only strong ref cursors allowed in forms (they are not dynamic). you can use exec_sql in forms, or you can use a record group to do dynamic sql. Third option would be to write a database procedure where you can make use ref cursors.
    regards

  • Equivalent of ValueList function in SQL

    Hi,
    Is there an equivalent of valueList function in SQL? Here's
    what I am trying to do:
    Suppose I have the following table:
    Name -- Color
    John -- Green
    John -- Red
    Mike -- White
    I want to do a query such that the colors are aggregated as a
    list. So the result would be:
    Name -- Color List
    John -- Green, Red
    Mike -- White
    The only way I could think of doing this is to loop through
    each name in the table and doing ValueList in each loop. Is there a
    better way?
    Thanks.
    Min

    > I want to do a query such that the colors are aggregated
    as a list.
    If it _must_ be done in sql, there are some database options.
    Such as the one mentioned above. There are also some interesting
    approaches using xml path and cross apply with MS SQL 2005. I do
    not know about other databases.
    http://databases.aspfaq.com/general/how-do-i-concatenate-strings-from-a-column-into-a-sing le-row.html
    Bear in mind there are some performance implications with all
    of the methods. For example, a udf would execute once for each
    name. So the more records, the greater the impact.
    Another possibility is to use cfoutput's group attribute to
    create a list for each name. Assuming that is feasible ..

Maybe you are looking for

  • JNDI, Data Source and Tomcat

    Hi, I am using Tomcat 4.1 I am using JDBC to connect to to SQL 2000. In the past I use JDBC 2.0 standsrd package to connect to it and it was fine. Now, for some reason, I need to use DataSource via JNDI. Here is my server.xml <Resource name="jdbc/SQL

  • What are the steps for sending SMS through IMS5.1

    I have IMS 5.1 solaris version and I want to send SMS through this Messaging server, Is there any need for the gateway/any other server/requirements for accomplishing this?

  • Ear or war or jar not created

    1. when I build the examples, it builds the class files but does not create ear or war files.... 2. how do I stop the default service and run the example server... the beasvc is not in the service list...... just have to kill in the task manager?? Th

  • Setting 'ReplytoAddress' in NormalizedMessage using BPEL client API-failing

    Hi all, I tried specifying 'Reply to Address' property in Normalized Message using BPEL Client API to receive response from Asynchronous BPEL process but it's not working. I am facing the following situations:- 1.Just setting 'Reply To address'-raise

  • Function to undo movieclips

    hi guys! is there any function which i can undo a movie clip when i press a button? Is like when i click on the undo button it will just set back to the previous screen i did.