Sentence SQL can be captured

Sentence SQL can be captured from a form since the form that I have been able to recover does like the following example.
DELETE FROM provincia WHERE ROWID=:1
pardon by my english
INSERT INTO provincia(CODPRO,NOMPRO) VALUES (:1,:2)
SELECT CODPRO,NOMPRO FROM provincia WHERE ROWID=:1 FOR UPDATE OF CODPRO NOWAIT
SELECT ROWID,CODPRO,NOMPRO FROM provincia
UPDATE provincia SET CODPRO=:1,NOMPRO=:2 WHERE ROWID=:3
When doing update, insert or delete from sql*plus or SQLPlus Worksheet if it recovers the complete syntax
insert into provincia values(78, 'Zamora')
I am working with
oracle 8.1.7
forms 6i

TOAD from quest comes with a program that monitors the sql being submitted from just about anything running client server on your local pc. It will give u the complete sql with the values for the bind variables. If you have toad, look for a program called SQLMonitor.exe where toad is installed.
--pat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How can I capture in forms the text from a database error

    In forms6i, how can I capture the text of an error during the execution of a dabatase procedure or package.
    Thanks for your help.

    You can use SQLERRM function :
    SQL> create or replace procedure procerr
      2  is
      3     n number;
      4  begin
      5     n := 1/0;
      6* end;
    SQL> /
    Procedure created.
    SQL> set serveroutput on
    SQL> declare
      2     err1    varchar2(200);
      3  begin
      4     procerr;
      5  exception
      6     when others then
      7             err1 := SQLERRM;
      8             dbms_output.put_line(err1);
      9* end;
    SQL> /
    ORA-01476: divisor is equal to zero
    PL/SQL procedure successfully completed.
    SQL>

  • Oracle Trigger - How can I capture and correct on the fly  ORA-01847

    Oracle Trigger - How can I capture and correct on the fly ORA-01847 day of month must be between 1.
    I have a table that has a date column. Sometimes an invalid date is passed and I'd like to capture and initilize the incoming value to null and have it inserted without error. Currently I get ORA-01847 day of month must be between 1.
    Example:
    create table ep1
    col_1 number,
    col_2 date
    Now if a user does the following, I want no error to occure but rather for the date value to be set to null and inserted.
    insert into ep1 values('1', '41-JAN-13')
    The insert may come from any client and I can't change the calling code hence can't used a precedure to replace the insert. I'm guessing there is some way to catch system level exceptions on the DB level. This doesn't need to be nice, it just needs to work.
    Here is the question on experts exchange. I'm told there is no way, but there must be. After all the exception is on a DB system level and I would think one could extend or override these, or disable them.
    http://www.experts-exchange.com/Database/Oracle/PL_SQL/Q_23045306.html

    SQL> declare
      2     wrong_month      exception;
      3     pragma exception_init (wrong_month, -1843);
      4  begin
      5    begin
      6      insert into emp (empno, hiredate)
      7      values (2345,to_date('13/25/81','MM/DD/YY'));
      8    exception
      9      when wrong_month then
    10      dbms_output.put_line('I caught the bad month');
    11      insert into emp (empno, hiredate)
    12      values (2345,null);
    13    end;
    14  end;
    15  /
    I caught the bad month
    PL/SQL procedure successfully completed.
    SQL>
    SQL> select * from emp
      2  where empno = 2345;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          2345Note the 1843 error vice 1847. It can be done outside of a trigger.

  • Can not capture from Sony HDV 1080i (recording in 60i)

    Hello
    We are trying to capture from the above camera to a Mac Dual G5. We are using FinalCutPro 5.1.2. We are using a FireWire 400 cable to connect to the front of the computer (have also tryed back of Cinema Display). The footage was captured in HDV1080/60i, and we have tried the corresponding formats in Easy Setup (Basic, standard, Apple Intermediate).
    The problem: we can control the camera from the Log and Capture windows, but when starting capture, no data is coming in, and the program therefor gives up after a few seconds (displaying a no data error message).
    We have tried Batch and Now capture. We can log clips, and get the correct time code, but can not capture those clips due to the no data problem.

    This is a good workaround for curing your camera recognition problem with FCP (if that's what it is):
    First, check that your Easy Setup / Timeline / Camera or Deck Settings are all exactly the same, then making sure your camera or deck is in VTR mode, try to capture again.
    FCP uses a different form of QT than iMovie for capturing, so if the camera works in iMovie (or if it's listed in System Profiler) but not FCP, it obviously means your Mac can see the VTR but FCP can't, so you need to do this QuickTime fix.
    http://docs.info.apple.com/article.html?artnum=301852
    Follow the instructions carefully and you should have things running in no time - it's quite safe but you must Trash the Receipts AND re-install QT from the link provided.
    If the Camera / Deck isn't recognised by iMovie or System Profiler, try resetting the Firewire Bus . . . Turn off the Mac and disconnect the power and all Firewire cables. Leave it for 30 mins then connect back up.
    Still not working? Try a different Firewire cable.
    Failing all this, try resetting the PMU (Power Management Unit). The method varies from machine to machine, so visit the Apple site and search for it in support.
    Don't use iMovie for capturing - it doesn't give you a timecode and that's very important.
    Let us know how you get on!
    Andy
    Quad 8GB. 250+500 HDs. G-Raid 1TB. NORTON. FCP 5.1.2. QT 7.1.3. Sony HVR Z1E   Mac OS X (10.4.7)  
    "I've taught you all I know, and still you know nothing".

  • Can't capture video using iSight camera in QuickTime 7.4 (92)

    OK, I see that there are plenty of "bugs" with Quicktime Version 7.4 (92), but I don't see the problem I am having, posted anywhere. Here goes...
    I cannot capture video using my [Firewire] iSight camera on my CoreDuo MacMini. I definitely used to be able to do this. When I go to File>New Movie Recording, I get a back/blank Movie Recording window and that's it. I click on the Red/Record button and nothing happens. The timer doesn't even advance. Just sits there. When I try to stop the recording, I get the following message:
    *"Recording failed because no data was received.*
    *Make sure that the media input source is turned on and playing."*
    I can still capture audio, although had some problems and had to "downgrade" to version 7.3.x and subsequently reinstalled 7.4. Now the audio works but still no video.
    A few things:
    1. YES, the iSight camera works - I can use it in iMovie, iChat, Photobooth, etc. - for both video and audio.
    2. As I mentioned, I tried "downgrading" (using "Pacifist") but still no video.
    3. I re-installed Version 7.4 and the audio problems cleared up, but again, still unable to capture video.
    3. All software updates installed.
    Any ideas???
    Thanks!

    "As I mentioned, I tried "downgrading" (using "Pacifist") but still no video."
    See QuickTimeKirk’s posting in the following thread:
    http://discussions.apple.com/thread.jspa?threadID=1357579&tstart=0
    Try the following:
    Trash com.apple.LaunchServices.plist
    It's located in your account:
    HD/Library/Preferences/com.apple.LaunchServices.plist
    Delete the file, restart (a new .plist will be created) and quicktime hopefully will work again w/o doing an Archive & Install.
    +If you want to do an A&I:+
    Do an archive and install of your OS from the OS disc. Stop at the QT upgrade you need.
    http://docs.info.apple.com/article.html?artnum=301270 Scroll down to "Archive and Install”
    IMPORTANT: Maker sure you select "preserve user preferences and data" when you performed the A&I?
    Good luck!

  • After downloading IO6, can't capture photos from Facebook. I get "save photo" instead of "save image".  While browsing, save image comes up and photos save to camera roll.  Seems to be a problem only on FB.

    Downloaded IO6 on my iPhone 4s.  Now I can't capture a photo off Facebook to the camera roll.  When I try, I get a "Save Photo" tab rather than a "Save Image" button,  The photo does not save to camera roll.  For email images and Safari images, "save image" comes up and save to camera roll.  Seems only a problem with images on FB.  Any ideas?  Thanks

    You launched iPhoto and from its Preferences you selected Connecting camera opens.....

  • How can I capture an externally hosted page as a variable ?

    How can I capture the html or css of an externally hosted
    page and use it as a local variable ? There's plenty of options for
    doing it with local file but I can't work out how to go about it
    when the file isn't on your cf server. Any ideas ?

    Yes, of course.
    {insert the sound of slapping oneself in the head here}

  • Error while configuring QT--can't capture in FCP HD

    I keep getting a message saying "Error occured while configuring QT using the current capture presets, please close FCP and check your hardware configuraton" when I try to capture. All settings are consistent with video output device. I'm upconverting 720p to 1080i and capturing at 1080i 29.97. What else can I do!?!?!?

    What are you trying to capture? What format? What capture card are you using?
    If you are trying to upconvert HDV via firewire, you can't do that. You can only capture native resolution or lower "offline quality" resolutions. You cannot cross convert or upconvert via firewire.
    But that is just a stab in the dark.
    Shane

  • Can't capture from my cannon video camera to Final Cut or iMovie.

    Hi. I can't capture from my cannon video camera to FInal Cut or iMovie. ANy help would be greatly appreciated. I don't think my iMac is recognizing the camera. I was told I don't need a firewire, that USB would work if I'm just capturing. If I need a firewire what kind (the one I was sold didn't fit). I'm getting an "unable to locate external device message". Not sure of next steps to try. Thanks.
    Computer= iMac 21.5-inch: 2.5GHz
                2.5GHzQuad-Core Intel Core i5
                1920 x 1080resolution
                4GB (two 2GB)memory
                500GB harddrive1
                            AMDRadeon HD 6750M with 512MB
    Processorand Memory -
    Powered by a quad-core Intel Core i5 or i7 processor and DDR3memory.
    Connectionsand Expansion
    SuperDrive, SDXC card slot, audio in, audio out, USB 2.0,FireWire 800, Thunderbolt, Gigabit Ethernet.
    Video camera = Canon Vixia HV40                                                                                                                                                
    Standard  Definition or High Definition 
    High  Definition 
    Power  Consumption 
    4.3 W 
    Television  System 
    NTSC 
    Video  Recording system 
    MPEG2 
    Image  Sensor 
    1/2.7-inch  CMOS, RGB Primary Color Filter 
    Total  Pixels 
    Approx.  2.96 Megapixels 
    Effective  Pixels 
    Tape:  HD/DV (16:9) mode: Approx 2.07 Megapixels (1920x1080) DV  (4:3) mode: Approx 1.55 Megapixels (1440 x 1080) Card:  (16:9) mode: Approx. 2.07 Megapixels (1920 x 1080), (4:3) mode: Approx. 2.76  Megapixels (1440 x 1080) 
    Tape  Format 
    HDV /  DV 
    Maximum  recording Time 
    SP: 80  minutes, HDV, DV LP: 120  minutes DV 
    Lens 
    Zoom  Ratio 10x Optical  / 200x Digital Focal  Length f=6.1-61mm  (35mm equivalent: 43.6 - 436mm) Zoom  Speed Variable /  3 Fixed Zoom Speeds Max.  F/Stop  f/1.8-3.0mm (when tapes are used) 
    Focusing  System 
    Instant  AF, TTL (through the lens) 
    Manual  Exposure 
    Yes 
    Programmed  AE 
    Auto,  Program, Av, Tv, CINE, Portrait, Sports, Night, Snow, Beach, Sunset,  Spotlight, Fireworks 
    Max  Shutter Speed 
    Movie:  1/2000, Still image: 1/500 
    Auto  Date/Time 
    Yes 
    Record  Search/Review 
    Yes 
    Focusing  System 
    10 mm  (wide) / 1m (tele) 
    White  Balance 
    Auto,  Daylight, Shade, Cloudy, Tungsten, Fluorescent, Fluorescent H, Manual 
    Frame  Rate 
    60i,  Native 24p Progressive (records at 24p), 24p Progressive (records at 60i),  30p Progressive (records at 60i) 
    Minimum  Illumination 
    0.2 lx  (Night Mode) 
    Image  Stabilization 
    SuperRange  Optical (lens shift) 
    Filter  Diameter 
    43mm 
    Viewfinder 
    Widescreen  0.27-inch Color Viewfinder / (Approx. 123,000 dots) 
    LCD  Screen 
    2.7-inch  Widescreen LCD (Approx. 211,000 dots) 
    Recording  Media 
    High  Definition Mini DV (recommended) (63 min) or MiniDV cassette 
    USB  Terminal 
    USB 2.0  Full Speed 
    Video  Terminal 
    component  (output), composite (output) 
    Audio 
    DV: 16  bit (2ch) 48 kHz 12 bit (4ch) 32 kHz 4ch synchronous recording not possible  HDV: MPEG1 Audio Layer II (2 ch) (4-channel playback of tapes containing  4-channel recordings possible) 
    Accessory  Shoe 
    Advanced 
    Supplied  Video Editing Software 
    None 
    HDMI Terminal 
    HDMI  Type A (19 pins) Connector (output) 
    Microphone  Terminal 
    3.5 mm  stereo mini-jack 
    AV Mini  Terminal/Headphone Terminal 
    3.5 mm  4 pole mini-jack (video/audio input and output) 
    Dimensions 
    (W X H  X D) 3.5 x 3.2 x 5.4 in. (88 x 82 x 138mm) 
    Weight  (not including lens and battery pack) 
    1.2  lbs. (535g) 
    Weight 
    1.4  lbs. (615g) 

    Forget USB for capturing from tape. USB is only for stills from a Tape Based camera.
    You require a firewire cable.
    The camera connection end will be four pin and the Mac is nine pin to the 800 port.
    Ask for a 9 to 4 pin firewire cable. Sounds like you have the wrong one as they can also be 4 to 4 or 4 to 6 pin!!
    Also you will need the correct Easy Setup in FCE so FCE talk to the camera, exactly which one depends on what type of footage is being sent to FCE from the camera during capture.
    Al

  • In ALV reports how can we capture separate data in 3 internal table

    HI
       In ALV reports how can we capture data in 3 Internal tables and combine them in another internal table to display........

    Hello Sudhanshu
    Another option would be to display all three itabs together which is a piece of cake using OO-based ALV lists. Please refer to thread
    Re: Alv
    for a sample report.
    Regards
      Uwe

  • Can not capture

    Upgraded Premiere Pro, Have bought  the new mac computer. Using a Canon DV camera, and can not capture any footage from my DV tapes. Have tried everything!!! Premiere just say Capture Device Offline,. Read through many threads and have got no idea how to fix. Help me Please... I just bought this MAC and now its useless if i can't use it to edit
    Even tried all the steps on the web bpage, i do not have a firewire, the USB port i use to plug in are through an AV device (yellow, red, white cables) that then filter through top a USB port cable and plugged into the back of my computer.

    I mean it's the new Mac do it's just a thin screen, I would rather leave it and have an external cord.
    Why has Mac not allowed for this, they are suppose to be the best & up to date with video software?
    Unfortunately, Apple knows best, and will dictate that to its loyal users. They must adapt to the "party line," or move to a PC. That is just the way they think.
    Sorry for the bad news,
    Hunt

  • Can i capture from an analog 16x9 source

    Can i capture from an analog 16x9 HD source (SAT-TV) using analog (S-Video) output using a Canopus ADVC-100 into FCP 4.x and preserve the anamorphic aspect ratio? If so, how do I go about doing this (meaning, if this will even work - I'm fairly certain that the SAT box will output the 16x9 flag on s-video - what settings do i use in FCP to capture that aspect?
    Thanx in advance.

    actually i am allowed to record from TV... i'm using the analog to do this. HRA allows me to do this - There are plenty of units out there that have tivo and a dvd burner that are legal) - all I'm doing is using my mac. Remember the VCR? this is no different as I am not going digital to digital or bypassing any DRM. Not to mention, I'm taping some docs that aren't even avaialble to purchase. ;(
    Also, its just for my personal use. Just to have an archive of the show.
    I'm using sledgehammer erquipment to just archive a show.. hehe

  • Can I capture the video from the TV card or video capture card to publish

    Can I capture the video from the TV card or video capture card to publish?
    I tried to use the USB camera, it's OK. But, will the TV card or video capture card also work?

    Hi,
    iChat will set up a Video chat window that takes in to account your Processor speed and Internet Speed and to some extent the Buddy's speed.
    This then denotes the pixel content of each frame.
    OS X 10.6.x tells me this is iChat 5 which in turn mean you have  at least an Intel Core 2 Duo Processor.
    This should be capable of 30 frames a sec at  about 640 X 480 pixels  (Check the Connection Doctor (Video Menu) and the Statistics tab during a Chat).
    iChat 5 cannot do HD  (Max of 4:3 ratio at the above figures)
    After that it depends how you are recording the chat.
    Quicktime X would do it.
    iChat will do it itself (if the Buddy agrees)
    10:14 PM      Wednesday; February 1, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • FCP 5.1 - suddenly can't capture

    I was batch capturing 36 clips to a 250GB USB 2.0 HD which had been working fine, and which had >200GB free.
    It seemed to be crunching the hard drive in some sort of loop, and capturing had stopped about 20 clips in. I couldn't get out of the batch capture; escape didn't do anything. I couldn't force quit. Ultimately I had to reboot.
    Disk Utility says the external drive is fine.
    Now, however, I can't capture anything, and all the in and out points I had set on these clips are gone. The media start and end still appear, but no ins and outs.
    I tried loading up one of the autosave files, but the same situation exists.
    I tried opening a new project, logging a random in and out point, and capturing - but nothing happens. A capturing window opens, but the window is black and doesn't go anywhere - plus, I can't escape out of it.
    There is still communication with the camcorder; if I restart FCP, I can control the deck with play, rewind, etc., but I can't capture.
    I tried deleting the com.apple.FinalCutPro.plist file - no effect.
    Help!

    Glad you were able to re-establish contact.
    Now let's think about why this happened.
    USB2 has a burst transfer rate that is higher than Firewire 400 and on the surface seems like a likely candidate for a capture scratch drive. However, when we look more closely at what constitutes a video stream we'll see it is not short little bits of data that can be written (like a Word document) - it is a veritable torrent of bits flowing down the data pipe. If the Word bits get interupted, no matter, the drive will finish placing them when it gets back to the file - it is a static document and will not be harmed by the interuption. But video a highly time sensitive sequence and if it is interupted, there will be serious consequences for the file integrity.
    To put this is a more technical way, USB does not operate in an isosyncronos manner - that is it does not have the ability to command the entire bandwidth of bus and so, if push comes to shove, the data stream (aka your capture) will be compromised. The result of a compromised write operation is as you have described.
    The long term solution to your issue is to either switch to firewire 400/800 drives or SATA internal/external drives. USB2 is not only not supported, it is decidedly not recommended.
    Good luck.
    x

  • How to control the maximum time that a dynamic sql can execute

    Hi,
    I want to restrict the maximum time that a dynamic sql can execute in a plsql block.
    If the execution is not completed, the execution should be terminated and a exception should be raised.
    Please let me know, if there is any provision for the same in Oracle 10g.
    I was reading about Oracle Resource Database Resource Manager, which talks about restricting the maximum time of execution for Oracle session for a user.
    However I am not sure, if this can be used to control the execution of dynamic sql in a plsql block.
    Please provide some pointers.
    Thank you,
    Warm Regards,
    Navin Srivastava

    navsriva wrote:
    We are building a messaging framework, which is used to send time sensitive messages to boundary system.I assume this means across application/database/server boundaries? Or is the message processing fully localised in the Oracle database instance?
    Every message has a time to live. if the processing of message does not occurs within the specified time, we have to rollback this processing and mark the message in error state.This is a problematic requirement.. Time is not consistent ito data processing on any platform (except real-time ones). For example, messageFoo1 has a TTL (time to live) of 1 sec. It needs to read a number of rows from a table. The mere factor of whether those rows are cached in the database buffer cache, or still residing on disk, will play a major role in execution time. Physical I/O is significantly slower that logical I/O.
    As a result, with the rows on disk, messageFoo1 exceeds the 1s TTL and fails. messageFoo2 is an identical message. It now finds most of the rows that were read by messageFoo1 in the buffer cache, enabling it to complete its processing under 1s.
    What is the business logic behind the fact that given this approach, messageFoo1 failed, and the identical messageFoo2 succeeded? The only difference was physical versus logical I/O. How can that influence the business validation/requirement model?
    If it does, then you need to look instead at a real-time operating system and server platform. Not Windows/Linux/Unix/etc. Not Oracle/SQL-Server/DB2/etc.
    TTL is also not time based in other s/w layers and processing. Take for example the traceroute and ping commands for the Internet Protocol (IP) stack. These commands send an ICMP (Internet Control Message Protocol) packet.
    This packet is constructed with a TTL value too. When TTL is exceeded, the packet expires and the sender receives a notification packet to that regard.
    However, this TTL is not time based, but "+hop+" based. Each server's IP stack that receives an ICMP packet as it is routed through the network, subtracts 1 from the TTL and the forwards the packet (with the new TTL value). When a server's IP stack sees that TTL is zero, it does not forward the packet (with a -1 TTL), but instead responds back to the sender with an ICMP packet informing the sender that the packet's TTL has expired.
    As you can see, this is a very sensible and practical implementation of TTL. Imagine now that this is time based.. and the complexities that will be involved for the IP stack s/w to deal with it in that format.
    Making exact response/execution times part of the actual functional business requirements need to be carefully considered.. as this is very unusual and typically only found in solutions implemented in real-time systems.

Maybe you are looking for

  • Error by compiling yacy: Target "build-jar" does not exist

    Hello I am trying to compile yacy by using this PKGBUILD (based in this one: http://aur.archlinux.org/packages.php?ID=14464): pkgname=yacy-svn pkgver=7387 pkgrel=1 pkgdesc="Peer to peer searchengine" arch=(i686 x86_64) url="http://yacy.net/" license=

  • IPod erased songs and further problems

    I have an iPod (20 GB Click Wheel) that I got Christmas 2004. I know it's getting old, but I've never had any problems with it until recently. About 2 years ago I got an iPod connecter for my car and in my glove box my iPod has remained 90% of the ti

  • Calling queries made in WAD & Portal

    Hello Experts, I haven't seen how end user open WAD & Portal reports. I know how developers create WAD reports and give URL to portal guyz. I don't have any idea how these reports are called by endusers. Further please let me know WAD 1. Save 2. Impo

  • Apple care and my ipod

    Been having some problems with my ipod so I decided to renew my original warranty by buying the apple care package in order to eventually send in my ipod for repair. Anyways, I just got the apple care package in the mail and was about to enroll it on

  • EEWB Vs Object oriented extensions

    Hi all,    In our implementation we have scenarios to add fields in business partners, sales orders and some other transactions. Now I have the basic doubt. 1. SAP releases EEWB (Easy enhancement workbench) and there is also a procedural way to enhan