Processing resultset in Pro*C

Hi there,
I need some help porting some Ingres Embedded SQL procedures to Pro*C. Specifically, I'm looking for the Pro*C equivalence to the exec sql begin/exec sql end code below:
In Ingres Embedded SQL:
exec sql repeated select * from emp where start_date > :StartDate;
exec sql begin;
/* Do some processing here */
exec sql end;
The specified exec sql begin/end combination loops through the result set returned by the select statement.
Can anyone help with the Pro*C equivalent? I know cursors can be used, but they are not really an option at this moment.
Thanks in advance
Andrew

The exec sql repeated construct is nothing more than a cursor in disguise. The Ingres database calls must be something similar to the PL/SQL construct
FOR record in cursor LOOP
-- do some porcessing
END LOOP;so I do not see your objection to cursors.
Depending on the number of records you expect to fetch, you could also use an array fetch in Pro C. However, if you are fetching more than 200 - 500 records (depending on the size of each record) this may not be the most efficient way to go. You already replied to this before I could press the submit button. Essentially, we were trying to make the same point.

Similar Messages

  • Batch Processing - Acrobat XI Pro - Freezed

    HI eveyone,
    I am trying to do Batch Processing in Acrobat XI Pro the same i do with Acrobat 9 PRO. What i aim to achieve is to Export the PDFs to PostScript but when working on a bigger volume ( more then 700 letters) it freezed up. Normally we are working with 3500 letters per batch. Any resolution to this?
    or am i doing the wrong procedure on doing the batch processing in XI Pro?
    here is my procedure: New Action Wizard > Save & Export > then i specify my settings to convert my folder to PostScript.
    please help..
    thanks
    anthony

    I had a discussion on these forums about this subject with an Adobe employee when the new version just came out and told him that it's not suitable for mass processing files. His reply amounted to saying that it wasn't meant for that, but for running macro-style sequences on small batches of files... In other words, it appears to be a "feature", not a bug. Let's hope it will improve in the next version of Acrobat...

  • Boot camp process. MacBook Pro cannot fid a bootable disk?

    boot camp process. MacBook Pro cannot fid a bootable disk?

    Welcome to the Apple Support Communities
    Press Option key while your Mac is starting and choose your Windows installation disc or drive to start the installation

  • Disable Auto-Rotation in OCR Process (Acrobat 9 Pro)

    Is there a way to disable the auto-rotation step as part of the OCR process? I have documents which I assemble in from images of tables. (If I had acces to the text of the tables, I wouldn't be using images of them). I place each screenshot in the correct orientation, but when I have Acrobat 9 Pro OCR the document, it auto-rotates many pages into the wrong orientation (some 90° clockwise; others 90° counterclockwise and some 180°). Since Acrobat is horribly confused by what it is seeing, I need to disable the auto-rotation part of the process so that it will OCR what it finds exactly as it finds it.

    Very likely the pages of interest have a least one character of renderable text. This might not be readily seen by you or me but it'd be there.
    Acrobat's OCR will not process a page that has any renderable text.
    Be well...

  • Word processing for MacBook Pro

    I want to buy word processing for my MacBook Pro. (Please keep in mind I don't know much about computers and buying things that have to be installed scares me that I'm going to ruin the computer!) The computer is one year old and did not come with word processing.
    Here are my concerns:
    1. I think I need to go to the Mac Store and buy Pages, Numbers, and Keynote all separately, right. I can't just buy iWork and get it all together cheaper?
    2. It is called Pages '09. So this is 2013. I imagine any day now they are going to come out with Pages Some-other-year and I'll have an outdated word processor in a month. Is there an update planned? How does one handle this? Would I have to update for another fee? Would my Pages '09 no longer work?
    3. So, after I fork over my money, what is going to happen? How complicated is this? Will I need a password? Can I just press a button and it will install automatically? Or are there multiple steps after purchasing? (Years ago I bought something for my desktop, they told us we didn't have enough memory, we tried to install more memory and ruined the computer. This is why I am so hesitant. Please be patient with my fears.)
    Thank you,
    Karen

    Apple has made buying, installing & updating their software about as easy as possible.  Certainly someone in an Apple Store can help you and that may be the most comfortable route for you - but you would need to bring your Mac into the store.  On the other hand, if you purchased AppleCare, you could call them and they will help you on the phone and you won't have to take your Mac into a store.
    Regardless of whether you do it on your own or go to an Apple Store, you will purchase Pages, Numbers & Keynote through the Mac App Store (online).  You will need an Apple ID - you may have created one when you started up your Mac the first time after you bought it.  If you created one then, that would be the best Apple ID to use instead of creating another one.
    If you don't have an Apple ID, you can create it online when you open the Mac App Store (it's an application on your Mac).   Once you sign in to the store, a few clicks and $60 later you will be able to download & install all three applications.  The Mac App Store app will do this for you.  Later on, when there are updates, the Mac App Store app will indicate there are updates.  A few more clicks and your updates will automatically download & install.

  • Automating Batch Processes in acrobat pro 9

    Hello,
    I have a relativly large directory of of PDF documents that I need to add a footer too. I set up the appropriate batch proceess sequence to do this. The problem that I am running into is that Acrobat brings up the footer dialogue for every document. Is there a way to have the sequence run without dialogue or have the entire sequence run as a background process? I'd rather not have to hit the enter key several thousand times to insert the footer, the only workaround i can find is to weigh down the enter key with something, which is less than optimal...
    I've checked the documentation and Padova's tomb, but have been unable to locate an answer.  I'm running Acrobat Pro 9.3.2
    Regards,
    dm

    I'm not sure what options I need to set to turn off the dialogue, clicking the edit button just brings up the add footer and header window. This is the same window that pops up for each document in the batch, and I'm trying to process upwards of 10,000 of these. Each time it pops up, my setting are all there and ready to go, but I need to figure out if there is a way around this window completely when the sequence is running.

  • HELP iTunes wont open but runs in system process on xp64 pro

    iTunes was working just the other week. Now all of the sudden it wont open. However it will be running in my system processes taking up 36,752k
    I've searched the forums and tried the suggestions also installing and uninstalling and upgrading to the latest version. iTunes very rarely gives me a problem and nothing major has happened to my system. I need a fix for this ASAP I use iTunes just about every day!!
    Thanks,
    Nick

    Yeah great thanks, but i've been using it on xp64 for a year already with no problems
    Xp64 doesnt have problems running 32bit programs for me
    However there's got to be some kind of registry for this.

  • Can anyone tell me the how to use the "ducking" process in Logic Pro 8?

    Howdy,
    I've tried following the directions in the manual but I just can figure out the steps necessary to use the ducking process in Logic 8. For those who aren't sure what ducking is it's for instance, when you want a guitar track's volume to be reduced when a vocal track is active. As an example, there is a way to trigger the volume reduction in the guitar track(s) using a compressor in the vocal track. Whenever the singer is singing it automatically reduces the volume in the guitar track. I'm just not sure how to do this. Any help with the steps involved would be greatly appreciated.
    Thanks,
    Mark

    Well, the theory is you run say, the mix , through the 'ducker' or as I like to call it, the 'motherducker', then you simply sidechain say, a kick drum. That is to say, you route your kick to a bus or aux channel, preferably routed to a different output, then assign that bus or aux as your sidechain input in the ducker. The theory is that the through signal will duck on receipt of the sidechained kick.
    Frustratingly, this ducker is the buggiest thing since a bug landed on a buggy while loading it into the back of a VW bug. It just doesn't work. well it works for a bit and then stops working. Or the kick comes through the ducker as well. Or some other manifestation of complete crapness. Come on Apple, sort it out - it's the sound that everybody wants!
    Sorry Mark L1

  • What type of word processing does Macbook Pro offer?

    I want to switch to Mac and was wondering what type of word processing does Apple have on their MBPs'.

    Hi!
    This exact question was asked earlier in the week. If you do a search you can find it. The MBP comes with a trial version of iWorks Pages), and TextEdit.
    http://discussions.apple.com/thread.jspa?messageID=2743826&#2743826
    http://discussions.apple.com/thread.jspa?messageID=2158511&#2158511

  • Process chain in Pro server

    Dear All,
    After testing process chain in Dov server, I transported it into Quality, but it was not started.
    So I scheduled in quality server and new request was generated for this.
    1-     Please suggest me is this the right way to schedule PC.
    2-     How to schedule PC in Production Server.
    Regards
    SSMS

    Hi,
    Go to Start of the Main chain
    Click Change Selections
    Give the start time of the chain
    Make it periodic if you want to run in regular intervals( Ex Daily, Monthly)
    Save the values
    Click Activate & Schedule button in the PC screen.
    Regards,
    B

  • Process ResultSet in batches

    Hi,
    I have a servlet that returns a JDBC ResultSet from the (Oracle) database, the ResultSet contrains about 100 records.
    I want to show only 20 records per time, so I want to fetch 5x20 records, below the 20 records I want a forward or backward button.
    How can this be built the best way ?
    I am using java 1.5_02, Tomcat 5.5.9 on Fedora Core3 and Oracle 10g.
    Thanks for your help/tips !
    Coen

    Are you sure? Isn't rownum always right? I thought tt's not a real column, it's generated by Oracle and always continuous.
    One gotcha with rownum though: you need to add an "order by" clause in your query, otherwise you get the results in random order, possibly in different order every time you get a next page. -> Missing results, duplicated results on your pages. The "order by" means the database will sort the entire result set for every page. Keep performance in mind if the number of rows can be large. There is no really perfect, universally applicable, no-performance-worries way to do paging in SQL.

  • Writing the filename as the prefix for bates or page numbering during batch process.  PRO 9

    While batch processing in Acrobat PRO 9 I am trying to insert the file name as the prefix automaticily either for page numbering or bates labeling.
    Not very good with javascript.  Any one have any ideas?
    Everyone is always asking to have the filename as the prefix and it starts to wear on you after 1000 exhibits.

    Don't know what script you're using, but this command will return the document's file name:
    this.documentFileName
    and this one will return the full path:
    this.path

  • Add Soundtrack Pro Soignal Processing to FCP Raw Footage

    I have sound from FCP video that has been successfully processed using Soundtrack Pro. I was wondering if it is possible to add the same sound adjustments to a new piece of video, and if so, how?
    Thanks

    They are WAV files; that may be it. I thought maybe the folder structure was getting in the way, so I tried aliases of folders that directly contained files. That didn't work. But then I remembered that I had added them to iTunes a while ago (referenced, not sucked into the iTunes Library) so I could use iTunes to search them. I made a Smart Playlist so I could get to them quickly and then search. That Smart Playlist shows up in FCP X and the files play. So that may be a solution: reference any non-cooperating folders in iTunes and get to them that way. I really do appreciate your taking time to help.

  • HP Laserjet PRO 200 - Colour MFP M276n | Forward Fax to Email

    Hi!
    I can't understand why it isn't possibile to forward a fax to a list of email address instead of print them (or forward the fax to another number), it could really save a lot of paper, also because the printer can already send a scan to an email address.
    Am I missing some some option in the control panel or am I really supposed to
    print a fax and then scan it?
    If this function is not available are you going to implement it in the next firmware update? I think it would be really appreciated!
    Thanks!

    Hi FrancescoPromo,
    Welcome to the HP Forums, I hopeyou enjoy your experience!
    I see from your post that you would like to know if you can forward a fax to email, if there are any updates for this available.
    I will be happy to help you.
    You can send and receive faxes from the computer software. You can fax single or multiple faxes at a time.
    There is no option available for sending faxes through emails.
    I have provided the manual with information for faxing. Pages 97 and 103 provide this process.
    LASERJET PRO 200 COLOR MFP.
    These are the available features for this model through the control panel.
    Scan to USB Drive.
    Scan to Network Folder.
    Scan to E-mail.
    Thank you for posting on the HP Forums.
    Have a nice day.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Can I exchange my macbook air for the new pro?

    I recently bought a haswell series 13" macbook air exactly 1 week before the introduction of the new haswell macbook pros.  After considering the spec and price difference I realized I'd rather have the pro. I looked on the returns tab on the website.  It said I can return my product within 14 days. Is it possible for me to exchange my air for the pro without having to go through returning my macbook air and buying the pro?  I realized the price difference wasn't all that differernt and I wouldn't mind the extra power. I currently have the 13" macbook air i5 with 8gb. I plan on getting the 8gb for the 13" retina display macbook pro as well

    I strongly doubt it. The best thing for you to do is to return this one before the 14 days expire. If the time passes you will have to keep the Air and try to sell it privately.
    Once Apple accepts the Air back and you know you are getting a refund you can start the order process for the Pro.
    regards

Maybe you are looking for