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
Similar Messages
-
Will REF CURSOR support for Oracle Forms 6i?
Hi,
I need to use ref cursor in my from. My cursor query should be dynamically append the "where clause". Hence I used the dynamic query with ref cursor.
But my problem is , when I compile the form it gives error for the line " OPEN emp_record FOR l_query;"
You need to use "select" statement.
Is there any solution for this in forms?
I know it supports for other PL/SQL areas.
Please help me. below is my code sample,
DECLARE
TYPE emp_refcur IS REF CURSOR;
emp_record emp_refcur;
TYPE rec_emp_data IS RECORD
emp_no VARCHAR2(40),
emp_rec rec_emp_data;
l_query VARCHAR2(4000);
BEGIN
l_query := 'SELECT empno
FROM emp ';
IF :CONTROL.ename IS NOT NULL THEN
l_query := l_query||' AND ename = '''||:CONTROL.ename||''' ';
END IF;
OPEN emp_record FOR l_query;
LOOP
FETCH emp_record INTO emp_rec;
EXIT WHEN emp_record%NOTFOUND;
dbms_output.put_line(emp_rec.emp_no);
END LOOP;
CLOSE emp_record;
END; Thanks
RajeshHi,
It's been a while since I used Forms 6i, but I remember hitting a similar problem. I don't think (and stress think!) that the PLSQL engine that comes with Forms 6i recognises ref_cursors.
The work-around I used was to move the functionality to the database and call it from forms.
Hope this helps.
Regards
Ian -
I have a Mac OS X version 10.5.8 and recently got an Iphone4. I can not access Icloud from my computer. Is there any software, new operating system or anything I can purchase that will allow me access to the cloud?
Upgrading to Snow Leopard, Lion, or Mountain Lion
You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
You can purchase Snow Leopard by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The price is $19.99 plus tax. You will receive physical media - DVD - by mail.
Third-party sources for Snow Leopard are:
Snow Leopard from Amazon.com
Snow Leopard from eBay
After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store.
You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax. It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
Be sure your computer meets the minimum requirements:
Apple - OS X Mountain Lion - Read the technical specifications.
Macs that can be upgraded to OS X Mountain Lion
1. iMac (Mid 2007 or newer)
2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
3. MacBook Pro (Mid/Late 2007 or newer)
4. MacBook Air (Late 2008 or newer)
5. Mac mini (Early 2009 or newer)
6. Mac Pro (Early 2008 or newer)
7. Xserve (Early 2009)
Are my applications compatible?
See App Compatibility Table - RoaringApps - App compatibility and feature support for OS X & iOS.
Am I eligible for the free upgrade?
See Apple - Free OS X Mountain Lion upgrade Program.
For a complete How-To introduction from Apple see Apple - Upgrade your Mac to OS X Mountain Lion.
Model Eligibility for Snow Leopard and Lion.
Snow Leopard General requirements
1. Mac computer with an Intel processor
2. 1GB of memory
3. 5GB of available disk space
4. DVD drive for installation
5. Some features require a compatible Internet service provider; fees may
apply.
6. Some features require Apple’s MobileMe service; fees and terms apply.
Lion System Requirements
1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or
Xeon processor
2. 2GB of memory
3. OS X v10.6.6 or later (v10.6.8 recommended)
4. 7GB of available space
5. Some features require an Apple ID; terms apply. -
After syncing my iphone I found that all of my notes were erased from the phone. Is there any way to retrieve the notes now that they have been erased? I had some very important notes that I have to be able to find. Anyone know how?
I think those contacts still in iphone database. So you can back up you iphone with itunes to get iphone database off your iphone. Then access the SQLite batabse.
http://support.apple.com/kb/HT1766
All data included with the backup is stored in a SQLite database format with the data within various folders not easily accessible.There are some 3rd party utilities that provide for extracting select data from an iPhone's backup and iphone database such as this one.
http://www.datarecoveryforiphone.com/ -
HOW CAN I TRANSFER PHOTOS FROM MY IPOD TOUCH TO MY PC BUT THESE PHOTOS ARE NOT IN THE SAVED POTHOS FOLDER. THEY ARE IN SEPARATE AND DIFFERENT FOLDERS THAT MY DAUGTHER SAVED FROM HER PC. IS THERE ANY FREE WAY TO DO IT. PLEASE REPLY TO JUMACAVA07@HOTMAIL.
THANKSIf you need to Transfer photos from iPod to PC,I have a method for your reference,I suggest you use iStonsoft iPod to Mac Transfer software to copy photos from iPod to Mac,a professional software,Not only can you quickly Copy pictures from iPod to Computer,but also can save a lot of trouble and time
[B]Follow these steps to Transfer photos from iPod to Mac[/B]
Step 1. Download and run the iStonsoft iPod to Mac Transfer software on your Mac computer
Step 2. Connect iPhone with Mac
Step 3. Hit "Photos" to scan photos from iPod to Mac
Step 4. Click "Photos" button to transfer photos from iPod to Mac
Step 5. Wait a while,you will success Transfer these photos from iPod to Mac
How to Transfer/Copy Photos/Pictures from iPod to Mac computer -
I had photos from MobileMe organized into different events. When iPhoto made a MobileMe event (when MobileMe ended), it took all of those photos out of the other events and put them all together in the new "from MobileMe" event. Is there any way to reverse this?
Only to load your backup from before downloading the MM photos
LN -
The other day I had to reset my phone because i pulled it out from my laptop when it was updating. I then tried to restore it but i clicked the wrong option and it has restored all of my stuff from 2 years ago, is there any way to get back the stuff I had
maggielou wrote:
I thought that I had backed up my pictures to icloud, but when I looked online at icloud, I don't see pictures listed. However, a few of the recent pictures have shown up on my phone.
IHow could I get these from my MacBook to my phone?
Thanks again.
When you log into you icloud account on your computer you are viewing data that you sync to icloud not the backups. You can't view the backups.
Look at the two links I provided.
You still didn't answer any of my two questions I asked. -
I had backed-up my iPhone and when I try to restore it it says that the back-up is corrupt or the iPhone is not compatible. I had a bunch of pictures that I need from that restore. Is there any way to get them back? I did the back-up to my Macbook
If the backup is corrupt, there is nothing that can be done.
For what reason did you choose to not copy the pictures off the device to a computer prior to attemping an update or whatever caused the need to restore? iPhones are not intended as sole storage of any media. -
My laptop hard drive crashed and I lost my ringtones, but they're still on my iPhone. If I sync my iPhone with the reimaged hard drive, I'll lose the ringtones from my iPhone. Is there any way to transfer ringtones from my iPhone back into iTunes?
Thanks, but ringtones not purchased from iTunes, created them just before computer crashed.just before the next scheduled biweekly backup.
I found and downloaded TouchCopy 12 for PC and was able to copy the ringtones from my iPhone to my Windows laptop very easily. It also enables you to transfer photos, memos, voice messages, etc. -
I have photos in a DVD. In order to visualize them in iPhoto, must I necessarily import them? Can't I see the pictures from the media without importing? If not, is there any application with this functionality? I need an app that allows me to navigate through the photos without selecting all of them. I realy dont't like pre-visualization for photos...
In order to visualize them in iPhoto, must I necessarily import them?
iPhoto is a Database. Before it can work with any data it must be imported to the database, so yes it is necessry to import them.
Can't I see the pictures from the media without importing?
See above.
If not, is there any application with this functionality?
Hundreds. Any image viewer will do the job. On your Mac the Finder has QuickLook and there is the Preview app as well. Online you can download any of these:
http://www.macupdate.com/find/mac/image%20viewer -
Does camera raw support the Nikon D5300, if not when there will be an update for this camera model?
The asterisk next the model number on the download page linked above means there is preliminary support, which usually means the camera is supported by pretending it is an earlier model with similar sensor. This can lead to color issues, so while you can convert your NEFs to DNGs with the DNG Converter, and open them with PSE12, now, save your NEFs and be prepared to revisit those pictures once the final release of ACR 8.3 occurs probably in the next few weeks, with finalized support.
-
I have an iPod whose contents I want to transfer to a newer Ipod. At some stage when I thought I was syncing correctly I wasn't so I lost the music files from my library. Is there any way to get them back from the older iPod and put them onto the newer one again?
Have you not got a backup of your content on, for example, external drives ? If not then you could have a look to see if any of the utilities mentioned in this old post still exist and work : https://discussions.apple.com/message/11014893?messageID=11014893#11014893
-
Having installed thunderbird, and subsequently disinstalled it, Safari cannot find Mail.app anymore.
This is rather annoying, since I cannot send links or web contents anymore from winthin Safari.
Is there any way to reinstall Safari or make Mail visible to it?
E.O.Open Mail's Preferences, and change the default email reader back to Mail
-
I accidently deleted a group from Address Book. Is there any way to retrieve it?
I accidentally deleted a group from Address Book. Is there any way to retrieve it?
Not unless you have a back up. Time Machine??
-
I linked my outlook express with icloud, not realizing it would change my outlook express contacts. I deleted email addresses from my iphone, not wanting them there which in turn deleted them from my PC. Is there any way to get these addresses back? Seems I no longer have an outlook contacts list.
It's Outlook, not Outlook Express (different program) and if you have now deleted them from iCloud and do not have a backup they are gone.
Maybe you are looking for
-
Second list depending on first on when-list-changed
Hello! I'm having some trouble with 2 poplists. First poplist (:bloc_portar.lista) is generated ok. Second poplist (:bloc_portar.cnp) depends on the values of the first like this: DECLARE nume_lista1 varchar2(60) := replace(:bloc_portar.lista, '
-
Site won't follow CSS rule, horizontal line colour.
Hi, I have made a CSS syle:- .hr { border:0; border-top: 1px solid #840017; height: 0; background: #840017; This makes a horizontal line to act as a break. But in FF and IE it comes out grey and not claret (#840017) Any ideas what I have don
-
Flash to Dreamweaver 8 question
Ok, so my question to all you geniuses is pretty simple. If you notice here on Adobes website, the text that they use is amazingly clean. The anti-aliasing is near perfect so I can only assume they're using some type of flash based software to produc
-
Lost all sound on my HP Pavilion dv6 notebook
I have a HP Pavillion dv6 notebook with a Widows 7 operating system and have lost all sound. Any suggestions as this is a 6 month old notebook?
-
The zoom level is set at 125 but keeps changing as I go to different screens. It bounces to 1560 and I have to cycle it thru 100 and then 125. It will not stay at 125 and I cannot find a solution to the problem. In fact when I ask for 'zoom level