Need to know how long takes the Select statement of the cursor?
Hi peopleI want to know the duration of execution of the cursor in a stored procedure.
Piece of my code is provided below.
procedure Process_PCN_MAT_Custs)
p_PCN_OID in varchar2,
p_days_back number
) is
number of vcount;
v_newoid varchar2 (16);
date of pcn_create_date;
T_DATE: = to_char (sysdate, ' dd/mm/yyyy hh24:mi:ss');
cursor (SAP_Customers)
x_PCN_OID varchar2,
number of x_days_back
date of x_pcn_create_date
) is
Select
KUNNR,
Max (soldflag) soldflag,
Max (shipflag) shipflag,
Max (endflag) endflag,
Max (custName) custname
de)
Select / * + DRIVING_SITE (bims_pcn_shipments) * /.
KUNNR,
SoldFlag,
ShipFlag,
EndFlag,
custName
Of
bims_pcn_shipments_mview
where
material_number in (select sap_material_no from the pcn.material where pcn_oid = x_PCN_OID)
and bdr_date > (x_pcn_create_date - x_days_back)
UNION
Select / * + DRIVING_SITE (bims_pcn_shipments) * /.
KUNNR,
SoldFlag,
ShipFlag,
EndFlag,
custName
Of
bims_pcn_backlog_mview
where
material_number in (select sap_material_no from the pcn.material where pcn_oid = x_PCN_OID)
and bdr_date > (x_pcn_create_date - x_days_back)
)
Group
KUNNR;
dbms_output.put_line to_char (v_date);
Begin
Open SAP_CUSTOMERS
---
---
---
close SAP_CUSTOMERS
end
I get an error of compilation for this line [T_DATE: = to_char (sysdate, ' dd/mm/yyyy hh24:mi:ss');].
Saying "+ Error (95,12): PLS-00103: encountered the symbol"="when expected as follows: constant exception < an ID > < a double quote delimited identifier > table Fedya double Ref char time timestamp interval date binary character national nchar"< an ID >"symbol has been replaced for"="continue +.»
I would be grateful if someone can help me solve this weired compilation error.
Thank you
Vineet
Then you need to go to the function [DBMS_UTILITY. GET_TIME. http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_util.htm#sthref7809].
Something like that...
n := dbms_utility.get_time;
dbms_output.put_line( (dbms_utility.get_time-n)/100) || ' seconds....' );
Published by: Karthick_Arp on January 16, 2009 05:07
Tags: Database
Similar Questions
-
need to know how to cancel the free trial subscription Starz
I have an iPhone 6 and need to know how to cancel the free trial subscription Starz. Help, please
Follow the instructions in this article to support > view, change or cancel your subscription - Apple Support
-
I need to know how to remove the most recent version of Firefox. I JUST downloaded tonight and my computer does not have this edit bar little to work with, so I can download the reader good Adobe and my internet was screwed up, since I downloaded the new version of Firefox. I want just the old version of this back because I can't download the Adobe stuff which is necessary to protect my computer against hackers apparently not. It would have been nice to know he had a problem with the new update of Firefox BEFORE I downloaded it. I have Vista, which is usually a problem with Adobe and Firefox. I don't seem to be able to run a lot of Adobe at all on my computer because of the Vista.
This has happened
Each time Firefox opened
http://support.Mozilla.com/en-us/KB/installing+a+previous+version+of+Firefox
-
Need to know how to change the language on the screen on a Dell 922 printer/Scanner
Need to know how to change the language on the screen of a computer Dell 922 / no disk
You need to contact Dell technical support people or visit the Dell support online.
-
I need to know how to disable the test print cause everytime I turn on the printer prints featured. It is hp1315 series.
Hello
If you want to disable printing test page, you must check with the manual of the printer. Try the steps from the following link:
An alignment Page prints whenever the all-in-one is turned on or off or a print job is started
http://h10025.www1.HP.com/ewfrf/wc/document?DocName=c01336397&cc=us&DLC=en&LC=en&product=1146336&tmp_track_link=ot_searchI suggest you to contact HP for better support.
http://h30434.www3.HP.com/T5/printer-all-in-one-software/BD-p/softwareAdditional information:
http://h20000.www2.HP.com/bizsupport/TechSupport/document.jsp?objectID=c01577197&lang=en&cc=us&ContentType=SupportFAQ&prodSeriesId=360489&prodTypeId=18972Printer in Windows problems
http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows -
Hi I need to know how to expand the curves adjustment Panel. For example, I need to enlarge the graphic part so that I can view on a screen at the school and work from this Panel to expand. Thanks, Phil
You can not. At least, not directly Ben Photoshop. For example, this can be done in Gimp and Photoline, and I had hoped that developers of Photoshop team would have done this allowance now. But no, we're still stuck with a tiny curved panel, which is a real shame, because in other applications, the user can be more precise with the curves.
If you don't need to show close-ups during class time, use Zoomit in Windows, or turn on the Magnifier in the accessibility on a Mac option.
https://TechNet.Microsoft.com/en-us/Sysinternals/Zoomit.aspx
-
I need to know how to check the serial number of the product on the installed machine?
I need to know how to check the serial number of the product on the installed machine?
You can go to Adobe.com and connect to the Adobe ID used to register the program.
The serial number would be listed under Manage account > Products & Plans
-
I just bought a new computor. I got Lightroom 5.7 on the old computor and need to know how to download the program on my new computor. Thanks for any help you can provide.
Lightroom - all versions
Windows
http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Windows
Mac
http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh
-
I NEED TO KNOW HOW TO CHANGE THE BACKGROUND COLOR OF MY INDEX FINGER. HTML PAGE
I need to know how to change the background color of my page index.html on Dream weaver cs6.
With CSS:
{body
background-color: #FF0000;
}
Nancy O.
-
My laptop screen is displayed upside down. I need to know how to turn right to the top. Thank you for your help in this matter.
High graphics most of range, the cards are equipped with display rotation built in and adjustable via display properties or via the display properties of the display icon in the Notification area (to the left of the system clock). It is a nice feature if you want to read things more like a book on your laptop, etc.
Some examples would be ATI, NVIDIA, Intel, Matrox, S3, XGI. These adapters can be integrated into your system, and not always his own card.
This phenomenon of rotation screen sometimes inadvertently some keystrokes (the cat walked on my keyboard).
Pressing on the keys Ctrl-Alt top/arrow down arrow rotates screen 90 degrees at a time for some graphics (like NVIDIA) cards
If this does not work, we will need to know your system brand and model and see if we can look at the rotating screen for you shortcut keys.
Do, or do not. There is no test.
Someone please tell me how to make figgy pudding like these kids keep saying they won't until they get some.
I decided to implement the points for a new puppy instead of a pony!
-
you want to know how to block the ophcrack from running, my child uses this to get my password and in the parental controls in vista. I have 3 accounts going 2 for children and one for the parents/administrator. I found ophcrack in several places on the computer. any help would be greatly appreciated
The only question the idea of Malkeleah, that is when you put a password on BIOS, all you need to do is pop the battery from the motherboard and the password is gone. Faronics has in some programs such as anti-executable and a few other programs that may block the name or ID of a process and prevent it from running (some antiviruses have that option, such as Avast, but usually is a pain in the ass to configure)
-
I need to know how to reset the password for administration
Original title: passwordneed to know how to reset passwords for administration on vista home top
Hello
Responses cannot help with password lost or forgotten by Microsoft Policy.
Keep secure passwords - Microsoft strategy on move the passwords
http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-security/keeping-passwords-secure-Microsoft-policy-on/39f56ef0-5d68-41AD-9daa-6e6019c25d37What to do if you forget your Windows password (Vista and Windows 7)
http://Windows.Microsoft.com/en-us/Windows-Vista/what-to-do-if-you-forget-your-Windows-passwordI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
need to know how to get the password
I created a log on for a friend on my laptop and when I did set a password I do not know how to find the password it doesn't let me do something the friends connect on the site because I am admin
I created a log on for a friend on my laptop and when I did set a password I do not know how to find the password it doesn't let me do something the friends connect on the site because I am admin
If you are the system administrator (you said, "because I am admin") and then just change the password on the other account.
http://pcsupport.about.com/od/windowsvista/HT/change-another-users-password-Windows-Vista.htm
-
Need to know how to reconfigure the router settings
Hi - I was on the phone with technical support for an hour before, they told me they couldn't help me unless I paid or bought a new router. Isn't an option for me financially so I hope someone can help. :-(
My cable signal came out very briefly, probably for 5 to 10 seconds. When she came back, my router not working. I jumped through all the hoops reset that work normally, but nothing has worked this time. The tech guy said that I need to reconfigure my router settings. I don't know how. Can anyone here help me?
I am running Windows Vista and the router is a Linksys E1000, version 2. Is there a page on this site that tells me what to do? I could not find.
I thank very you much for any help you can give me. I'm desperate!
Thank you for your kind reply. I did some reading and found that if I reinstalled the router, that would take care of the problem. He did, and I'm back online! I appreciate your response however!
-
I need to know how to change the color of an image.
I'm not a designer and do not pretend to be. Someone made a logo for me and gave me in photoshop. But I need to change the color of the logo. I bought the creative cloud and watched tutorials for days. I used the Replace Color tool and get out of there, but not really. Help, please. :/
Hi Rachel, if you have the file have you can edit it directly in its native software that is Adobe Illustrator.
To change the color to do the following.(1) open the file in Adobe Illustrator
(2) once opened, select the white (or black) arrow tool in the upper left corner of the screen and click on the green lines. 90% this will select the entire line.
(3) now, look at the bottom of the tools Panel on the left side of the screen, there are two colors. One is for the fill color and one for the color of the outline. One of these two is probably green. If so, double click it and choose the color you want. Click ok in the color Panel and you're done.
(4) do the same thing on each side of the logo.There is a chance, the designer of the whole logo in groups. If this is the case (you will notice because you will not be able to select only the lines), take the black arrow tool and double click on the logo, until you'll be able to simply select the lines.
Please let me know if it was clear and that you succeed.
Kind regardsMartin Benes
Adobe Acp
Maybe you are looking for
-
binning error of Hamamatsu orca-dsquared
Hello world! I use a camera hamamatsu ORCAD-dsquared and when I want to put a frolic binning 1 x 1 on it. I got this error: 'TMERR_UNKNOWNERROR to C:\Program NIUninstaller Instruments\LabVIEW video 2011\user.lib\Hamamatsu Capture\tm_setparameter.vi'
-
EliteBook 8560p: unable to turn on Mobile Broadband - 10 Windows
Hello So I made the big jump yesterday of 8.1 Windows of Windows 10. Do this jump however gave me a headached major when it comes to using my built-in mobile broadband. Properly installed device drivers however I am unable to turn on the device to W
-
help with formatting of the accidental partition
I had to re - start my operating system. whem I formatted the drive, I was installing on, I accidentally formatted partitions on one external drive. My question is; is it possible to pull content market back this player. or better yet, restore the pa
-
How can I install windows 98se in windows vista 32, as I install can´t as the term work program or or in the index file to install in the program. But maybe it s possible to install this program through MS-DOS and in this case, how is possible to ins
-
Problem with the installation of photosuite (solution Center) windows 7
Hello I have a new computer windows 7 64 bit laptop and lost the installation for my printer disc. (HP Photosmart C4180) I downloaded the necessary drivers etc HP which at first seemed to succeed only to find at the end of the installation, that shou