Problems with paragraph...

dear all,

I have following piece of code as shown below, as i have written

CREATE OR REPLACE Procedure p_test As
v_pamlg_plots_oprn1 Number := 1001;
v_pamlg_plots_oprn2 Number := 1011;
v_pamlg_plots_oprn3 Number := 1100;
v_pamlg_plots_oprn4 Number := 1110;
v_pamlg_plots_oprn5 Number := 1111;
v_pamlg_plots_oprn  Varchar2(30);
v_qty               Number;
Begin
 Select v_pamlg_plots_oprn1||','||v_pamlg_plots_oprn2||','||v_pamlg_plots_oprn3||','||v_pamlg_plots_oprn4||','||v_pamlg_plots_oprn5
 Into v_pamlg_plots_oprn
 From dual;
 dbms_output.put_line(' v_pamlg_plots_oprn -->>'||v_pamlg_plots_oprn);

 Select Sum(d.Qty)
   Into v_Qty
   From Daily_Stock_Detail_Mal_Lpcs d
  Where d.Product = 65019216
    And d.Operation In (v_Pamlg_Plots_Oprn);

 dbms_output.put_line ('v_qty -->>'||v_qty);
Exception
When Others Then
dbms_output.put_line(Substr(Sqlerrm, 1, 200));
End;

now the procedure is getting sucessfully compiled, and executed with no errors,

however i want to see the qty (v_qty and its always shown null) even though the record exists in the base table...

I am sorry as i cant post the data, but is this correct way of using in clause??

plz let me know, 

Nicloei W wrote:

Yes the handeler exception is too "manga."

It is simply the exception handler being fake - not "manga" or anything else. Everything simply false. DBMS_OUTPUT is used to 'show' error message of the exception (despite the fact that DBMS_OUTPUT doesn't really work like that). If you do not code a DBMS_OUTPUT it... the exception message is always displayed. But more precise and comprehensive - and correctly.

So what I don't understand is why write additional code like this for an exception handler, when NO code writing is better in all aspects? It is contains more details. It allows to determine the problem easier. And that's the right way to deal with the exceptions.

Lazy programmers are often good programmers - such as a minimal code is used to achieve the maximum benefits. So be lazy Nicloei... do not write code where code is not necessary. {noformat} :-) {noformat}

Yes, I understood your point of flexibility, but it never crossed my mind, I'm too lost in SAP now :-(, I'll go ahead and implement suggestions
given by you and whitehat

SAP is a big word... {noformat}) {noformat}

But doesn't matter how dirty it gets - always stick to the basics of the software engineering modularization and structured programming. It's the basics that helps a programmer, a good programmer.

Tags: Database

