Help me with this very little PROCEDURE

create procedure Prueba as
begin
declare
total_u number;
begin
select count(*) into total from emp;
end;
end;
What I want is to count all the records and output it in the screen.
But it looks like it cannot be performed in a procedure...
is it possible?
thanks

Sorry, Ronald, but ALL of these examples work just fine.
sql>create or replace procedure test
  2  is
  3    v_count  number;
  4  begin
  5    select count(*)
  6      into v_count
  7      from emp;
  8     
  9    dbms_output.put_line( 'Total: ' || v_count );
10  end;
11  /
Procedure created.
sql>set serveroutput on
sql>exec test
Total: 14
PL/SQL procedure successfully completed.

Similar Messages

  • Please help me with this very basic question!

    Hi all,
    I m new to O/R mapping framework, my question is quite simple. Is iBatis an Object Relational Mapping technique? If it is, which one is better, iBatis or OJB?
    Thank your for your help!
    best regards

    Yes it is.
    "Which is better" is always a bad question. It depends how you intend to use them. Plus there are quite a lot of other ORM solutions, so even if one were objectively better than the other, it might still be a poor choice.

  • I want remove some dark spots on a hand and color it flesh color.  I'm very new to Lightroom, can anyone help me with this?  Thanks in advance for any help!

    I want remove some dark spots on a hand and color it flesh color.  I'm very new to Lightroom, can anyone help me with this?  Thanks in advance for any help!

    Have you tried the Spot Removal tool (press Q key)?
    New to Lightroom? Go here: Getting Started with Lightroom CC - YouTube
    Spot removal: Lightroom CC - Removing Dust Spots and Imperfections - YouTube

  • Help please with this

    Would one of you kind people be able to help me with this. I am almost tearing my hair out.
    This is what i want...
    a small form (table) that states this..
    Description:
    Browse:
    Upload evidence:
    In the description, a small little box so that a user can enter a small note.
    In the browse box, i would like it to go to C:\Program Files\Microsoft Games\Age of Empires II\Screenshots
    and finally, the upload evidence to be uploaded to a part on a ftp server... example /var/www/folder1/folder2
    any help would be amazing!!!!! Thankyou very much

    > even if it is just some kind of HTML code will do.
    Just so i can paste the code in a .txt and save as
    html, and make minor changes to it will do.
    thanks
    If you're looking for someone to write this for you, go here: http://www.rentacoder.com
    If you have a specific, Java-related question about some code you wrote, ask it here.

  • My search bar for my library no longer works. Also, the menu bar is no longer visible. Noticed this problem last Saturday. Can anyone help me with this?

    My search bar for my iTunes library no longer works. Also, the menu bar is no longer visible. Noticed this problem last Saturday. This might be an issue with my desktop, and not iTunes itself Can anyone help me with this?

    Press Ctrl-B to toggle the menu bar on and off.
    When you say that the "search bar for my iTunes library no longer works" can you be more specific?  The operation of the search function has changed in iTunes 12, essentially having two very distinct modes:
    when Search Entire Library is checked, entering a search string will generate a dropdown of all matching items within your whole library, from which multiple operations are available via context menus
    when Search Entire Library is unchecked, entering a search string creates a filtered view of whatever your current focus is (e.g., if you're looking at a playlist the filter applies only to items in that playlist) with none of the dropdown options as in the first case

  • Will Apple help me with this issue?

    Dear Sir or Madam,
    I am a student in China, I really need your help, my iphone now problems bothers me! HELP ME PLEASE!!!
    As I bought my iPhone 4s(16GB,White) in the USA from Sprint, full price with tax,  unlocked ,it was excepted to be a global phone. But now I come across with some problems in China  using local carrier.Now I am in China, not the normal use of the phone, I rely on odd jobs to earn, very not easy, English is not my mother tongue, maybe there are many grammatical mistakes, I hope you'll forgive me! Mobile phone can not be used normally I am very sad, I can not contact the parents and friends, can not let them worry about me, I've tried all means, including the upgrade to 6.1, but still can not solve the problem, I think maybe I am in China, so can not be used normally, at this moment I am very anxious, because of the time difference, it is later I can send mail, you can see it, please help me, a Chinese student's request!
    I tried all the possible solutions from the Internet, and the Official solution offered by Apple (http://support.apple.com/kb/TS4459), but it doesn't seem to work.
    Will Apple help me with this issue? Please do.THANK YOU VERY MUCH!!!

    We are not Apple, and Apple does not unlock phones. Sprint will unlock phones, but you have to qualify. One of the qualifications is to have been a customer in good standing for a period of time. You can check their website for what that is. After that, they can unlock the GSM side of the phone for International use, that is it. If you are on a CDMA carrier, then it cannot be unlocked. Are you trying to use a local SIM card in China?
    Your only option is to contact Sprint to see if you qualify for an unlock. Only they can unlock it. Sprint is one of the poorest choices to take to another country.

  • I will pay for who can help me with this applet

    Hi!, sorry for my english, im spanish.
    I have a big problem with an applet:
    I�ve make an applet that sends files to a FTP Server with a progress bar.
    Its works fine on my IDE (JBuilder 9), but when I load into Internet Explorer (signed applet) it crash. The applet seems like blocked: it show the screen of java loading and dont show the progress bar, but it send the archives to the FTP server while shows the java loading screen.
    I will pay with a domain or with paypal to anyone who can help me with this problematic applet. I will give my code and the goal is only repair the applet. Only that.
    My email: [email protected]
    thanks in advance.
    adios!

    thaks for yours anwswers..
    harmmeijer: the applet is signed ok, I dont think that is the problem...
    itchyscratchy: the server calls are made from start() method. The applet is crashed during its sending files to FTP server, when finish, the applet look ok.
    The class I use is FtpBean: http://www.geocities.com/SiliconValley/Code/9129/javabean/ftpbean/
    (I test too with apache commons-net, and the same effect...)
    The ftp is Filezilla in localhost.
    This is the code, I explain a little:
    The start() method calls iniciar() method where its is defined the array of files to upload, and connect to ftp server. The for loop on every element of array and uploads a file on subirFichero() method.
    Basicaly its this.
    The HTML code is:
    <applet
           codebase = "."
           code     = "revelado.Upload.class"
           archive  = "revelado.jar"
           name     = "Revelado"
           width    = "750"
           height   = "415"
           hspace   = "0"
           vspace   = "0"
           align    = "middle"
         >
         <PARAM NAME="usern" VALUE="username">
         </applet>
    package revelado;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    import java.io.*;
    import javax.swing.border.*;
    import java.net.*;
    import ftp.*;
    public class Upload
        extends Applet {
      private boolean isStandalone = false;
      JPanel jPanel1 = new JPanel();
      JLabel jLabel1 = new JLabel();
      JLabel jlmensaje = new JLabel();
      JLabel jlarchivo = new JLabel();
      TitledBorder titledBorder1;
      TitledBorder titledBorder2;
      //mis variables
      String DIRECTORIOHOME = System.getProperty("user.home");
      String[] fotos_sel = new String[1000]; //array of selected images
      int[] indice_tamano = new int[1000]; //array of sizes
      int[] indice_cantidad = new int[1000]; //array of quantitys
      int num_fotos_sel = 0; //number of selected images
      double importe = 0; //total prize
      double[] precios_tam = {
          0.12, 0.39, 0.60, 1.50};
      //prizes
      String server = "localhost";
      String username = "pepe";
      String password = "pepe01";
      String nombreusuario = null;
      JProgressBar jProgreso = new JProgressBar();
      //Obtener el valor de un par�metro
      public String getParameter(String key, String def) {
        return isStandalone ? System.getProperty(key, def) :
            (getParameter(key) != null ? getParameter(key) : def);
      //Construir el applet
      public Upload() {
      //Inicializar el applet
      public void init() {
        try {
          jbInit();
        catch (Exception e) {
          e.printStackTrace();
      //Inicializaci�n de componentes
      private void jbInit() throws Exception {
        titledBorder1 = new TitledBorder("");
        titledBorder2 = new TitledBorder("");
        this.setLayout(null);
        jPanel1.setBackground(Color.lightGray);
        jPanel1.setBorder(BorderFactory.createEtchedBorder());
        jPanel1.setBounds(new Rectangle(113, 70, 541, 151));
        jPanel1.setLayout(null);
        jLabel1.setFont(new java.awt.Font("Dialog", 1, 16));
        jLabel1.setText("Subiendo archivos al servidor");
        jLabel1.setBounds(new Rectangle(150, 26, 242, 15));
        jlmensaje.setFont(new java.awt.Font("Dialog", 0, 10));
        jlmensaje.setForeground(Color.red);
        jlmensaje.setHorizontalAlignment(SwingConstants.CENTER);
        jlmensaje.setText(
            "Por favor, no cierre esta ventana hasta que termine de subir todas " +
            "las fotos");
        jlmensaje.setBounds(new Rectangle(59, 49, 422, 30));
        jlarchivo.setBackground(Color.white);
        jlarchivo.setBorder(titledBorder2);
        jlarchivo.setHorizontalAlignment(SwingConstants.CENTER);
        jlarchivo.setBounds(new Rectangle(16, 85, 508, 24));
        jProgreso.setForeground(new Color(49, 226, 197));
        jProgreso.setBounds(new Rectangle(130, 121, 281, 18));
        jPanel1.add(jlmensaje, null);
        jPanel1.add(jlarchivo, null);
        jPanel1.add(jProgreso, null);
        jPanel1.add(jLabel1, null);
        this.add(jPanel1, null);
        nombreusuario = getParameter("usern");
      //Iniciar el applet
      public void start() {
        jlarchivo.setText("Start() method...");
        iniciar();
      public void iniciar() {
        //init images selected array
        fotos_sel[0] = "C:/fotos/05160009.JPG";
        fotos_sel[1] = "C:/fotos/05160010.JPG";
        fotos_sel[2] = "C:/fotos/05160011.JPG";
         // etc...
         num_fotos_sel=3; //number of selected images
        //conectar al ftp (instanciar clase FtpExample)
        FtpExample miftp = new FtpExample();
        miftp.connect();
        //make the directory
         subirpedido(miftp); 
        jProgreso.setMinimum(0);
        jProgreso.setMaximum(num_fotos_sel);
        for (int i = 0; i < num_fotos_sel; i++) {
          jlarchivo.setText(fotos_sel);
    jProgreso.setValue(i);
    subirFichero(miftp, fotos_sel[i]);
    try {
    Thread.sleep(1000);
    catch (InterruptedException ex) {
    //salida(ex.toString());
    jlarchivo.setText("Proceso finalizado correctamente");
    jProgreso.setValue(num_fotos_sel);
    miftp.close();
    //Detener el applet
    public void stop() {
    //Destruir el applet
    public void destroy() {
    //Obtener informaci�n del applet
    public String getAppletInfo() {
    return "Subir ficheros al server";
    //Obtener informaci�n del par�metro
    public String[][] getParameterInfo() {
    return null;
    //sube al ftp (a la carpeta del usuario) el archivo
    //pedido.txt que tiene las lineas del pedido
    public void subirpedido(FtpExample miftp) {
    jlarchivo.setText("Iniciando la conexi�n...");
    //make folder of user
    miftp.directorio("www/usuarios/" + nombreusuario);
    //uploads a file
    public void subirFichero(FtpExample miftp, String nombre) {
    //remote name:
    String nremoto = "";
    int lr = nombre.lastIndexOf("\\");
    if (lr<0){
    lr = nombre.lastIndexOf("/");
    nremoto = nombre.substring(lr + 1);
    String archivoremoto = "www/usuarios/" + nombreusuario + "/" + nremoto;
    //upload file
    miftp.subir(nombre, archivoremoto);
    class FtpExample
    implements FtpObserver {
    FtpBean ftp;
    long num_of_bytes = 0;
    public FtpExample() {
    // Create a new FtpBean object.
    ftp = new FtpBean();
    // Connect to a ftp server.
    public void connect() {
    try {
    ftp.ftpConnect("localhost", "pepe", "pepe01");
    catch (Exception e) {
    System.out.println(e);
    // Close connection
    public void close() {
    try {
    ftp.close();
    catch (Exception e) {
    System.out.println(e);
    // Go to directory pub and list its content.
    public void listDirectory() {
    FtpListResult ftplrs = null;
    try {
    // Go to directory
    ftp.setDirectory("/");
    // Get its directory content.
    ftplrs = ftp.getDirectoryContent();
    catch (Exception e) {
    System.out.println(e);
    // Print out the type and file name of each row.
    while (ftplrs.next()) {
    int type = ftplrs.getType();
    if (type == FtpListResult.DIRECTORY) {
    System.out.print("DIR\t");
    else if (type == FtpListResult.FILE) {
    System.out.print("FILE\t");
    else if (type == FtpListResult.LINK) {
    System.out.print("LINK\t");
    else if (type == FtpListResult.OTHERS) {
    System.out.print("OTHER\t");
    System.out.println(ftplrs.getName());
    // Implemented for FtpObserver interface.
    // To monitor download progress.
    public void byteRead(int bytes) {
    num_of_bytes += bytes;
    System.out.println(num_of_bytes + " of bytes read already.");
    // Needed to implements by FtpObserver interface.
    public void byteWrite(int bytes) {
    //crea un directorio
    public void directorio(String nombre) {
    try {
    ftp.makeDirectory(nombre);
    catch (Exception e) {
    System.out.println(e);
    public void subir(String local, String remoto) {
    try {
    ftp.putBinaryFile(local, remoto);
    catch (Exception e) {
    System.out.println(e);
    // Main
    public static void main(String[] args) {
    FtpExample example = new FtpExample();
    example.connect();
    example.directorio("raul");
    example.listDirectory();
    example.subir("C:/fotos/05160009.JPG", "/raul/foto1.jpg");
    //example.getFile();
    example.close();

  • My toshiba satellite e105-s1802 do not recognized my a4tech pocket usb hub pls help me with this?

    my toshiba satellite e105-s1802 do not recognized my a4tech pocket usb hub pls help me with this?

    I AM HAVING THE SAME PROBLEM WITH THE SAME MODEL. I GOT THE SERVICE
    MANUAL AND I'M THINKING TO OPEN IT AND SEE IF THERE'S SOME PHYSICAL BAD CONNECTION
    INSIDE. BUT LIKE YOU SAID.  IT'S ONLY THREE MONTHS OLD.!!! I DON'T WANT TO RUIN THE WARRANTEE.
    BUT THIS IS VERY FRUSTATING. I WANDER IF TOSHIBA DOES THIS ON PURPUSE.!!! KEEP IN TOUCH AND
    IF YOU NEED THE SERVICE MANUAL CONTACT ME AT [email protected]
          THANK YOU.!!!!

  • After a few minutes on safari it freezes everything i can't even force quit i have to shut off by holding the power button down please help me with this. thanks

    everything freezes i can't even force quit i have to shut off by holding the power button down please help me with this. thanks

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Please help me with this statement

    Hi gurus, glad to be back!
    Please help me with this XML processing statement. The XMl I get is like this,
    <EnumerationValue description="Motor Carriers-Operate w/o Certificate or Permit"
    effectiveDate="1859-01-01">
              <Text>26</Text>
              <AssociatedValue type="SeverityLevelText" code="MSD">
                   <Text>Misdemeanor</Text>
              </AssociatedValue>
              <AssociatedValue type="SeverityLevelText" code="PMD">
                   <Text>Petty Misdemeanor</Text>
              </AssociatedValue>
              <AssociatedValue type="StatuteOrdinanceRuleCite">
                   <Text>221.291.4</Text>
              </AssociatedValue>
    I need to get the number value from <Text>26</Text>, the attribute description and the text value of <Text>221.291.4</Text> inside one of those AssociatedValue node. The following is what I have, though I get the 26, I do not get the description and I get the Misdemeanor, Petty Misdemeanor concatenated with the text value of <Text>221.291.4</Text>. The output I get is this,
    26
    MisdemeanorPetty Misdemeanor221.291.4MisdemeanorPe
    4
    MisdemeanorPetty Misdemeanor221.291.4MisdemeanorPe
    My Code:
    declare
         v_xml sys.xmltype;
         v_sid     number;
         v_SText     varchar2(50);
    begin
         v_xml := sys.xmltype('<SimpleTypeCompanion>
              <EnumerationValue description="Motor Carriers-Operate w/o Certificate or Permit" effectiveDate="1859-01-01">
              <Text>26</Text>
              <AssociatedValue type="SeverityLevelText" code="MSD">
                   <Text>Misdemeanor</Text>
              </AssociatedValue>
              <AssociatedValue type="SeverityLevelText" code="PMD">
                   <Text>Petty Misdemeanor</Text>
              </AssociatedValue>
              <AssociatedValue type="StatuteOrdinanceRuleCite">
                   <Text>221.291.4</Text>
              </AssociatedValue>
         </EnumerationValue>
         <EnumerationValue description="Police Communication Equipment-Possession, Use-First Offense-M" effectiveDate="1859-01-01">
         <Text>4</Text>
         <AssociatedValue type="SeverityLevelText" code="MSD">
              <Text>Misdemeanor</Text>
         </AssociatedValue>
         <AssociatedValue type="SeverityLevelText" code="PMD">
              <Text>Petty Misdemeanor</Text>
         </AssociatedValue>
         <AssociatedValue type="StatuteOrdinanceRuleCite">
              <Text>299C.37.1(b)</Text>
         </AssociatedValue>
         </EnumerationValue>
         </SimpleTypeCompanion>');
         ---dbms_output.put_line(v_xml.getStringVal());
         declare
              cursor c_statutes is
              select ms.* from
              xmltable('for $s in /SimpleTypeCompanion/EnumerationValue/Text
                   let $sa := /SimpleTypeCompanion/EnumerationValue/AssociatedValue
                   let $sd := /SimpleTypeCompanion/EnumerationValue/@description
                   where $sa/@type = "StatuteOrdinanceRuleCite"
                   return
                        <MyStatutes>
                             <TextID>{$s}</TextID>
                             <SDesc>{$sd/@description}</SDesc>
                             <StatuteNumber>{$sa/Text}</StatuteNumber>
                        </MyStatutes>'
                   passing v_xml
                   columns
                   myTextID     number path '/MyStatutes/TextID',
                   mySDesc          varchar2(150) path '/MyStatutes/SDesc',     
                   myStatute     varchar2(50)     path '/MyStatutes/StatuteNumber'
              ) ms;
         begin
              for v_s in c_statutes loop
                   dbms_output.put_line(v_s.myTextID);
                   dbms_output.put_line(v_s.MySDesc);
                   dbms_output.put_line(v_s.myStatute);
              end loop;
         end;
    end;
    Please show me the correct way to get the result I want.
    Thanks a lot!
    Ben

    SQL>  var xmltext varchar2(4000)
    SQL> --
    SQL> begin
      2    :xmltext :=
      3  '<SimpleTypeCompanion>
      4     <EnumerationValue description="Motor Carriers-Operate w/o Certificate or Permit" effectiveDate="1859-01-01">
      5             <Text>26</Text>
      6             <AssociatedValue type="SeverityLevelText" code="MSD">
      7                     <Text>Misdemeanor</Text>
      8             </AssociatedValue>
      9             <AssociatedValue type="SeverityLevelText" code="PMD">
    10                     <Text>Petty Misdemeanor</Text>
    11             </AssociatedValue>
    12             <AssociatedValue type="StatuteOrdinanceRuleCite">
    13                     <Text>221.291.4</Text>
    14             </AssociatedValue>
    15     </EnumerationValue>
    16     <EnumerationValue description="Police Communication Equipment-Possession, Use-First Offense-M" effectiveDate="1859-01-01">
    17             <Text>4</Text>
    18             <AssociatedValue type="SeverityLevelText" code="MSD">
    19                     <Text>Misdemeanor</Text>
    20             </AssociatedValue>
    21             <AssociatedValue type="SeverityLevelText" code="PMD">
    22                     <Text>Petty Misdemeanor</Text>
    23             </AssociatedValue>
    24             <AssociatedValue type="StatuteOrdinanceRuleCite">
    25                     <Text>299C.37.1(b)</Text>
    26             </AssociatedValue>
    27     </EnumerationValue>
    28  </SimpleTypeCompanion>';
    29  end;
    30  /
    PL/SQL procedure successfully completed.
    SQL> set lines 150
    SQL> --
    SQL> select ms.*
      2    from xmltable
      3         (
      4           '/SimpleTypeCompanion/EnumerationValue'
      5           passing xmltype(:xmltext)
      6           columns
      7           DESCRIPTION            varchar2(32) path '@description',
      8           STATUTE_ID             number(2) path 'Text/text()',
      9           STATUTE_RULE_CITE      varchar2(16) path 'AssociatedValue[@type="StatuteOrdinanceRuleCite"]/Text/text()',
    10           MSD_TEXT               varchar2(10) path 'AssociatedValue[@code="MSD"]/Text/text()',
    11           PMD_TEXT               varchar2(10) path 'AssociatedValue[@code="PMD"]/Text/text()'
    12        ) ms
    13  /
    DESCRIPTION                      STATUTE_ID STATUTE_RULE_CIT MSD_TEXT   PMD_TEXT
    Motor Carriers-Operate w/o Certi         26 221.291.4        Misdemeano Petty Misd
    Police Communication Equipment-P          4 299C.37.1(b)     Misdemeano Petty Misd
    SQL>
    SQL>

  • Please help me with this strange problem again!

    Hi gurus,
    I can't, for the life of me, figure out why this does not work in a procedure but works in an anonimous block.
    The XML is like this (part of it),
    <CaseNotification messageProducedDateTime="2005-07-20T13:58:11-05:00" xmlns="http://www.courts.state.mn.us/CourtXML/2.0.0">
                   <NotificationAdminHeader caseNumberKey="87CR0569" xmlns="http://www.courts.state.mn.us/CourtXML/2.0.0">
                        <CaseCountyIdentifier>87</CaseCountyIdentifier>
                        <CaseLocationText>Yellow Medicine County</CaseLocationText>
                        <BaseCaseTypeText>Adult</BaseCaseTypeText>
                        <CaseCategoryText>Criminal</CaseCategoryText>
                        <PartyIdentifier partyKey="854">
                             <PartyCaseAssociationText>Jurisdiction</PartyCaseAssociationText>
                        </PartyIdentifier>
                        <PartyIdentifier partyKey="123637">
                             <PartyCaseAssociationText>Defendant</PartyCaseAssociationText>
                        </PartyIdentifier>
                   </NotificationAdminHeader>
                   <InterimConditionsNotification>
                        <TriggeredDateTime>2005-07-20T13:57:53-05:00</TriggeredDateTime>
                        <NotificationEvent>InterimConditionsDeleted</NotificationEvent>
                        <InterimConditionsOrder orderEventKey="1760110">
                             <OrderDate>2005-07-20</OrderDate>
                             <OrderedBy judgeKey="00001J">
                                  <JudgeName>
                                       <PersonGivenName>John</PersonGivenName>
                                       <PersonMiddleName>P.</PersonMiddleName>
                                       <PersonSurName>Smith</PersonSurName>
                                       <PersonFullName>Smith, John P.</PersonFullName>
                                  </JudgeName>
                                  <JudicialAgencyIdentifier>MN011015J</JudicialAgencyIdentifier>
                             </OrderedBy>
                             <CourtCaseNumber documentVersion="1" effectiveDateTime="2005-06-06T00:00:00-06:00">
                                  <MNCISCaseNumber>
                                       <CountyNumber>87</CountyNumber>
                                       <CaseType>CR</CaseType>
                                       <YearFiled>05</YearFiled>
                                       <SequenceNumber>69</SequenceNumber>
                                  </MNCISCaseNumber>
                                  <CaseNumberIdentifier caseNumberKey="87CR0569">87-CR-05-69</CaseNumberIdentifier>
                             </CourtCaseNumber>
                             <ConditionSubject>
                                  <Party partyKey="123637" currentNameIndicator="true">
                                       <StandardName>
                                            <PersonGivenName>Clanry</PersonGivenName>
                                            <PersonSurName>Ogavitz</PersonSurName>
                                            <PersonFullName>Ogavitz, Clanry</PersonFullName>
                                       </StandardName>
                                       <PartyCaseAssociationText>Defendant</PartyCaseAssociationText>
                                  </Party>
                             </ConditionSubject>
                             <InterimConditions>
                                  <InterimConditionText>Anger management</InterimConditionText>
                                  <InterimConditionAmount>0</InterimConditionAmount>
                             </InterimConditions>
                             <InterimConditions>
                                  <InterimConditionText>Attend AA (Alcoholics Anonymous)</InterimConditionText>
                                  <InterimConditionAmount>5000</InterimConditionAmount>
                             </InterimConditions>
                        </InterimConditionsOrder>
                   </InterimConditionsNotification>
              </CaseNotification>
    The code is basically the same except that in the procedure the passing clause gets a differnt param, which is the passed in param from the procedure.
    xmltable
                             xmlnamespaces
                             ---     'http://schemas.xmlsoap.org/soap/envelope/' as "saop",
                                  'http://www.courts.state.mn.us/CourtXML/2.0.0' as "ic"
                             'for $ics in //ic:CaseNotification/ic:InterimConditionsNotification/ic:InterimConditionsOrder[@orderEventKey = $val/oeKey]/ic:InterimConditions
                             return
                             <ic:ICS>                    
                                  <ic:ICSText>{$ics/ic:InterimConditionText}</ic:ICSText>
                                  <ic:ICSAmount>{$ics/ic:InterimConditionAmount}</ic:ICSAmount>
                             </ic:ICS>'
                             passing p_XMLDoc, xmlelement("oeKey", v_OEKey) as "val"
                             columns               
                             ICSText          varchar2(100)      path '/ic:ICS/ic:ICSText',
                             ICSAmount     number           path '/ic:ICS/ic:ICSAmount'
    The strange thing is the procedure gets the ic:ICSText with the namespace value, which is http://www.courts.state.mn.us/CourtXML/2.0.0, so the finaly result is
    the whole thing: <InterimConditionText xmlns="http://www.courts.state.mn.us/CourtXML/2.0.0">Anger management</InterimConditionText>.
    I get the correct values when testing with the anonimous code!
    What did I do wrong? Please help!
    Thank you.
    Ben

    Hi gurus,
    OK, I did another test. I ran the same PL/SQL anonymous block that gets the correct element value in 10.2.0.3.0 and it gets the same wrong value: the element name plus the namespace value and the data itself. It gets the correct element value in 10.2.0.1.0 (my local database).
    Could anyone help me with this?
    Thanks!
    Ben

  • HT1933 I am facing problems with mails after update iPhone 4S/io7. I have configured yahoo mail in iPhone 4S. When I click on refresh, it shows new mail downloaded but when I go inside inbox the new mail don't show up. Can anyone help me with this iOS 7 i

    I am facing problems with mails after update iPhone 4S/io7. I have configured yahoo mail in iPhone 4S. When I click on refresh, it shows new mail downloaded but when I go inside inbox the new mail don't show up. Can anyone help me with this iOS 7 issue ?

    Hi were you able to resolve yours?
    I was very worried losing all my medical stuff on my iPad Air 2, plus i have nothing to use for the next day! So i have to try all the possible things i read on the internet!! And this worked on my part (Thank God, and thank you Google)
    Perform a hard reboot
    Hold down the Home button and Power button on your iPhone or iPad and keep holding them until you see the Apple logo. Once you do, you can let go. When your device boots back up, go ahead and check to see if the apps have started re-downloading. If they still appear to be stuck, continue on.

  • HT201487 i have a problem with xcode programming app when i lunch to it it asking me to enter my password and when i enter it the program show that it is wrong but am 100% sure it's wright so please help me with this issue thanks

    i have a problem with xcode programming app when i lunch to it it asking me to enter my password and when i enter it the program show that it is wrong but am 100% sure it's wright so please help me with this issue thanks

    That's not very intuitive
    Check your mail server setup (mail>preferences>accounts>) choose your MobileMe account and select Outgoing Mail Server (SMTP) dropdown box, select Edit SMTP server list, verify that each instance of the me server has a password, if there are more than one and you only have one account then delete the one without a password.

  • I'm sure someone can help me with this...

    Please help me with this, I'd like to have it resolved before going away and I need to check my email offsite. If you need any more info just tell me.
    I have several folders where new mail is placed according to rules (i.e. Work, Family). How can I sync Mail so it updates the messages in my .Mac mail account so i can read them online too? Currently, messages that are filtered using Mail do not appear in my .Mac mail account when I am away from my home computer. It's very frustrating. Please help. Thanks.

    Hi Naomi
    Make sure that, when you set up the mailbox in .Mail, you create it as a subfolder of your .Mac account. By default, that will then create the folder on the .Mac servers - not on your computer as I believe is currently the case.
    A mailbox/folder on .Mac (which will be readable in webmail) appears in Mail within a "globe" icon.
    A mailbox/folder on your computer appears as a normal "folder" icon.
    You can move a local folder onto the server by dragging and dropping it on top of the .Mac inbox.
    Hope that helps
    Matt

  • Yesterday for the first time i turned on my macpro 2011 model and i got a crazy gray screen with lines all over it ,so i held down the power button and turn off then restarted and all was ok could someone help me with this,what caused this shut down. werd

    yesterday for the first time i turned on my macpro 2011 model and i got a crazy gray screen with lines all over it ,so i held down the power button and turn off then restarted and all was ok could someone help me with this,what caused this shut down. werd

    Are the lines like psychedelic herringbone?  If yes, I had that happen once, it was something serious, like the
    Logic board. The good news is that it was fixed without any loss of data on the hard drive. Take it in to have Apple look at it ASAP.  I took it to TekServe at the time, they are very nice about preserving your data and user library when possible.
    Good luck and don't panic.

Maybe you are looking for

  • Easy question: Give access to a class in another class.

    Stupid title, but dont know how to express myself :P Sorry for that. To the problem. Never had this problem before, and I know its a really easy solution to this. I have my Main class, which creates a MyView class. Inside this class, I make to new cl

  • Broadband dropping constantly, poor speeds, poor s...

    Hi Can anyone help - I had a new line and hub in Dec 2009.  The broadband speed has never been brilliant but since Feb 2010 it has been awful.  It is so bad my email's don't load and nor does my home page.   5 out of 7 days I am unable to connect to

  • Where does the second page of PREVIEW CONTRACT come from?

    I am using 11.5.10.2, and I would like to know where the second page of PDF output comes from when I select PREVIEW CONTRACT from the VIEW CONRACT TERMS window. It does not appear to be part of the layout template named "PO Terms and Conditions". It

  • String.concat() vs + operator in strings concatenations

    Whats the difference between String.concat() and + operator in strings concatenation? I cant find any functional one. Are there any performance differences? Thanks

  • Trouble removing photos from iPad

    I'm having trouble removing photos from my iPad2 running iOS 5.0.1. In iTunes I've told it not to sync ANY photos. When I first changed this it asked me if I wanted to remove the photos currently there, I said yes and they disappeared. But when it fi