Result does not display a correct output...
Hi all
I have created a package, and in this package, I have created a procedure, see below:
Code
CREATE or REPLACE PACKAGE plch_pkg
IS
g_colors DBMS_SQL.varchar2_table;
procedure show_colors;
END;
-----------
CREATE or REPLACE PACKAGE body plch_pkg
IS
procedure show_colors
IS
Start
dbms_output.put_line ('Count =' | g_colors.) (COUNT);
END;
Start
dbms_output.put_line ('color Set');
g_colors (1): = "Blue";
g_colors (1000): = 'red ';
END;
Procedure call: -.
Start
dbms_output.put_line ('Go!');
plch_pkg.show_colors;
END;
Result
Come on!
Count = 2
My question is why the result is not showing the message set the colors I used in my 2nd dbms_output. Please advice...
Shuumail wrote:
Means that the package does not load on each call, pls right me if I'm doing something wrong...
What you're doing wrong? Don't readinig no documentation for beginners. This is normal behavior correct and expected. Read package instantiation and initialization. You can use the serially reusable package, if the condition of the packaging must be reset on each call to server:
SQL > CREATE OR REPLACE
2 PACK plch_pkg
3 EAST
PRAGMA 4 SERIALLY_REUSABLE;
5 g_colors DBMS_SQL.varchar2_table;
6 procedure show_colors;
7 END plch_pkg;
8.
Package created.
SQL > CREATE OR REPLACE
2 plch_pkg of body PACKAGE
3 EAST
PRAGMA 4 SERIALLY_REUSABLE;
5 procedure show_colors
6 EAST
7. start
8 dbms_output.put_line ('Count =' | g_colors.) (COUNT);
9 END show_colors;
10 starts
11 dbms_output.put_line ('color Set');
12 g_colors (1): = "Blue";
13 g_colors (1000): = 'red ';
14 END plch_pkg;
15.
Package body created.
SQL > set serveroutput on
SQL > start
2 dbms_output.put_line ('Go!');
3 plch_pkg.show_colors;
4 end;
5.
Come on!
Color scheme
Count = 2
PL/SQL procedure successfully completed.
SQL > start
2 dbms_output.put_line ('Go!');
3 plch_pkg.show_colors;
4 end;
5.
Come on!
Color scheme
Count = 2
PL/SQL procedure successfully completed.
SQL >
SY.
P.S., Documentation read before making a decision in order to understand clearly what serially reusable pragma means and does.
Tags: Database
Similar Questions
-
Lock screen resolution does not display the correct image size
original title: lock the resolution of the screen and graphics
It's not just me, but I have problems with my lock screen. Any image I use the image is the right size and color aren't (almost like a filter of Sarcelles is imposed).
My native screen resolution is 5760 x 1080. I tried for some screen resolutions, both the original and the current. Even the original will not display correctly.
Ideas?
Well, well, well. After you disable the lock for a while screen, today I decided to re-activated it. I love nail polish it gives for WIn8 only that my plan was to use a solid color.
Imagine my surprise when applied wallpaper appears with the correct aspect ratio.
Even more surprised that it allows me to use ANY wallpaper now and they look all perfect; 16:9, ultra wide-angle (surround), it does not matter. Everyone is properly rendered to the screen.
If anyone from MS is reading this, thank you. I know how Visual, aesthetic items will fall to the bottom of the to do list due to the perception of someone, they are trivial and not important.
You took the time actually solve this little problem. I am amazed, that perhaps MS really takes a step to circulate better over time. Really looking forward to what is to come!
Happy 4th of July!
-
The Thickbox widget that I used on my website Gallery does not display images correctly.
I used a widget gallery called Gallery widget (Thickbox) - for the creation of a portfolio gallery, for display and navigation between photos in the Gallery to your Web site, but the site it does not react as expected. It opens an image in its entirety and does not present the navigation to allow movement between the images. I heard someone say that the widget has been discontinued, please what can I do to make this work well on site or there at - it a new/better one that I can use to give me the same functionality and how to use it? Because I really need this Gallery feature on my site.
Thank you in advance.
Thickbox has not been in development for many years, so I'm not too surprised that it works well in modern browsers.
You'd better to use almost anything with the latest jQuery library. See 2 below lightbox alternatives
fancyBox - fancy Lightbox Alternative jQuery
Nancy O.
-
Field does not display on the output
Hello
I have a problem in BEEP when I substring of a field.
I used the variable group incontext: <? variable@InContext:G1;current-group()? >
I need a substring of a field, but it does not receive the value of the field in the xml file.
< ROW_Group >
< ERP >
Hello World < Test1 > < / Test1 >
< Test2 > start < / Test2 >
< / ERP >
< SPECIFIC >
day sunny < Test3 > < / Test3 >
rainy day < Test4 > < / Test4 >
< / SPECIFIC >
< / ROW_Group >
Please note that G1 is for ROW_Group
<? xdofx:substr($G1/ERP/Test1,2,3)? >-This does not do anything
<? $G1/ERP/Test1 /? >-This output the value "Hello world".
Please help if anyone has encountered this situation.
Thank you.Use
-
crsctl does not display the correct information
Here is what happened.
There is a test at home for learning system. Oracle RAC 11.2
It was working fine.
I had a group of data called ASM DATA
I added a new data group to asm called DATA1 and then I dropped the DATA1
Now, when I restart the machine... the database does not start automatically... when I go to sqlplus and use the order... starting the database starts
However after starting, if I use the command
crsctl res stat - you
I expect to see the State of the ora.rac.db online
I see the State of the ora.rac.db offline
I heard that after the removal of a group of data we do maintenance using SRVCTL command
I checked on Metalink, but was unable to find any document.
Please help.
Here's what I did to solve the problem
. / stat crsctl res ora.rac.db Pei | grep DEPENDS
START_DEPENDENCIES = hard (ora. DATA.dg, ora. Weak(type:ora.listener.type,global:type:ora.scan_listener.type,uniform:ora.ons,uniform:ora.eons) of Data1.DG)
pullup (ora. DATA.dg)
Hard = STOP_DEPENDENCIES (intermediate:ora.asm, stop: ora.) DATA.dg, shutdown:ora. Data1.DG)
The above was incorrect because the disk DATA1 group fell however crsctl registry was not updated.
I tried the below command but it didn't work
. / crsctl change res ora.rac.db - attr ' START_DEPENDENCIES =' hard (ora. " DATA.dg)
Weak(type:ora.listener.type,global:type:ora.scan_listener.type,Uniform:ora.ons,Uniform:ora.) Eons)
pullup (ora. DATA.dg) "" "
then I tried the command above with the indicator f and it worked
Now, I gave the next command
. / crsctl change res ora.rac.db - attr "STOP_DEPENDENCIES =" tough (intermediate:ora.asm, stop: ora.) "." DATA.dg)' '-f '.
then I stopped the cluster and rebooted the machine
but the database did not come to the top...
so I did a little research and gave to the next command
. / crsctl change the resource ora.rac.db - attr AUTO_START = always
... Stop cluster and restart
BinGO... the issue is now resolved
-
Result does not display after comma
Hi all
I will be grateful if someone can help me with the attached VI. The weight value is read into a digital scale via RS232, the weight is read and displayed correctly but when I try and write the value to a file csv or txt digits after the decimal point is not connected. for example, 108.5 g is connected as 108.
Best regards
Maiz
Given that you send a string to the writing of the worksheet function, do not use a % .10f format specifier. Delete it so that it uses the default %s which is string.
If you send it a digital painting, using the %.10f would have been appropriate.
-
original title: Hard Drive rename BUG
I have a problem with the change of name of the hard disk.
Disk Management displays the names for each partition, but when I open my computer C only a specific name, the rest of the partitions are named local disk and if I try to change it by right clicking Rename or properties and change volume name, after clicking on ok nothing happens, but more funny that I go to disk management and I can see the change in the name of the partition , but Explorer keeps showing local disk, drives me crazy.
I am running windows 7 Pro.
Someone please provide solution.
Thank you.
Hello
Serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
(http://windows.microsoft.com/en-GB/windows7/Back-up-the-registry) How to back up and restore the registry in Windows
You can try these:
a. open the Start Menu.
(b) in the area of the white line (search), type regedit and press ENTER.
c. click on the button continue in the UAC prompt.
d. in regedit, go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer
e. in the left pane, right-click on explorer.exe and click on New and key.
f. type DriveIcons and press ENTER.
g. in the left pane, click with the right button on DriveIcons and click on New and key.
h. type the drive letter (EX: E) you want to change the route name and press ENTER.
i. in the left pane, right-click on the drive letter (EX: E) and click on New and key.
j. type DefaultLabel and press ENTER.
k. in the right pane, click with the right button on (default) and click on change.
To change the name of the reader - l.
i. enter a name (Ex: My DVD), and then click OK.
II. go to step n.
Mr.. to restore the default drive name-
i. leave it blank, and then click OK.
II. go to step n.
n. Repeat steps i to m if you want to add another drive letter icon to change.
o. close regedit.
Diana
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think.
If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
-
Does not display the correct line.
I use HP Pavilion dv7 and when I slide the volume with your finger using the touch buttons - on the screen shows a line this messure the volume. It has now disappeared. The volume is otherwise fine. I can't see the line.
I am sorry to say that I don't know the operating system of your system.
I have provided a link to download utility screen. Simply download and run the utility, and you should get the on-screen volume bar.
http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?cc=us&LC=en&DLC=en&softwareitem=ob-90653-1
Before downloading pls check the operating system is supported by your system or not. If so, then only, download and run the utility.
If the problem is not resolved, then run a system restore.
http://www.SevenForums.com/tutorials/700-system-restore.html
-
Weather gadget does not display the correct time
original title: WINDOWS 7 HOME PREMIUM, IE9 IMAP WEATHER DESKTOP GADGET
This gadget not only did not recognize established cities, but the climate is always a week behind, which gives suggestions out there in the strange world of the nothingness of the technology gone bonkers, invasive and just plan to update every 4 hours!
Hello
Please uninstall and reinstall the weather gadget and check.
Check out the links.
http://Windows.Microsoft.com/en-us/Windows7/uninstall-or-change-a-program
http://Windows.Microsoft.com/en-us/Windows7/install-a-program
-
E-mail account does not display the correct account history
original title: I had my email.account for 3ys, and you say, I just started, where is my old account
they say that I just started my account, and I had my email for more than 3 years account, whats going on?
Hello
A second request for further information!
We need more information on your issue.What email program are you using?
What electronic access Internet/mail provider you are signed up to the?
Here is a link to generic installation for Outlook Express:
http://support.Microsoft.com/kb/2409264
B Eddie
-
devices and printers does not display the correct information of device or the icon
I click on devices and printers and of course my devices and printers all appear, however, the device appears to my computer shows in the information window which is a Tablet instead of a desktop PC, the model number is incorrect and also the icon as well. How can I fix this.
Same question here.
Solved with this microsoft hotfix to formIt turns into the right device and realistic icon -
Search Google in Internet Explorer 10 does not display search results.
Yesterday, I received my new laptop Pavilion dv6 Quad Edition.
When I use Google seaech in Internet Explorer 10 it does not display the results,
It displays a blank page.
I uninstalled IE - 10 and he returned to IE - 8 and google search works correctly.
I then downloaded IE - 9 and it worked normally. Ithen reinstalled IE - 10 and it still
has not displayed the search results. I am at my wits end and I'm about to return
HP computer. Either way, I am running Windows 7 Home Premium 64-bit.
I used the solution of UTube and it solved my problem.
Thank you very much, your help is greatly appreciated, my laptop problems were resolved.
Chef Bob
-
Hi all
I use the new version of the developer 4.0.1.14 on Windows 7 x 64, I noticed that the result of the query or the output of the script does not display as before:
When I run a query lets say with 100 lines of output, run the query successfully, but the cursor jumps automatically to the last record in the game as in all previous versions, I have to scroll manually everytime.
Can I change this?
Thank you
No, unfortunately, it's a bug.
It is not for all queries however. Still boring.
-
Mobile profiles (phone and Tablet) screen does not display does not correctly
RoboHelp 11 on a Windows 7 machine
I have a small project that I asked in August and just pick it up again today. The only changes that I made today have a background color in the selected schema and adding browsers to the Profiles screen (mobile phone, desktop),. I also changed the pixel size of screen above and saved profiles, but eventually changed his mind and changed their return. I don't know if it would make any difference to this problem. (When I did size changes HR told me to update media queries, but I do not use all... or at least none came in functionality to handle media queries.)
Then I re-generated output, but the Tablet and phone screen sizes are does not display correctly when I tested it by changing the size of my browser - there is a browser size quite large "dead zone" where no content is displayed at all (which almost makes appear as the 'sensible' part of the output does not work), inland navigation (front and rear bar and buttons) is pushed upwards in the header bar , and no horizontal browser scroll bar appears so that I can scroll to see the edge of the large images. I mainly use IE but it happened as well as Firefox and Chrome. The desktop display seems to work very well. (I'm sorry I have no screenshots now - I can provide some if necessary.)
I was wondering if it had something to do with my chosen 'model' but a new project that uses that even a (Theme1_Standard) had no problem. Now, I also noticed that the model seems to have changed since I was last in Robohelp, because the overview of model unchanged today was not the same as the model from August. The Readme file for the latest patch does not mention everything that I thought that seemed to be related.
As I said, I changed were all one color, browsers display profile and the profile screen sizes which I subsequently put discarded. I'm completely at a loss as to what caused this and how to fix it. I feel like an OAF comprehensive because it seems to be related to something I * DID * but back on my steps gave nothing.
Thank you!
UPDATE
Still having this problem, but in poking around I discovered that some of the program files on my local machine have been updated in mid-September (when it looks like ReadMe file in the last patch was installed on my computer) and others have been updated mid-October (the first time I was in HR since mid-August, so anything is a not then generate). I don't know if this means anything, but to me it seems slightly suspicious. THX.
I tried to reproduce the problem, but I can't get the the problem you describe. I do not have a dead zone and wide content scroll correctly.
The screenshots are pointing to the former route Theme1, so there may be a problem here. Can you please try the following:
- Delete the layout of your project.
- In Windows Explorer, navigate to the folder! ScreenLayout! in your RoboHelp project and delete the Theme1 folder.
- Claire the! SSL! folder.
- Clear the DPC.
- Remove the output that you previously generated to ensure that no old file remains.
- Open RoboHelp, add the layout and generate without making any changes? It's working now?
Just to be on the safe side, Adobe has released a fix for HR 11.0.3 that some sensitive issues in layouts, however not correct the issues identified in this thread: questions in RoboHelp 11.0.3
Kind regards
Willam
-
Drag / drop an element in horizontalList does not display correctly
It seems that when I drag an item from a HorizontalList to another location within the same HorizonList, it does not display the images correctly. I have an itemRenderer that displays the thumbnail image of the item in my HorizontalList. I have about half a dozen items in the list, and when I drag the sixth issue and move to the beginning of the list, the display looks as if the first and sixth items are activated, while in reality the dataProvider resulting table seems to have the right order, which means that the sixth element became the first element and the first item has become the second element and so on. Someone knows such behaviour and how to rectify this? Thanks in advance. Cheers, Ramesh
------------------------------
The HorizontalList def is
< mx:HorizontalList id = "myList" width = "92%" height = "100%" columnWidth = rowHeight = "90" rollOverColor "105" = "#f26722."
labelField itemRenderer = "com.myListRenderer' = 'name' dataProvider = columnCount '(arr)" = "10"
dragEnabled = click "updateView (Event)" = "true" dropEnabled = "true" dragMoveEnabled = "true" > "
< / mx:HorizontalList >--------------------------------
The rendering code is
<? XML version = "1.0" encoding = "utf-8"? >
" < = xmlns:mx mx:VBox ' http://www.Adobe.com/2006/MXML "horizontalScrollPolicy ="off"verticalScrollPolicy ="off"horizontalAlign ="center" "
verticalAlign = "middle" width = "90" height = "90" verticalGap = "0" creationComplete = "init ()" > "
< mx:Script >
<! [CDATA]
private function init (): void {}
imageFile.source = data.url;
imageName.text = data.name;
}
[]] >
< / mx:Script >
< mx:Image id = "imageFile" scaleContent = "true" width = "90" height = "70" horizontalAlign = "center" verticalAlign = "middle" / >
< mx:Label id = "imageName" height = "18" width = "90" textAlign = "left" / >
< / mx:VBox >In general, using creationComplete in a rendering engine will not work. Try dataChange
instead. See the messages of converter point on my blog for more details
--
Alex Harui
Flex SDK Team
Adobe System, Inc..
Maybe you are looking for
-
Hello Does anyone know the secrets of this mystery? I can't find answers on google. U.S.. iTunes, you can find the English version on order in advance but not to the Canada. Why is this? iTunes Canada, can you please enlighten us? YOU know why t
-
HP g62 b13er: reference number
Hello, excuse me can someone help me with the references of the card system and hp g62 b13er cooler system, thank you
-
How can I listen to text Message on my phone. One of my friends using this same function now, I want to know how to do this? Help, please...
-
Office reset - hp b314 20 Pavilion
Hey guys, < br > < br > that my office was recently referred my boss the owner of my new company starts after the previous employee has been released. Thing she has locked the Office homepage to require a connection. ALT trying to sign with the F10 r
-
try to install ME2