Similar Questions

  • Problem with paragraph styles.

    Hello

    I'm having a problem with a site paragraph styles. I created and applied h1, h2 tags etc. to help SEO and everything seemed to work very well so I went to other areas of the site. To revise accordingly the site I decided I want to change some of the tags, however paragraph styles, I created have disappeared since the paragraph style window.

    The problem I have now is that when I write the site the tags are still there in the html code. Is there a way to restore the paragraph currently on a site styles in the paragraph styles selection window?

    Thank you

    Hi jamesm66979926,

    I tried to reproduce your problem, but has been unable to reproduce.

    Please tell me the exact version of Muse with Build installed on your machine.

    To get it, go to file > help > about

    Kind regards

    Ankush;

  • Problems with paragraph styles in CS4?

    Let me start by saying that I recently switched from Quark, so I'm really a newbie in InDesign. I was watching videos as much as possible, but can't seem to find the answers to questions like that.

    I've been taking the old brochures that have been created in ID3 and sticky type and pictures in a new format that has been created in ID4. The new format has already created with the update fonts and other formatting paragraph styles as well.

    When I circulate in all the new type and click the style sheet, it does not change the correct font type and size, but there is in the paragraph of formats that are not updated. For example: the whole paragraph (according to the applied style) should be the book of Gotham, but even after you apply the style to it, part of it remains "BOLD" Gotham. He has been "BOLD" in the previous version of the document, but must be regular in this one.

    Why, when I apply the style, it does not the whole paragraph?

    I can think of a few possibilities, but the I would like to write specific instructions vary from one case to another. The find/replace menu is invaluable here. I could find everything he scored with a given character style and replace [none], replace by other layout specified shape or replace with a different character style that I could then remove. Note that when you delete a character style, you can choose to replace it with a different style of character or to preserve formatting after the character style has disappeared.

  • Problems of paragraph CS4 styles

    I had weird problems with paragraph styles in InDesign CS4, I've not had in CS2. The first weird problem that happened in a class project where somehow a style is stuck in the head of the program, so to speak, and any model, I try to apply by default to that stuck. It still occurs in that particular file, no matter what I try. The "blocked" style is actually not one of the styles that I ended by definition, so it must have been a point I tried to a certain point and then discarded. I tried to remove completely all the styles and start over, I tried to 'Break link to Style' before then trying to apply one of my styles... I always get stuck style.

    Then, I experiment me in a test document, with styles of work the way they are supposed to have SOME success and ran across another small problem: when I select a number of paragraphs to apply a numbered list, the numbers appear as they should. Then I click on the icon of the new style at the bottom of the styles palette to create a style based on that and the style label 'Style of paragraph 1' appears in the palette. As soon as I click on this style to open dialogue to rename it, all the numbers change to '1 '. And then if I try to apply the style to another series of selected paragraphs, they all are numbered '1' also. It works this way any numbering system, I use... all 'A' or 'I' or other.

    I already tried to uninstall and reinstall InDesign without result. I also tried to reset the InDesign preferences. I am unfortunately the glitchy things with Photoshop CS4 also experience. I have a fairly new iMac 24 "2.8 GHZ Intel Core 2 Duo with 4 G of Ram and running OSX 10.5.6. I bought the software supplied with the Design Premium Suite.

    The first problem is probably caused by your having a character applied to the text style. This can simplify the application of really confusing paragraph styles. Try now Option and shift keys when you click on the name of the paragraph style.

    The numbering problem is caused by your expects too much of a unique style. You have the style defined to start numbering at 1 instead of continuing from the previous. You can get with a unique on the latter if you never want to restart page numbering in a second list. But if you must restart a list then you will need at least two, one to start the numbering and the other to continue.

    There was a numbering of discussions here on these two topics.

    Dave

  • Problem with CS4 paragraph indentation styles

    Problem with CS4 paragraph indentation styles: specificities of the indentation suddenly APPEAR differently but reading the same thing (in the paragraph style palette) on page 5 to 6 and beyond. (He has no character style applied to text and no change to the page margins. The same master page is applied to all.) On page 5 when I pull the box down, the type is indented correctly, but when I flow on page 6, it goes to a different print and looks bad for the style.

    Both frames have the same applied object style? Have you checked text to overlay text block options?

  • Problem with styles of framework and the paragraph of text

    I have a book with a number of documents in it. In one of the documents, there is a problem with blocks of text and paragraph styles. When I create a new text frame, text in it and apply a paragraph style, the style does not apply correctly. Elements of applied and others do not. For example, bullets and numbered lists apply but italic, and font size are not. It only happens with new blocks of text, and the oldest work very well.

    This does not happen in other documents, just one.

    The book is properly synchronized and synchronization options include all options.

    Check your panels styles, paragraph, character and the object with nothing selected. If there is an already established style name, and I think that it would be in the Panel character styles, that's your problem.

    Bob

  • Problem with the paragraph in CS3 mac Styles

    I was wondering if anyone can help. I have a number of documents that have been created with paragraph styles by using a font that has disappeared from my machine. Now when I open my documents they look right. I changed the paragraph style in one of the documents to use a different font and now it looks fine, but all my other documents look bad. Is there anyway to set all my documents to use the updated paragraph style or will I have to change them all manually?

    There are several ways to go with this. We need to put all the files in a book,

    temporarily and being one with the correct as style definition the value the

    source, and then synchronize the paragraph styles. This will change all THE styles

    with the same names across all documents and add styles

    are present in the source, but not in any other files, so it's a bit

    risky, especially if any models are based on or [base

    Paragraph] itself is used in one of the files, and it is not already defined

    exactly the same thing in all the files.

    You can also open any file and go to the paragraph Styles Panel menu and

    Choose the command charger load styles, and then select the style you want to load, and how

    dealing with conflict (incoming use), which will give you more control over what

    is happening.

    Or whenever you open a file and get the warning of missing fonts, you can go

    Find font and select the missing font, then pcik your substitute, check the

    redefine the styles box, and then click all change. It would be probably the best

    choice since it is not the style names to make the correct changes.

  • Problems with pages.ect

    Hello everyone, I have a problem with the pages. After erasing my macbook air completely, I can't seem to get back them and it seems that I have to pay for it. What should I do to get back them.

    Thank you

    OS X App Store. Contact store support and start a conversation with them. This is a site to users, and we cannot do it for you.

    If you are connected to the OS X App Store and press the option key and tab buy, you have an option to download the Pages again? If not, then the first paragraph.

  • I had a few problems with the search engines and history

    My default search warning back to Yahoo after a reset on my computer. Close Firefox keep one to change but by restarting the computer, it takes.

    I can't open the sidebar history. The option "view the history of your" opens its tab fine (the drop-down menu that says 'Show History Sidebar', 'clear recent history... ("ect.). But, when you click on the "Show History Sidebar", nothing comes. Can I use the "Show history" option, but the sidebar does not open for some reason any.

    I just finished with a complete analysis of the Microsoft Safety Scanner and it said not that there is anything wrong. I have not reset the computer again to see if something has changed although after the factory reset (see the 2nd paragraph) it seems returned to Yahoo (search engine he kept going to happen).

    I open the history tab in the menu of the toolbar, and everything seems fine here. I also had him always use private off all first browsing mode. After activating the option clear history when Firefox closes, I ended up having to reset to factory settings (things he saves were saved isn't really a problem) that doesn't seem to fix the problem with the sidebar of history not to come.

  • Whenever I connect to my hotmail account using Windows Live, I get a warning, "there is a problem with this Web site's secure certificate. »

    original title: security

    Whenever I connect to my hotmail account using Windows Live, I get a warning, "there is a problem with this Web site's secure certificate. »

    Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.
      We recommend that you close this webpage and do not make this Web site.
      Click here to close this webpage.
      Continue to this website (not recommended).
     
    More information
    • If you arrived at this page by clicking a link, check the Internet address in the address bar to be sure this is the address you've been waiting for.
    • When you go to a Web site with an address as https://example.com, try to add the "www" in the address, https://www.example.com.
    • If you choose to ignore this error and continue, don't get personal information on the Web site.

      For more information, see "Certificate errors" in Internet Explorer Help.

    Some things you can try:

    You can have old certificates root on your computer.  Try to update your root certificates from the link provided in the paragraph "Root Update Package (intended for Windows XP only)" in the following article:

    "Members of the certificate program root Windows.
      <>http://support.Microsoft.com/kb/931125 >

    Depending on which version of Internet Explorer and Service Pack level of your machine, one of the following articles might help you:

    ' "There is a problem with the security certificate from the website" when you try to visit a secure in Internet Explorer Web site.
      <>0 http://support.Microsoft.com/kb/93185>

    "Certificate error Web page is displayed when you try to visit an SSL Web using Internet Explorer 7:"There is a problem with the security certificate from the Web site""
      <>http://support.Microsoft.com/kb/950067 >

    It is also possible that indeed, you will be redirected to a false site.  Check your file C:\Windows\System32\drivers\etc\hosts ensure that there is not a bogus entry for your hotmail login.  Generally, the only line that is required in this file does not begin with a character ' # ' is ' 127.0.0.1 localhost '.

    HTH,
    JW

  • I have problems with windows update

    Hello

    I have problems with the updates of the window.  I read install my window.  and start the update.  I update well until it installs the update for service pack 2. Once it restarts is said to check the updates, you must first install an update for the update of the window...

    When I click on install update of the stop and keep it on the research.  I have don

    ' t even use all the data.

    I already tried the Microsoft fix it and some troubleshooting aspiration which I met on the Microsoft site.
    (error trouble shoots)

    Windows update error 0x80072efd - not fixed

    recent update - no fixed installation issue.

    Can anyone help me please with her.

    Thank you

    Please provide a copy of your system information file. Type the system information in the search box above the Start button and press the ENTER key (alternative is select Start, all programs, accessories, System Tools, system information). Select file, Export and give the file a name noting where it is located. Not to place the cursor in the body of the report before exporting the file. The system creates a new information file system each time system information is available. You must allow a minute or two before the file is completely filled before exporting a copy. Please download the file to your OneDrive, to share with everyone and post a link here. Normal mode preferred report. Please say if the report was obtained in safe mode. If the report is in one language other than English, please indicate the language.

    Please download and share with everybody fresh copies of your System log and journal of the Application (two files) of your event viewer on your disc one and post a link here. You can delete any previous copies of your OneDrive records.

    To access the system, log, select Start, Control Panel, administrative tools, Event Viewer, in the list on the left of the window, expand Windows logs and select System. Place the cursor on the system, select the Action in the Menu and record all events like (the evtx default file type) and give a name to the file. Do the same for the application log. Do not offer not filtered files. Do not place the cursor in the list of reports before selecting the Action from the menu. Do not clear the logs so that you have a persistent problem.

    For assistance OneDrive see paragraph 9.3:
    http://www.gerryscomputertips.co.UK/MicrosoftCommunity1.htm

    General remarks on event viewer
    http://www.gerryscomputertips.co.UK/syserrors5.htm

  • Problems with my mouse, and have not been able to find a solution to the research on various forums.

    Original title: mouse problems

    I have problems with my mouse and have not been able to find a solution to the research on various forums. Here are the symptoms:

    1. you must click several times to get the menus to open. Sometimes they are not just and sometimes they open with a single click flash but do not stick until I clicked several times.

    2 several times the menu drop down and seem to become transparent (not in looks) because when I click on something on the menu, he actually selects everything that is behind the menu drop down. For example, if I'm in powerpoint and you select an item in edit mode, it might work and here again he can just select the slideview behind the menu and expand. Or well, if I'm on a Web site, such as Facebook, and I chose to close the session, rather than enable the disconnection of the key, he chooses some ad is behind the part of the menu and redirects the page of this Web site.

    3. when I try to select a Word, words or sections as paragraphs, it performs several different things: continually select as soon as I let go of the mouse button, the jumps of color selection in another part of the document, or deselects the part of the text before I even let go of the mouse button.

    Here is what I tried:

    1. I had originally a usb wireless mouse. I changed the batteries and then got a new. Now I use a wired mouse.

    2 make sure all updates for Windows and Office 2010 are updated.

    3 has tried to update the drivers mouse, says that it is up-to-date. He restored, did not work. Uninstalled and restarted.

    4 Ran Windows Security Essential and Malwarebytes - found nothing.

    5. ensure that all the Toshiba updates were up-to-date.

    I don't know how the word this issue properly in order to find information about it. Everything I typed in search engines brings me other problems unrelated to this one.

    I am running W7 64 x Home Premium SP1, SP2 MS 2010 with a mouse Dell; Toshiba Satellite C655

    Well I have stumbled on the fix... looks like there was a problem with the HID-compliant mouse. The convenience store hardware detected and solved the problem. Everything seems to work properly again.

  • A problem with the design of the

    Hi all

    Im a beginner with Adobe musejuste a few days ago, but actually I have my own experience with the design of Web sites!

    Today, I am facing a big problem with a Web site under creation!

    When I finished the first home page, home page, I saw that I missed something, wish is receptivity. in fact, I have not now what to do, there are a lot of rectangles and shapes and paragraphs!

    There is this white areas when I pull the horizontal bar on the left, even if I apply my rectangles stretching mode and mode fluid forms!

    and here's an example!

    When full screen mode:

    1.png

    reagent:

    4.png

    and this comes, even the green bar is under the stretch the width of the browser!

    3.png

    I have more problems with delicate design, such as duplication of paragraphs and the inability to convert the navigation bar, like a menu of stationary box etc...

    Please if you can help me, because this is sort of a first job for me!

    I'll wait for your help please!

    Thanks in advance,

    Success,

    Rabi.

    ArnoDHeros wrote:

    Well, thank you very much for your answer!

    I don't know, I ask just 3 days for the homepage, I don't think that I could delete it and stard frm zero!

    but tell me, if I skip this part, empty spaces, it will be a problem for phone users, when I converted to phone available?

    not a phone copy only the page names... you would be rebuild your site for phone (whichassumes that you're going to this option) in responive layout, the rules change

    ArnoDHeros wrote:

    on the navigation bar, how can I convert it responsve box like this:

    Reactive demonstration of Navigation or menu full screen! Note that the navigation is created by a button widget!

    This demonstration of navigation is made to the office and will not work on many phones, my nokia 520 running 8.1 does not open a part of this page in ie, but I use a mini web browser application that can open most of the page without it hambuger image

    When you design for the web don't just test your site on office or you will make common mistakes that other office users do... phones are different devices and they do not behave like a chewed down desktop screen.

  • Problem with the text block (text cut)

    Hello

    I have a problem with indesign (last CC version, I have upgradate today in the morning).

    I create a document with several pages and each page

    is a text box it and the text box are connected (the text content is broadcast through them).

    The text box are defined by a paragraph style, where I set the font style, color...

    I defined that the box can be 2 colunms and oviously, I also set betwin space columns.

    So the apears tex cut in the bottom text box and the rest of the blanks strages.

    I enclose a scrrenshot.

    Please, help me, I'm stacked in this disorder.

    Thnk

    EmilianoSchermata 2016-07-21 alle 16.48.59.png

    I find the solution.

    Yhe problem was in the style Panel,

    in the tab which, in Italian, is called 'options di separazione.

    I am enclosing a copy.

    Thank you all

  • Recent update is causing a problem with style on the leaves of masters

    Hello

    I've just updated Muse and I have another question with a master style sheet font and paragraph styles.


    The homepage looks like which is as it should be.  It has its own master page

    Home should look like this.png

    The other pages of the site look like this (see below) - the school text logo has been lost, the two missing buttons and the footer text of page is now black and not white and also is not justified and not centered but this arises out of the same master page.

    The only page that keeps the styling is the homepage.

    I tried to remove the text and styles of text by default re-adding, change - the only option would be to remove the main master page which I do not if it can be helped.

    About Us - looks like this.png

    I had this problem with the last update, but got around it by changing the default text styles - but that does not work now.

    I have 20 + sites set up like that.  I don't want to put hours of work into the sorting issues if it can be helped.

    Any information relating to this issue would be helpful

    Thank you


    Simon

    Hi Simon,.

    Please try to turn off 'IBE' (aka of editing in the browser) in the Panel "Advanced" dialog "Properties of the Site" within the Muse and the re - publish and check if that corrects the problem, the cause is something that we are aware and working on a fix for.

    Kind regards

    _Ankush

Maybe you are looking for