How can I translate this from PL/SQL into embedded SQL!?
CURSOR TEMP1 is
SELECT emp.fname fname, emp.lname lname, emp.ssn, dname,emp.salary salary, emp1.fname supervisor_fname, emp1.minit supervisor_mdlname,emp1.lname supervisor_lname FROM employee emp, employee emp1,department d
WHERE emp.superssn=emp1.ssn(+) and emp.dno=dnumber order by ssn;
PNTR_TEMP1 TEMP1%ROWTYPE;
--calcualting values for the cursor TEMP1
for PNTR_TEMP1 in TEMP1 loop
fname:= PNTR_TEMP1.fname;
lname:= PNTR_TEMP1.lname;
ssn := PNTR_TEMP1.ssn;
dname:=PNTR_TEMP1.dname;
sup_name:=PNTR_TEMP1.supervisor_fname||' '|| PNTR_TEMP1.supervisor_mdlname||' '||PNTR_TEMP1.supervisor_lname;
salary := PNTR_TEMP1.salary;
n_deps:=0 ;
/* how can I translate this to embedded SQL...I'm using C++*/
Hi,
you can follow this link to use cursor in Pro*c /C++
http://www.csee.umbc.edu/help/oracle8/server.815/a68022/sql.htm
Regards
Similar Messages
-
My child accidentally rented a movie on Apple TV. Is there a way to refund the rental if we don't watch it?
How can I prevent this from happening? Is there a way to password protect future purchases?Did you try Parental Controls?
Apple TV: Understanding Restrictions (parental controls) - Apple Support
See if that does the trick: I think there's a way for you to request a password for purchases, but still be logged in. -
Hi, I share an iTunes account with my wife. Sometimes she gets my iMessages and I don't and vice versa. Also if people face time me it goes to her phone. How can I stop this from happening?
You can share the same Apple ID in
Settings > iTunes & App Store > Apple ID: here
But for all other Apple services like:
FaceTime, iMessage, iCloud, etc, one of you should use a different Apple ID. -
iTunes Match deleted songs from my hard drive. How can I prevent this from happening if I try it again?
iTunes Match can in no way be considered a backup service, this is due to the inexact nature of the 'matching process' (see https://discussions.apple.com/docs/DOC-4112, for more detail).
Loss of files from a Disk is certainly possible through media failure. However, the extent of iTunes Match capacity is solely to influence the content of the cloud. Perhaps there was a coincident, or pre-existing, failure of the disk which was simply exposed by the iTunes Match interrogation of the disk content.
There are certainly other services which depending upon your goal may work well. For example, Google Play with gBeats IOS App works very well. My use of Match is to synchronise across several computers and to drive Apple TV and an IOS device - other IOS devices still use sync for specific music and are complimented by gBeats for access to the full library when local mobile signal strength is high.
The strong advice to always start with a secure backup remains but if your primary concern is iTunes Match interfering with physical disk content you can relax - it simply does not have this ability. (Apology to Sherlock, further investigation required). -
Why is that when I am composing a new message do I end up with multiple versions of my message I am composing up in my Google Trash mailbox? How can I stop this from happening?
It was very hard to see what the box says because the message displays for less than one second. However, I was able to record it with my iphone and pause it until I got a shot of the message. The box says the following:
"Do you want the application “java” to accept incoming network connections?
Clicking deny may limit the application’s behavior. This setting can be changed in the Firewall pane of Security preferences."
I did make some changes. I will see if it works.
Thank you!!! -
I have an iphone 4 that keeps deleting my notes. How can I stop this from happening?
I have an iphone 4 that keeps deleting my notes. How can I stop this from happening? I've had my phone over 2 years and only in the past 2 months has it started deleting notes. Now they are all deleted, but thankfully still in my email, but only on a computer.
I guess he/she open Notes in Gmail settings. This archives (one way sync) notes in gmail account under notes label that is invisible if you are using the standard gmail setup on your iPhone. You can see it on desktop browser, Safari or gmail app in iDevice. Am I wrong?
Sorry for bad English. -
I have an Iphone $S, when I am on the phone and I get a new message my phone vibrates and rings, How can I stop this from happneing when I am on the phone
Flip the Ring/Silent switch. Make sure Vibrate when silent is off in Settings>Sound.
-
Both my iphone and my husbands iphone ring at the same time when only one of us is being called. How can I stop this from happening?
This post has already been answered. Why are you plugging your own site with an answer that has already been given? Not to mention that the information you are handing out is incorrect. There is no bug, there is no patch, and no one needs to delete any email addresses. If you take the time to read the posts with the correct answers, you will see that the solution is totally different than the erroneous one you have posted.
GB -
When I sync my iPad to download new pictures to my library, my existing library gets deleted. How can I stop this from happening?
The way I sync mine is to have an 'master' folder on my computer, and underneath it I have separate folders for the photos that I want to sync to the iPad - I then select the master folder in iTunes and the folders underneath it are synced to the iPad, each getting their own album.
There is some info on syncing folders on this page http://support.apple.com/kb/HT4236 -
A friend is complaining that every time I send him a text message to his iphone from my iphone it goes to his ipad. How can I stop this from occurring ?
If he has iMessage on his iPad set to receive at his iPhone's phone number, that is exactly what is supposed to happen. There's nothiing you can do - he needs to remove his iPhone number from his "you can be reached at" iMessage settings on his iPad.
-
When using my new nano 7 with nike+, my music stops after the 30 minute voice alert even though I have set my run/workout for over 30 minutes. It also cancels/deletes that run/workout. This has happened several times. How can I keep this from happening?
If possible I would arrange for a good service center to go over it. Hopefully they have a variety of parts in stock. They can test and verify all is working. The previous attempts are based on guesses by the person at the other end of the phone without diagnostic tests to assess the culprit. It is extremely unlikely for a webcam to fail & for it & a Mic to fail together should be an indicator to a good technician it is something else. EG Motherboard
Take it to a servicing dealer and wait for it.
T520 Model 4239 Intel(R) Core(TM) i7-2860QM CPU @ 2.50GHz
Intel Sandy Bridge & Nvidia NVS 4200M graphics Intel N 6300 Wi-Fi adapter
Windows 7 Home Prem - 64bit w/8GB DDR3 -
Whenever I download an app on my iPad it automatically downloads it onto my iPhone - how can I stop this from happening?
Automatic Downloads...
http://support.apple.com/kb/ht4539
Settings > Store > Automatic Downloads > Music/Apps > Off -
I have been trying to work on my homework all afternoon, via NAU's blackboard system. I am continuously getting booted out of the system, with an error stating "Data execution prevention". How can I prevent this from continuing?
If you are wondering why you are not getting any responses, it is because you have vented a complaint without any details that make any sense or give anyone something to work on.
If you want help, I suggest actually detailing what has happened, with versions of software etc. Anything that would let us assist.
As a start I am guessing that you have not really got the hang of "How it all works". Firstly download the Pages09_UserGuide.pdf from under the Help menu. Read that and view the Video Tutorials in the same place. A good addition would be the iWork 09 Missing manual book and something to help you learn how to use your Mac.
If there are specific tasks you need help with:
http://www.freeforum101.com/iworktipsntrick/index.php?mforum=iworktipsntrick
Is a good resource.
Peter -
I have a video in my computer. How can i transfer this from computer to iphone ?
i have a video in my computer. How can i transfer this from computer to iphone ?
Dropbox is an extremely handy cloud storage and easily transfer your file.
-
When i open safari the bookmarks page pops up. how can i stop this from happening?
when i open safari the bookmarks page pops up. how can i stop this from happening?
Under the older iOS, when you opened a blank Safari page, Bookmarks automatically opened. However, with the newer iOS, this does not happen anymore. What iPhone and version of iOS do you have?
Maybe you are looking for
-
Error in /LogoPage.html after deploying SAP MII 14.0 SP5
Hi Experts, I am using SAP EHP1 for NW 7.3 SP07. Recently I upgraded from SAP MII 14.0 SP04 patch 5 to SP05 patch 2. After Upgrading I am getting many issues as below: 1. When opening "http://hostname:port/XMII/" as file "/LogoPage.html" does not exi
-
Color Correction changes when Canvas is re-sized?
I have an Apple Cinema Display 22 inch (pre-HD model) and am working with some DVCPRO-HD footage that has been turned black and white using the 3-way CC filter. We wanted to do a quick pass on it and get the contrast as consistent as possible before
-
How do I make my already existing check boxes on a (PDF Document) checkable - So I can check and uncheck them on PDF Expert or Annotate 101. I am using ADOBE Acrobat PRO with millions of options, but no easy "here is how to do the one thing you want
-
Is this Report Possible?
Hi, I am wanting to create the following SQL Updateable report, for example: foo1--bar1---aa---checkbox item that is only displayed once representing all of foo1 foo1--bar2---bb foo1--bar3---cc ============ <<<==== horizontal rule separating foos **
-
Captivate 7, sequencing quiz question, answers are not reshuffled
Hello, I have made a quiz using Cp7. The questions are all sequencing questions. The first time around, the answers are shuffled, as one would expect. Then the quiz-taker puts the answers in the correct order. However, the following times the quiz-ta