If the result from the stored procedure returns 0 rows I get this error returned:

If the result from the following stored procedure returns 0
rows I get this error returned:
faultCode:Server.Processing faultString:'Variable transfers
is undefined.' faultDetail:''
How can I get round this?

Well if I try this in a cfm page:
<cfstoredproc procedure="GetTransfers"
datasource="datasource" returncode="true">
<cfprocparam type="in" cfsqltype="CF_SQL_VARCHAR"
value="4">
<cfprocparam type="in" cfsqltype="cf_sql_date"
value="12/09/2006 08:42:00">
<cfprocparam type="in" cfsqltype="cf_sql_date"
value="12/09/2008 08:42:00">
<cfprocresult name="transfers">
I get an error like:
[Macromedia][SQLServer JDBC Driver][SQLServer]Procedure or
function 'GetTransfers' expects parameter '@fromdate', which was
not supplied.
But this procedure only accepts 3 parameters.

Similar Messages

  • What is a user parameter list in iMovie? I am trying to sent the movie from imovie to idvd and I keep getting an error with the user parameter list. Help?

    What is a user parameter list in iMovie? I am trying to sent the movie from imovie to idvd and I keep getting an error with the user parameter list. Help?

    Can you give more details?   What exactly is the entire error message text?  there should be an error number too.   Are you trying to finalize this to an external disk?

  • When I try to use the internal hard drive as a scratch disk I get this error "unable to set scratch disk- the selected directory is on write protect or non-writable media.  Any ideas on how to fix this.  It only happens in fcp.

    When I try to use the internal hard drive as a scratch disk I get this error "unable to set scratch disk- the selected directory is on write protect or non-writable media.  Any ideas on how to fix this.  It only happens in fcp.

    By internal, I assume you're referring to your systems (boot) drive. Is it, by chance, a partitioned dive?
    Also…although many people successfully use their systems drives as scratch disks, over time you'll have better results using a dedicated drive for your media.
    Good luck.
    Russ

  • Ipod sync problems ipod 2.2.1 touch OS10.6.8 itunes 10.6.1 The photos sync but the calendars and contents will not.  I keep getting this error message... «iTunes could not sync information to the iPod «name of iPod» because a sync session could not be sta

    ipod sync problems
    ipod 2.2.1 touch OS10.6.8 itunes 10.6.1
    The photos sync but the calendars and contents will not.  I keep getting this error message...
    «iTunes could not sync information to the iPod «name of iPod» because a sync session could not be started.»

    Greetings,
    See this post: https://discussions.apple.com/message/12799057#12799057
    Cheers.

  • Not getting all of the results from ALL_OBJECTS in Procedure

    I created the following procedure under a DBA account. The procedure selects info from ALL_OBJECTS. When I execute the procedure under this same DBA account, It does not return objects of all owners; only owners like SYSTEM, SYS, PUBLIC, and the DBA account itself.
    But if I run the same code anonymously in SQLplus, under the same DBA account, I get objects of all the other owners that I also have access to.
    What do I need to do in order to have the procedure return objects of all the other owners?
    Here's the procedure:
    CREATE OR REPLACE procedure xxx
    IS
    CURSOR C1 IS
    select distinct owner
    from all_objects
         order by owner;
    OwnName VARCHAR2(30);
    BEGIN
    OPEN C1;
    LOOP
    fetch c1 into OwnName;
    EXIT WHEN C1%NOTFOUND;
    dbms_output.put_line ('Owner ' || OwnName);
    END LOOP;
    dbms_output.put_line ('Procedure xxx Ended');
    CLOSE C1;
    EXCEPTION
    WHEN OTHERS THEN
    IF C1%ISOPEN THEN CLOSE C1; END IF;
    DBMS_OUTPUT.PUT_LINE (CHR(0));
    DBMS_OUTPUT.PUT_LINE ('OwnName: '||OwnName);
    DBMS_OUTPUT.PUT_LINE ('SQL Code: '||TO_CHAR(SQLCode));
    DBMS_OUTPUT.PUT_LINE ('Error Message: '||SUBSTR(SQLERRM, 1, 200));
    END;
    Thank you.

    When you execute the code from within a procedure, instead of within an anonymous pl/sql block, it only applies the privileges that have been granted directly and does not apply any of the privileges that have been granted through roles. If you "set role none", then execute your anonymous pl/sql block, you will see the same limited result set that you are getting from the procedure.

  • Not able to retrive the recordset from oracle stored procedure in VC++

    Hi,
    I am trying to retrieve the records from the reference cursor which is an out parameter for an oracle 9i store procedure in VC++ application. But it is giving the record count as -1 always. Meanwhile i am able to get the required output in VB application from the same oracle 9i store procedure .
    Find the code below which i used.
    Thanks,
    Shenba
    //// Oracle Stored Procedure
    <PRE lang=sql>CREATE OR REPLACE
    PROCEDURE GetEmpRS1 (p_recordset1 OUT SYS_REFCURSOR,
    p_recordset2 OUT SYS_REFCURSOR,
    PARAM IN STRING) AS
    BEGIN
    OPEN p_recordset1 FOR
    SELECT RET1
    FROM MYTABLE
    WHERE LOOKUPVALUE > PARAM;
    OPEN p_recordset2 FOR
    SELECT RET2
    FROM MYTABLE
    WHERE LOOKUPVALUE >= PARAM;
    END GetEmpRS1;</PRE>
    ///// VC++ code
    <PRE lang=c++ id=pre1 style="MARGIN-TOP: 0px">ConnectionPtr mpConn;
    _RecordsetPtr pRecordset;
    _CommandPtr pCommand;
    _ParameterPtr pParam1;
    //We will use pParam1 for the sole input parameter.
    //NOTE: We must not append (hence need not create)
    //the REF CURSOR parameters. If your stored proc has
    //normal OUT parameters that are not REF CURSORS, you need
    //to create and append them too. But not the REF CURSOR ones!
    //Hardcoding the value of i/p paramter in this example...
    variantt vt;
    vt.SetString("2");
    m_pConn.CreateInstance (__uuidof (Connection));
    pCommand.CreateInstance (__uuidof (Command));
    //NOTE the "PLSQLRSet=1" part in
    //the connection string. You can either
    //do that or can set the property separately using
    //pCommand->Properties->GetItem("PLSQLRSet")->Value = true;
    //But beware if you are not working with ORACLE, trying to GetItem()
    //a property that does not exist
    //will throw the adErrItemNotFound exception.
    m_pConn->Open (
    bstrt ("Provider=OraOLEDB.Oracle;PLSQLRSet=1;Data Source=XXX"),
    bstrt ("CP"), bstrt ("CP"), adModeUnknown);
    pCommand->ActiveConnection = m_pConn;
    pParam1 = pCommand->CreateParameter( bstrt ("pParam1"),
    adSmallInt,adParamInput, sizeof(int),( VARIANT ) vt);
    pCommand->Parameters->Append(pParam1);
    pRecordset.CreateInstance (__uuidof (Recordset));
    //NOTE: We need to specify the stored procedure name as COMMANDTEXT
    //with proper ODBC escape sequence.
    //If we assign COMMANDTYPE to adCmdStoredProc and COMMANDTEXT
    //to stored procedure name, it will not work in this case.
    //NOTE that in the escape sequence, the number '?'-s correspond to the
    //number of parameters that are NOT REF CURSORS.
    pCommand->CommandText = "{CALL GetEmpRS1(?)}";
    //NOTE the options set for Execute. It did not work with most other
    //combinations. Note that we are using a _RecordsetPtr object
    //to trap the return value of Execute call. That single _RecordsetPtr
    //object will contain ALL the REF CURSOR outputs as adjacent recordsets.
    pRecordset = pCommand->Execute(NULL, NULL,
    adCmdStoredProc | adCmdUnspecified );
    //After this, traverse the pRecordset object to retrieve all
    //the adjacent recordsets. They will be in the order of the
    //REF CURSOR parameters of the stored procedure. In this example,
    //there will be 2 recordsets, as there were 2 REF CURSOR OUT params.
    while( pRecordset !=NULL ) )
    while( !pRecordset->GetadoEOF() )
    //traverse through all the records of current recordset...
    long lngRec = 0;
    pRecordset = pRecordset->NextRecordset((VARIANT *)lngRec);
    //Error handling and cleanup code (like closing recordset/ connection)
    //etc are not shown here.</PRE>

    It can be linked to internal conversion. In some case, the value of internal or extranal value is not the same.
    When you run SE16 (or transaction N), you have in option mode the possibility to use the exit conversion or not.
    Christophe

  • How can i prevent the result from the user until he does a specific action

    hi again
    1-i have created two textfields for the user to enter two names
    2-i have created a result button when the user hit it a result will appear
    in any case if the user hits the result button the result will appear
    even if he does not enter the two names
    i want to make the result available only if the user enters the two names
    by checking the inputs before the result appear
    if he enteres the names the result appear
    if he does not enter an error message appear?
    how can i do that process?

    lol i think he was talking about formating your messages on the forum.
    look at an example that i just created hope it helps. If not then read up on the GUI chapter of your java book.
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JTextField;
    import java.awt.BorderLayout;
    public class ButtonTest{
        public static void main(String args []){
            JFrame frame = new JFrame();
            JPanel panel = new JPanel();
            final JTextField textA = new JTextField(10);
            final JTextField textB = new JTextField(10);
            JButton button = new JButton("Perform Action");
            class Listener implements ActionListener{
                public void actionPerformed(ActionEvent e){
                    if(!textA.getText().equals("") && !textB.getText().equals("")){
                        System.out.println(textA.getText()+" "+textB.getText());
           ActionListener listener = new Listener();
            button.addActionListener(listener);
            panel.add(textA);
            panel.add(textB);
            panel.add(button);
            frame.getContentPane().add(panel,BorderLayout.SOUTH);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.pack();
            frame.show();
    }

  • HT1414 i have tried to restore my i phone 3GS connection through usb cable to i tunes.The phone seems to have restored but i am getting this error message;"your phone could not be activated because the activatation server is temporarily unavailable."

    Hi
    I have tried to restore my i phone 3gs using a USB cable connecting to itunes.The process has gone smoothley but i am now getting this message on my i phone;"your i phone could not be activated because the activation server is temporarily unavailable.Try connecting your i phone to itunes to activate it,or try again in a few minutes.I have been trying and trying again and switched off my firewall too.but still getting this message.Can anyone please advise me?

    That is almost always because the phone was hacked to unlock it from the original carrier.

  • When i try and open the auto cad Lt that i just downloaded i get this error The directory may be locked by another process or have been set Read Only. Directory: '/Users/hockaday' Please correct this problem and press OK to exit the application.

    i get this error why i try and open the auto cad that i just downloaded
    The directory may be locked by another process or have been set Read Only.
    Directory: '/Users/hockaday'
    Please correct this problem and press OK to exit the application.

    I did install it in the admin account.  Actually the computer has four accounts, one for my husband, where I installed it.  One for me which also is set to admin, one is called TEST and has nothing in it and one is guest user.
    I don't know how AutoCad is interfacing with the account.  That is why I am not sure what to do about it.  I read other threads in various places and some seemed to point to something having to do with having multiple users.  The solutions were not clear.  I was hoping someone else had this problem and could tell me what to do.  I tried apple support but no help.  I have not tried AutoCad yet as I assumed they wont help since this is a free educational version of their product.

  • How to processing the results from the select statement in SQL query?

    Hi
    This might be too simple, but my knowledge of the SQL is very limited...
    I have table where I do have details from calls (Lync QoE).
    I can take all calls from the table, but I would like to count the concurrent calls on the table. This is how I got it work on the Excel to work (but I would like to do that on the SQL statement to get it more dynamic use):
    Table have these line and this is what I get out from the Select):
    [callid],[start],[end]
    1ABC,1.1.2014 01:00:15, 1.1.2014 01:01:00
    5DEF,1.1.2014 01:00:45, 1.1.2014 01:05:00
    FDE2,1.1.2014 01:03:15, 1.1.2014 01:04:00
    KDJ8,1.1.2014 01:04:15, 1.1.2014 01:06:00
    FDJ8,2.1.2014 01:04:15, 2.1.2014 01:06:00
    KDSE,3.1.2014 01:04:15, 3.1.2014 01:06:00
    The information I would like to get, is what is the maximum amount of the concurrent calls per day.
    On the excel I basically count line by line how many concurrent calls each line have had, and then pickup the highest one. On above example the calls 5DEF, FDE2 and FDE2 have been active at the same time which gives 3 for the first day.
    The table is ordered by the start. So let say the code is on the third line (FDE2). I need to count calls from before which end time is after the start time (of FDE2), but also I need to count calls after (FDE2) which are started before the current
    call has ended.
    Petri

    Unfortunately your post is off topic as it's not specific to SQL Server Samples and Community Projects.  
    This is a standard response I’ve written in advance to help the many people who post their question in this forum in error, but please don’t ignore it.  The links I provide below will help you determine the right forum to ask your question in.
    For technical issues with Microsoft products that you would run into as an end user, please visit the Microsoft Answers forum ( http://answers.microsoft.com ) which has sections for Windows, Hotmail,
    Office, IE, and other products.
    For Technical issues with Microsoft products that you might have as an IT professional (like technical installation issues, or other IT issues), please head to the TechNet Discussion forums at http://social.technet.microsoft.com/forums/en-us, and
    search for your product name.
    For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), please head to the MSDN discussion forums at http://social.msdn.microsoft.com/forums/en-us, and
    search for your product or issue.
    If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here: http://community.dynamics.com/
    If you think your issue is related to SQL Server Samples and Community Projects and I've flagged it as Off-topic, I apologise.  Please repost your question and include as much detail as possible about your problem so that someone can assist you further. 
    If you really have no idea where to post your question please visit the Where is the forum for…? forum http://social.msdn.microsoft.com/forums/en-us/whatforum/
    When you see answers and helpful posts, please click Vote As Helpful,
    Propose As Answer, and/or Mark As Answer
    Jeff Wharton
    MSysDev (C.Sturt), MDbDsgnMgt (C.Sturt), MCT, MCPD, MCSD, MCSA, MCITP, MCDBA
    Blog: Mr. Wharty's Ramblings
    Twitter: @Mr_Wharty
    MC ID:
    Microsoft Transcript

  • Can't retrieve the result from the soap response

    We are trying to send and retrieve audio files using j2me web services. What we did is to convert the byte array (recorded audio) to hex string before sending it to the server. We used the sun java platform 9 for our web service, sun java wireless toolkit 2.2,mysql.
    We successfully saved and sent audio files that is recorded up to 39 seconds long. Longer than that, the application does not continue running the program. In retrieving the audio file from the database, the application could retrieve and play an audio file up to 2 seconds long. Any audio file longer than 2 seconds, the application does not complete the retrieval.
    We already looked on the memory usage of the emulator and it doesn't use the whole phone memory to retrieve a 3 seconds audio file. We also looked on the soap message response and it showed that it retrieves the whole audio file which is in hex string even if it is a 3 seconds audio file.
    We don't know why the phone/emulator could not retrieve the whole audio file (if it's longer than 2 seconds) from the server. What could be the cause of the problem?

    Hello,
    I am not sure that we have lot of HTMLDB experts monitoring this forum, this is why I am inviting you to post your question in the Oracle Application Express (APEX) (fka: HTMLDB)
    Regards
    Tugdual Grall

  • I have recently upgraded our Choir's website, using iWeb, (it was previously done using other software. I get the home page on the screen, but when I click on links, I get this error message; "Parse error: syntax error, unexpected T_STRING in /var/www/vir

    I have recently upgraded our Choir's website, and used iWeb to create the upgrade. It was previously done with other software.
    Now, when I go to the site, (comc.ca), the first page comes up fine, but when I click on the links to other pages, I get this message.....
    Parse error: syntax error, unexpected T_STRING in /var/www/virtual/comc.ca/htdocs/Site_3/Contact_Us.html on line 1
    I went to an Apple store, (I still have time left on my one-to-one period), but didn't get an answer.
    Any suggestions really appreciated.
    Thanks,
    Larry

    Sorry, but it doesn't help JTANNA.
    What is your definition of "more efficiently"? If it's limitation of search results, branded search, and limitation of styling your results then google search is more efficient. Real developers rely on their own developments. For example: how can google search display results from a password-protected site? They can't.
    best,
    Shocker

  • I am getting error message "iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone".  I have deleted the backup and restarted my computer, but continue to get this error message.  What do I need to do now?

    I have recently updated my phone and am attempting to sync it.  I got the error message "iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone".  I deleted the backup, restarted my computer, and even restored the iPhone, but continue to get the same error message.  What do I need to do now?

    iTunes places the iPhone backup in the following location. Navigate there & delete everything in the backup folder, but not the folder itself. You will have to turn on "Show All Hidden Files & Folders" to see it:
    Mac:~/Library/Application Support/MobileSync/Backup/
    Windows XP:\Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Windows Vista and Windows 7:\Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\

  • Opening a RAW image from RL4 Beta in PSS5.1 I get this error message!

    I can't find any reference to the ACR-7 plug-in on the Adobe Labs site.
    When I select the 'Render using Lightroom' option,  the rendered image looks the same as the RAW image in LR4 Beta,
    that's good however you lose the Smart-Object capability, no more RAW image.
    Will Adobe be releasing ACR 7 for CS5.1 or are we going to be expected to upgrade to Photoshop 6 :-( ?

    Thanks for the update Victoria - although it probably confirms our worst fears!
    I'm in agreement with the OP about this series of upgrading Photoshop just to keep Camera Raw in sync with Lightroom.
    I've started a separate thread with a slightly different angle (ie the reliance and continued need for both Camera Raw and Lightroom
    in the same workflow), and would be interested on your feelings on this... Thread is here: http://forums.adobe.com/thread/950168?tstart=0
    Thanks in advance.

  • HT4009 I bought an in-app purchase but didn't receive what I was trying to buy   But it took the money from my iTunes account  how do I get this fixed

    How do I get my money back on a in-app purchase
    I didn't receive anything and it deducted from my iTunes account

    Does the app have an IAP download option in that allows you to download them and/or does the developer's website have any info on it about what to do ? If not then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

Maybe you are looking for

  • Pre Fader Metering Query...

    Hello to all, I've been following a couple of threads recently and the topic of Pre Fader Metering has come up in regards to the level of the final stereo Output. I would like a little more clarification on this. My individual track levels often time

  • ACE isssue for rserver with multiple IP on the same NIC

    Dear all, I'm doing to configure an ACE with bridged mode to load balance incoming traffic to 3 TMG servers following this network diagram: The system design require to have 4 IP address on the same NIC, and 3 VIP for each pool of the IP as presented

  • Waveform Chart Y-T Values

    I have a waveform chart plotting Voltage values against time. I have to store both the values into a Spreadsheet file. I am able to store the values on Y axis (vOLTAGE), but not the time values. How cal i do so?

  • Cannot remove a User Role

    In the User Administration regarding the user roles when we select a user and search for his roles we can see his defined roles. We can edit some roles of the user but we cannot edit somre roles for example to remove a role. I can remove one role but

  • Who is having problems with old printers and Mavericks?

    I am so frustrated!!!   I cannot print in COLOR with my upgraded system (Mavericks).   I have an older HP Printer and it is no longer supported. I do not want to buy a new printer when it is just fine. R. Johnson