Why do not perform proxy &; line input on a loop?
Hello group,Why does not run the line where the substitution variable is affected by the loop. only the first time.
SET SERVEROUTPUT ON
DECLARE
v_flag NUMBER(1):= 0;
v_counter NUMBER(1):= 0;
BEGIN
LOOP
v_flag := &input;
v_counter := v_counter + 1;
dbms_output.put_line(v_counter);
EXIT WHEN v_counter = 9;
END LOOP;
END;
/
Thank you.
A substitution variable is something that SQL * more (or whatever until you use) replace before sending the block PL/SQL (or SQL) to the database. SQL * Plus has no idea that your substitution variable is inside a PL/SQL block and still less that it's inside a loop. He will never ask a value once and then it will send the block to the database where the PL/SQL is executed to process.
Justin
Tags: Database
Similar Questions
-
Why my code does not perform outside the service?
I have unfinished code, I'm getting. There is a listener and a function. I noticed when I put the loop outside the service (it would be less than the last line) it is not running. Why does not run the code as I type outside the service? I need to know for future reference
Here's a piece of it
function onLoaded(e:Event):void {}
trace (e.Target.Data.Files);
trace (e.Target.Data.images);fileData = e.target.data.Files;
imgData = e.target.data.images;imgArray = imgData.split ('.jpg'), Table of images
trace (FileData);
trace (imgArray);
for (var i: Number = 0; i < 15; i ++) {}
trace (insArray [i] .source = path + "/" + imgArray [i] + "_tn.jpg");
}}
myTextLoader.load (new URLRequest ("info.txt"));
Here are 2 examples:
example 1:
Import 12345678910111213import;
var url: String = "Image.jpg";
var bm:Bitmap;
var loader: Loader = new Loader();
loader.contentLoaderInfo.addEventListener (Event.COMPLETE, completeHandler);
var request: URLRequest = new URLRequest (url);
Loader.Load (request);function completeHandler(event:Event):void
{
BM = bitmap (Event.Target.Content);
trace (WB); //<- you="" get="" :="" [object="">- >
}example 2: (just change the location of trace (bm)
Import 12345678910111213import;
var url: String = "Image.jpg";
var bm:Bitmap;
var loader: Loader = new Loader();
loader.contentLoaderInfo.addEventListener (Event.COMPLETE, completeHandler);
var request: URLRequest = new URLRequest (url);
Loader.Load (request);trace (WB); //<- you="" get="" :="">- >
function completeHandler(event:Event):void
{
BM = bitmap (Event.Target.Content);
}same code as an example 2:
Import 12345678910111213import;
var url: String = "Image.jpg";
var bm:Bitmap;
var loader: Loader = new Loader();
loader.contentLoaderInfo.addEventListener (Event.COMPLETE, completeHandler);
var request: URLRequest = new URLRequest (url);
Loader.Load (request);function completeHandler(event:Event):void
{
BM = bitmap (Event.Target.Content);
}trace (WB); //<- you="" get="" :="">- >
as you can see it's okay where the function is written. That the function runs only after the load event is over. If the layout in the sample 2 and 3 line will result as null because at that time the loading process has just begun...
-
Why is not available in the US store loose Office mac app?
Why is not available in the US store loose Office mac app? Are their outstanding issues with the app?
You must apply to the developer. Apple reserves the right to remove an element if it does not perform to his expectations or a developer may not able to promote and sell a product around the world due to specific restrictions
-
Equium A100-306: Question on stereo line input recording
I want to record on my laptop and also frustrating, he did not have a stereo line input.
I have a Behringer (UCA202) USB adapter. This allows playback through my stereo system (with adjustable output via the sound card level) but the input level is too high and cannot be resolved by any means, I've tried.Is there a solution to which can be followed by an enthusiast?
Hello
How about the additional audio PCMCIA sound card?
Have you checked if this sound card supports stereo recording features?I put t know exactly if this will help, but I found an interesting thread on the
audio recorder:http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=16446&MessageID=64020
-
Sfc/scannow error: Windows Resource Protection could not perform requested operation
Hello
I'm having a problem. All of my windows files are corrupted. When I changed the theme, it's always the basic theme of load. I don't know why. Maybe it's because I never have it patched with Universal Theme Patcher. I know that this will change the windows file, and windows he refused. I'm sorry windows.So I want to make a repair. I ran everything. When I ran the system restore, it is said that the antivirus blocked the system restore. I have search on this site, but there is no help. I take the Startup Repair, nothing changes. So my last hope is run cmd and type sfc/scannow.And then cmd stop the scan and says Windows Resource Protection could not perform requested operation. I'm looking for help on this site, I have nothing. I did not helpPlease help me. I don't want to reinstall my Windows. Any ideas are welcome. But when no one can help me, what should do?Hello
Method 1:
a. Click Start, type services.msc in the start search bar and press ENTER.
b. Locate the Volume Shadow Copy service.
c. click cliché instant volume, then select restart.
d. now make a right-click Volume shadow copy, and then select Properties.
e., under Startup type, select automatic.Method 2:
Check your hard drive for errors.
Follow the below mentioned article:
Check a drive for errors
http://Windows.Microsoft.com/en-us/Windows7/check-a-drive-for-errorsImportant: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.
-
How and why CB uses internet proxy?
Hello!
CB user guide contains the following ' 4 If a proxy is required for access to the internet, type y and provide the details of the proxy. "
How and why CB uses internet proxy?
--
Igor Nemilostivy
Hello
For version 1.0 of the CB, CB does not connect to the internet. There is therefore no need to provide details of the proxy server.
"A proxy server is required to access the Internet? y/n :"----
-
"Adobe Photoshop (CS 6 on mac): use Extendscript (below) to convert in a .png .psd file size.
"Save for web error: could not perform the Action, because the destination folder does not exist. Can anyone help?
I am trying to convert the image size of a record of entry into an output folder:
#target 'photoshop '.
var outputWidth = 1024;
var inputFolder = Folder.selectDialog ("input file");
var outputFolder = Folder.selectDialog ("output folder");
If (inputFolder! = null & & outputFolder! = null) {}
var file = inputFolder.getFiles ("*.psd");
for (var i = 0; i < files.length; i ++) {}
var file = files [i];
var doc = app.open (leader);
If (doc.width > outputWidth) {}
var height = (doc.height / doc.width) * outputWidth;
doc.resizeImage (outputWidth + "px", size + "px");
}
var options = new ExportOptionsSaveForWeb();
options.format = SaveDocumentType.PNG;
Options. PNG8 = false;
doc.exportDocument (outputFolder, ExportType.SAVEFORWEB, options);
doc. Close (SaveOptions.DONOTSAVECHANGES);
$.writeln('File ' + (i + 1) + "" + files.length + "transformed");
}
}
I added a few comments, I hope this helps...
#target "photoshop" var outputWidth = 1024; var inputFolder = Folder.selectDialog("Input folder"); var outputFolder = Folder.selectDialog("Output folder"); var startRulerUnits = preferences.rulerUnits; //make sure you are working with pixels preferences.rulerUnits = Units.PIXELS; if (inputFolder != null && outputFolder != null) { var files = inputFolder.getFiles("*.psd"); for (var i = 0; i < files.length; i++) { var file = files[i]; var doc = app.open(file); if (doc.width > outputWidth) { var height = (doc.height / doc.width) * outputWidth; /* doc.resizeImage(outputWidth + "px", height + "px"); */ //only one value is required doc.resizeImage(outputWidth, undefined, undefined, ResampleMethod.BICUBICSHARPER); } var options = new ExportOptionsSaveForWeb(); options.format = SaveDocumentType.PNG; options.PNG8 = false; //get the filename without the extension var Name = app.activeDocument.name.replace(/\.[^\.]+$/, ''); //build up the output file name and path var saveFile = File(outputFolder + "/" + Name + ".png"); //you need to have a full filepath not a folder doc.exportDocument(/*outputFolder */saveFile, ExportType.SAVEFORWEB, options); doc.close(SaveOptions.DONOTSAVECHANGES); $.writeln('File ' + (i + 1) + ' of ' + files.length + ' processed'); } //restore ruler units app.preferences.rulerUnits = startRulerUnits; }
-
Process does not perform an update.
I have this process of PL/SQL in my page:
UPDATE tag_order
SET order_date = SYSDATE
WHERE order_number =: P16_Order_Number;
COMMIT;
Unfortunately, it does not perform the update. What could be wrong?
FYI: In order to access the page where this process, you first go to a page that contains an area of report interactive (Page 15). When you click on one of the lines in this part of the report, page 16 is loaded and the: P16_Order_Number element loaded with the order number on the report page. I don't know if that has anything to do with the problem, but I mention it because: P16_Order_Number is referenced in the update statement. The session state is not defined?
Any advice would be appreciated. Thank you.Hello
And, if send you the page and then check the session state for the page elements, P16_ORDER_NUMBER always appears good value?
Do you have a process of "reset...". "on the page that runs before your own process that performs the update?
Andy
-
The use of the battery has increased since the update to ios 10. Also, why can not disable the voice command. It's the most boring on the new update.
Depending on what you mean by "voice command", either:
Settings / general / accessibility / VoiceOver / OFF, or
Settings / Siri / OFF
As for your use of the battery, you can check what app pulls most of its use in the settings / battery. A new version of the app is sometimes problematic, not necessarily iOS or iPhone. If you see a unusual % of use of a particular application, or force-to leave it removal/reinstalling it or remove it until an update comes. If anything seems unusual, it might be a problematic installation of iOS, in which case, you could backup your iPhone and restore it:
Restore your iPhone, iPad or iPod touch from a backup - Apple Support
-
Why you not sync my outlook calendar events?
Why you not sync my outlook calendar events?
Why would I want to synchronize your outlook calendar events? I don't even know you.
Seriously, go to settings > Mail, Contacts, calendars and make sure that the account has been added and this schedule has been selected as one of the things to synchronize. Then go in the app calendar Tap on schedules down to the center of the screen. Make sure that there is a check mark next to your Outlook calendar in the list.
-
Satellite L305D-S5934 Pro - keyboard will not perform a double click
Hello
I have Satellite L305D-S5934 and the keyboard does not work properly. I can use the keyapad to point but it wll not perform a double click. Left click will not work... I think it's a hardware problem, I have tried resetting everything and downloaded synaptics at least 3 times.
Anyone have any suggestions?
It does not work with a USB mouse. It is still under warranty, but the agent wants to keep my laptop for 6 weeks to fix while they get a part starting from the United States. and they don't test it for me for free so I'm not even sure this is harware related to 100%?Hope someone can help me, thanks
Hello!
Do you mean before the touchpad mouse left button or tap on the touchpad function?
The listen function must be activated first. This means click on the left button of the mouse TouchPad.
Go to control panel > mouse > device settings > settings > Tapping. There you can check if the function is enabled or not.Good bye
-
I recently bought Apple TV but the TV I want to hang up to does not have an HDMI input. I bought a converter HDMI cord at Radio Shack, but it did not work. Any suggestions?
You may be able to find a connector to work but which would not guarantee that he would not stop working on the road. Minimal tech spec of the ATV4 is a HDMI connection to the tv. My recommendation is to upgrade your TV rather than trying to get a square peg in a round hole. That's just my 2 cents...
-
Why my notes on my iPhone and iPad are no longer synchronized on my Mac
Why my notes on my iPhone and iPad are no longer synchronized on my Mac?
If you use IOS 9 and you have upgraded to iCloud Notes Sync, they will not synchronize with the computer unless you go to El Capitan, so you can update the Notes application iCloud.
-
Why windows not a lot of malware that compare to other OS?
Why windows not a lot of malware that compare to other OS?
Windows not "having a lot of malware.
It is the same for any other OS.
Most often, the biggest problem is the user himself who carelessly clicks everything what is clickable and who does not pay attention to uncheck "grouped" offers downloading something...
How to avoid infections PC easily
Best practices for computer security - malware Infection prevention
-
Hello
My printer has a paper jam. I fixed the jam but it always wiil me does not perform any print job. What should I do?
Sincerely,
Misty
Tuesday, October 23, 2012 13:38:01 + 0000, Misty Doran wrote:
Hello
My printer has a paper jam. I fixed the jam but it always wiil me does not perform any print job. What should I do?
Call brother and ask them to say that a local place that services
their printers. He brings them and get them to fix it.Ken Blake, Microsoft MVP
Maybe you are looking for
-
I get the error message "Untrusted connection" for a site I visit every day with the only option being "get out me of here!" I use Firefox version 39.0 and have Windows 8.1. I found a thread indicating how to solve this problem by removing the file c
-
iTunes does not find devices in Windows 10
I installed the latest version of iTunes on my new laptop running Windows 10. When I connect devices, nothing shows up on itunes. No devices and 'peripheral' is not in the drop-down list. I uninstalled and reinstalled without success. When I con
-
Hello. Looking at the 'Services' and 'Start' process on a tx2500z, what is hpwuSchd request? Thnx.
-
Echo sound when you play live internet
original title: Echo When playing a live internet stream, I get a sound echo, each word is repeated. What should I do?
-
Creating a smooth surface, same voice over
I recorded a voiceover, diced it upward and said every game instead I want it in the timeline panel. The problem is that I'm quitting during playback. There is not much noise in the voiceover, but silence between clips is noticeable. Don't know what