Store procedure which get list of values separated by semicolon and return result set as a string semicolon separated strin

Hello,
I am trying to make stored procedure in what i am getting i_group_id  as a list of groups seprated by semicoln like 1,2,14,17,23.
And i want list of emails based on that group. And result set will be as a list of emails seprated by semicolon.
Can anybody please help me for that. Thanks in advance.
PROCEDURE get_groups_email(i_group_id    IN VARCHAR2,
                           x_group_email_dtl_cur OUT resultcur)
IS
x_group_email VARCHAR2(4000):=NULL;
BEGIN                            
   FOR i IN (SELECT   TRIM(emp.email) email
               FROM   ems.employee emp,
                      ems.groups_employee egrp
              WHERE   egrp.group_id IN (i_group_id)
                AND   emp.person_id = egrp.person_id) LOOP
    x_group_email:= x_group_email || i.email ||';';
  END LOOP;
  x_group_email := RTRIM(x_group_email,';');
   OPEN x_group_email_dtl_cur FOR  
     SELECT   x_group_email
       FROM   DUAL;  
DBMS_OUTPUT.PUT_LINE('x_group_email:' || x_group_email);                                        
END get_groups_email;
PROCEDURE get_groups_email(i_group_id    IN VARCHAR2,
                           x_group_email_dtl_cur OUT resultcur)
IS
x_group_email VARCHAR2(4000):=NULL;
BEGIN                            
   FOR i IN (SELECT   TRIM(emp.email) email
               FROM   ems.employee emp,
                      ems.groups_employee egrp
              WHERE   egrp.group_id IN (i_group_id)
                AND   emp.person_id = egrp.person_id) LOOP
    x_group_email:= x_group_email || i.email ||';';
  END LOOP;
  x_group_email := RTRIM(x_group_email,';');
   OPEN x_group_email_dtl_cur FOR  
     SELECT   x_group_email
       FROM   DUAL;  
DBMS_OUTPUT.PUT_LINE('x_group_email:' || x_group_email);                                        
END get_groups_email;

>
Can anybody please help me for that
>
Not in this forum they can't. This forum, as the title says, is for SQL Developer questions only.
Please mark this question ANSWERED and repost it in the SQL and PL/SQL forum
https://forums.oracle.com/community/developer/english/oracle_database/sql_and_pl_sql

Similar Messages

  • Store procedure which get list of values separated by semicolon and return result set as a string semicolon separated string

    Hello,
    I am trying to make stored procedure in what i am getting i_group_id  as a list of groups seprated by semicoln like 1,2,14,17,23.
    And i want list of emails based on that group. And result set will be as a list of emails seprated by semicolon.
    If you know how to install that in stored procedure please help me. Appreciate your help.
    Thanks.
    PROCEDURE get_groups_email(i_group_id    IN VARCHAR2,
                               x_group_email_dtl_cur OUT resultcur)
    IS
    x_group_email VARCHAR2(4000):=NULL;
    BEGIN                           
       FOR i IN (SELECT   TRIM(emp.email) email
                   FROM   ems.employee emp,
                          ems.groups_employee egrp
                  WHERE   egrp.group_id IN (i_group_id)
                    AND   emp.person_id = egrp.person_id) LOOP
        x_group_email:= x_group_email || i.email ||';';
      END LOOP;
      x_group_email := RTRIM(x_group_email,';');
       OPEN x_group_email_dtl_cur FOR 
         SELECT   x_group_email
           FROM   DUAL; 
    DBMS_OUTPUT.PUT_LINE('x_group_email:' || x_group_email);                                       
    END get_groups_email;
    PROCEDURE get_groups_email(i_group_id    IN VARCHAR2,
                               x_group_email_dtl_cur OUT resultcur)
    IS
    x_group_email VARCHAR2(4000):=NULL;
    BEGIN                           
       FOR i IN (SELECT   TRIM(emp.email) email
                   FROM   ems.employee emp,
                          ems.groups_employee egrp
                  WHERE   egrp.group_id IN (i_group_id)
                    AND   emp.person_id = egrp.person_id) LOOP
        x_group_email:= x_group_email || i.email ||';';
      END LOOP;
      x_group_email := RTRIM(x_group_email,';');
       OPEN x_group_email_dtl_cur FOR 
         SELECT   x_group_email
           FROM   DUAL; 
    DBMS_OUTPUT.PUT_LINE('x_group_email:' || x_group_email);                                       
    END get_groups_email;

    1013527 wrote:
    I am using Oracle 9.7.2. Not 11g.
    No Database at hand to provide a working example.
    So use http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:73830657104020 to split your list into rows.
    Join that to your table of e-mail addresses
    then take a look at http://www.sqlsnippets.com/en/topic-11787.html maybe chosing http://www.sqlsnippets.com/en/topic-12087.html
    and you're done.
    Regards
    Etbin
    something to play with (still NOT TESTED!)
    with
    e_mails as
    (select 1 user_id,'alpha' || chr(64) || 'domain.eu' e_mail from dual union all
    select 2,'beta' || chr(64) || 'domain.eu' from dual union all
    select 3,'gamma' || chr(64) || 'domain.eu' from dual union all
    select 4,'delta' || chr(64) || 'domain.eu' from dual union all
    select 5,'epsilon' || chr(64) || 'domain.eu' from dual union all
    select 6,'zeta' || chr(64) || 'domain.eu' from dual union all
    select 7,'eta' || chr(64) || 'domain.eu' from dual union all
    select 8,'theta' || chr(64) || 'domain.eu' from dual union all
    select 9,'iota' || chr(64) || 'domain.eu' from dual union all
    select 10,'kappa' || chr(64) || 'domain.eu' from dual union all
    select 11,'lambda' || chr(64) || 'domain.eu' from dual union all
    select 12,'mu' || chr(64) || 'domain.eu' from dual union all
    select 13,'nu' || chr(64) || 'domain.eu' from dual union all
    select 14,'xi' || chr(64) || 'domain.eu' from dual union all
    select 15,'omicron' || chr(64) || 'domain.eu' from dual union all
    select 16,'pi' || chr(64) || 'domain.eu' from dual union all
    select 17,'rho' || chr(64) || 'domain.eu' from dual union all
    select 18,'sigma' || chr(64) || 'domain.eu' from dual union all
    select 19,'tau' || chr(64) || 'domain.eu' from dual union all
    select 20,'upsilon' || chr(64) || 'domain.eu' from dual union all
    select 21,'phi' || chr(64) || 'domain.eu' from dual union all
    select 22,'chi' || chr(64) || 'domain.eu' from dual union all
    select 23,'psi' || chr(64) || 'domain.eu' from dual union all
    select 24,'omega' || chr(64) || 'domain.eu' from dual
    groups as
    (select 1 g_id,'1,15,21,17' members from dual union all
    select 2,'23,10,3,20,7,23,15,9' from dual union all
    select 3,'3,4,5,6,7,8' from dual union all
    select 4,'23,24,15,16,7,18' from dual
    select g_id,
           substr(sys_connect_by_path(e_mail,';'),2) e_mail_list
      from (select g.g_id,
                   e.e_mail,
                   row_number() over (partition by g.g_id order by e.user_id) rn
              from e_mails e,
                   groups g
             where instr(','||g.members||',',','||to_char(e.user_id)||',') > 0
               and instr(','||:group_list||',',','||to_char(g.g_id)||',') > 0
    where connect_by_isleaf = 1
    start with rn = 1
    connect by rn = prior rn + 1
            and g_id = prior g_id
    Message was edited by: Etbin provided a small example

  • Procedure that checks for a value in the database and returns related info

    Hi Everyone,
    I need to create a stored procedure that takes customer info(any of these fname,lname,id,email etc) and looks for it in the database and displays the customer info of that particular customer(kinda search engine).
    I have to use dynamic sql and sql injection.Can anyone give me a brief idea from where to start.Thankyou.

    create or replace procedure pro_customer(p_customer_id number, p_customer out customer%rowtype) is
    begin
    select *
    into p_customer
    from customer
    where customer_id = p_customer_id;
    end pro_customer;
    the names,keys and others are invented

  • Procedure to take inpot data set and return result set

    Hi all,
    I have a situation where there will be one "standard" set of data (source_data below) and I will need to get information on results for certain groups of clients (client_data being an example). As straight SQL this would be very easy (see below) -- real world problem is a little more complicated. However, what I would like to do is set up a procedure so that I can pass it my variable client data and it will spit back out a data set the same as the output from the given SQL.
    A pointer in the right direction would be appreciated. If I could "pass the client data" as a string containing a SQL query, that would be even better, e.g.
    GetResults('select client_id,min(whatever_date) from some_client_data where .....',MyOutputRefCursor?)
    create table source_data
    (client_id integer,
    tdate date,
    amount number(6,2));
    create table client_data
    (client_id integer,
    critical_date date);
    insert into source_data values(1,to_date('20090104','yyyymmdd'),1000);
    insert into source_data values(1,to_date('20100104','yyyymmdd'),2000);
    insert into source_data values(1,to_date('20110104','yyyymmdd'),3000);
    insert into source_data values(1,to_date('20120104','yyyymmdd'),4000);
    insert into source_data values(2,to_date('20090104','yyyymmdd'),5000);
    insert into source_data values(2,to_date('20090604','yyyymmdd'),1000);
    insert into source_data values(2,to_date('20100104','yyyymmdd'),2000);
    insert into source_data values(3,to_date('20091004','yyyymmdd'),3000);
    insert into source_data values(3,to_date('20091104','yyyymmdd'),4000);
    insert into source_data values(4,to_date('20090104','yyyymmdd'),5000);
    insert into source_data values(4,to_date('20090604','yyyymmdd'),2000);
    insert into client_data values(1,to_date('20110104','yyyymmdd'));
    insert into client_data values(2,to_date('20090604','yyyymmdd'));
    select c.client_id,
      sum(CASE WHEN tdate < critical_date then amount else null end) used_before,
      sum(CASE WHEN tdate >= critical_date then amount else null end) used_after
    from source_data s
    inner join client_data c on s.client_id = c.client_id
    GROUP BY c.client_id;Thanks,
    Jon

    JonWat wrote:
    I have a situation where there will be one "standard" set of data (source_data below) and I will need to get information on results for certain groups of clients > (client_data being an example). As straight SQL this would be very easy (see below) -- real world problem is a little more complicated. Can you give a more accurate representation of the real world problem?
    A pointer in the right direction would be appreciated. If I could "pass the client data" as a string containing a SQL query, that would be even better, e.g.Passing a query as as string for execution is rarely the correct approach. This approach won't scale and most likely will result in maintenance and security problems.
    If you can update your post to have a more accurate representation of the problem you are trying to solve you'll probably get an acceptable answer. Other than that all I can suggest is that you need to rethink the approach a bit. For example, if you know you need to filter out a set of data to join to your SOURCE_DATA table, why couldn't you do that inside the procedure?
    SELECT c.client_id
         , SUM
           ( CASE
             WHEN tdate < critical_date
             THEN amount
             END
           ) AS used_before
        ,  SUM
           ( CASE
             WHEN tdate >= critical_date
             THEN amount
             END
           ) AS used_after
    FROM   source_data s
    JOIN   ( SELECT client_id
                  , MIN(<date column>) AS critical_date
             FROM   client_data
             WHERE  <where clause>
             GROUP BY client_id
           ) c on s.client_id = c.client_id
    GROUP BY c.client_id;

  • Front-End Service Starup Error: Store procedure to GET progress vector failed.

    Hi,
    We have a two front end servers in our Lync deployment and I'm getting an interesting error message on one of the servers when the "Lync Server Front-End Service" is starting up. All the services on that server will eventually start but I'm pretty
    sure it's affecting users in some way.
    Here is the error message in the Event Viewer:
    Log Name:      Lync Server
    Source:        LS User Services
    Date:          2013-09-17 8:00:32 AM
    Event ID:      32194
    Task Category: (1006)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      BGC-VAN-LYNC2.domain.ca
    Description:
    Store procedure to GET progress vector failed.
    Execution Error: 0x00000000(ERROR_SUCCESS).
    Native Error: 8144.
    Error Details: [# [Microsoft][SQL Server Native Client 11.0][SQL Server]Procedure or function SyncReplicationGetProgressVector has too many arguments specified. #].
    Cause: This may indicate a problem with connectivity to local database or some unknown product issue.
    Resolution:
    Ensure that connectivity to local database is proper. If the error persists, please contact product support with server traces.
    Event Xml:
    <Event xmlns=>
      <System>
        <Provider Name="LS User Services" />
        <EventID Qualifiers="50158">32194</EventID>
        <Level>2</Level>
        <Task>1006</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-09-17T15:00:32.000000000Z" />
        <EventRecordID>16971</EventRecordID>
        <Channel>Lync Server</Channel>
        <Computer>BGC-VAN-LYNC2.domain.ca</Computer>
        <Security />
      </System>
      <EventData>
        <Data>0x00000000(ERROR_SUCCESS)</Data>
        <Data>8144</Data>
        <Data>[# [Microsoft][SQL Server Native Client 11.0][SQL Server]Procedure or function SyncReplicationGetProgressVector has too many arguments specified. #]</Data>
      </EventData>
    </Event>
    The error happens 15 times every minute, following with this event:
    Name:      Lync Server
    Source:        LS User Services
    Date:          2013-09-17 8:23:46 AM
    Event ID:      32189
    Task Category: (1006)
    Level:         Information
    Keywords:      Classic
    User:          N/A
    Description:
    The following Fabric service for routing groups have been closed:
    {F515134C-71B7-52FD-B0C3-6A9DB39CF750}
    {8A5D6B36-2A01-53DB-BC4E-3286C05E0836}
    {B35AAFC9-F6BF-5FFE-8C31-4AA5C36B2065}
    {69223418-78DC-5066-81A8-78E05914EC7B}
    {80414C96-1137-5DDC-8387-C3EA7A54B078}
    {641E6ABD-B862-55A1-B1B1-C83BC92D2F85}
    {1EA68EA4-77F7-5CFC-B781-0093CBC18403}
    {2FDE333D-FF7F-5D6A-B85B-93ADC1EAC12A}
    {A43BBA3A-8963-51C4-BD7A-19E1EC3DDFDB}
    {D3F4532F-61C8-5072-9B3B-3E2CCF15442F}
    {4449243E-5E96-56AC-AB6B-C5E785543542}
    {58B30261-65B6-5F6A-BC50-60F85782D052}
    {DB4B76B0-2510-5BF8-A7B1-8B37BD3AA7B9}
    {917CC217-966B-56AC-A912-97BA64BA13EB}
    Anyone knows what this is about and how to resolve this?
    Thanks,
    VH.

    Hi,
    Please try to reset registrar state:
    http://tsoorad.blogspot.in/2013/04/lync-2013-ee-pool-wont-start.html
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
    sure that you completely understand the risk before retrieving any suggestions from the above link.
    Kent Huang
    TechNet Community Support

  • How to use stored procedure which returns result set in OBIEE

    Hi,
    I hav one stored procedure (one parameter) which returns a result set. Can we use this stored procedure in OBIEE? If so, how we hav to use.
    I know we hav the Evaluate function but not sure whether I can use for my SP which returns result set. Is there any other way where I can use my SP?
    Pls help me in solving this.
    Thanks

    Hi Radha,
    If you want to cache the results in the Oracle BI Server, you should check that option. When you run a query the Oracle BI Server will get its results from the cache, based on the persistence time you define. If the cache is expired, the Oracle BI Server will go to the database to get the results.
    If you want to use caching, you should enable caching in the nqsconfig.ini file.
    Cheers,
    Daan Bakboord

  • How to get STPOV structure values using BOM number and Plant number

    hello All,
    could you please help me out
    'How to get  STPOV structure values using BOM number and Plant number'
    is there any function module where can i give input as bom and plant number .
    waiting for your response.
    regards
    srinivas

    I did a quick where-used lookup in SE11 on the structure STPOV in function module interfaces and came up with the following:
    Function Module                             Short Description                                          
    CK_F_TOTALCOST_COMPUTE                                                                      
    CS_ALT_SELECT_COUPLED_PRODUCT                                                               
    CS_WHERE_USED_CLA                Bills of material; class use                               
    CS_WHERE_USED_CLA_ANY        Bills of material; direct class use or via other class     
    CS_WHERE_USED_CLA_VIA_CLA        Bills of material; class use via classes                   
    CS_WHERE_USED_COP                                                                           
    CS_WHERE_USED_DOC                Bills of material; document use                            
    CS_WHERE_USED_DOC_ANY:Bills of material; direct and (indirectly) document use via
    CS_WHERE_USED_DOC_VIA_CLA        Bills of material; document use via classes                
    CS_WHERE_USED_KNO                Bills of material; use object dependency                   
    CS_WHERE_USED_MAT                Bills of material; where-used list                         
    CS_WHERE_USED_MAT_ANY:Bills of material; where-used list as article or class item
    CS_WHERE_USED_MAT_VIA_CLA        Bills of material; where-used list via classes             
    EXIT_SAPMC29M_001                BOM; Article Where-Used List   
    It appears that this structure is primarily used for where-used look-ups for components within the BOM.  I don't know if any of these are what you're in need of.
    Hope this helps,
    Mark Schwendinger

  • How do I get a time value in days, hours and minutes returned to a cell from a calculation of distance divided by speed?

    How do I get a time value in days, hours and minutes returned to a cell from a calculation of distance divided by speed?

    Simon,
    you can use the duration function:
    B4=DURATION(0,0,B1/B2)
    you can further, format the cell as a duration like this using the cell inspector:

  • FRM-41830 :List of values contain  Lov After upgrade Form patch set to 19

    We are facing the below issue when click on menu,
    FRM-41830 :List of values contain Lov After upgrade Form patch set to 19
    Please let us know if someone has got similar type of issues.
    Regards,

    Hi,
    Please verify that you have completed all the steps in the Developer 6i upgrade doc. Also, please post the complete error message.
    Have you tried to regenerate the forms via adadmin and see if it helps?
    If none of the above helps, please obtain the FRD file as per (Note: 150168.1 - Obtaining Forms Runtime Diagnostics (FRD) In Oracle Applications 11i) and post the contents of the log file here.
    Thanks,
    Hussein

  • When I select an album to play the first song gets listed many many times on upnext and is the onyl one to play..help

    When I select an album to play the first song gets listed many many times on upnext and is the only one to play..help

    Figured it out.. Had the repeat set to 1...so it lists the first song multiple times....

  • Can't get list of values for some picklists

    I think any field that has data tye Picklist (read-only) in Opportunity Field setup, does not allow to get PicklistValues.
    How else are we supposed to get a list of possible SalesStages through the API?!
    Here is a generic code (c#) I am running using mapping/picklist wsdl to get all Picklist fields on Opportunity and get list of their values. Some work just fine and other reutrn exception that the field is not a pick list (and those are ones marked as Picklist(read-only) ). Any help is appreciated. Sorry if formatting gets messed up.
    Mapping mapping = new Mapping();
    MappingWS_GetMapping_Input mapIn = new MappingWS_GetMapping_Input();
    mapIn.ObjectName = "Opportunity";
    mapping.Url = this.Session.GetURL();
    MappingWS_GetMapping_Output mapOut = mapping.GetMapping(mapIn);
    foreach (Field aField in mapOut.ListOfField)
    Console.WriteLine("Name: " + aField.ElementName + "\tType: " + aField.DataType);
    if (aField.DataType.Equals("Picklist"))
    try
    Picklist picklist = new Picklist();
    PicklistWS_GetPicklistValues_Input plIn = new PicklistWS_GetPicklistValues_Input();
    plIn.FieldName = aField.ElementName;
    plIn.RecordType = "Opportunity";
    //plIn.LanguageCode = "ENU";
    picklist.Url = this.Session.GetURL();
    PicklistWS_GetPicklistValues_Output plOut = picklist.GetPicklistValues(plIn);
    foreach (ParentPicklistValue aParentValue in plOut.ListOfParentPicklistValue)
    Console.WriteLine("--Name: " + aParentValue.ParentFieldName + "(" + aParentValue.ParentCode + ")\t Value: " + aParentValue.ParentDisplayValue);
    foreach (PicklistValue aValue in aParentValue.ListOfPicklistValue)
    Console.WriteLine("----Value: " + aValue.DisplayValue + " (" + aValue.Code + ")");
    catch (Exception excc)
    Console.WriteLine(excc.ToString());
    }

    OK, we just ran into this issue as well. Sales Stage is, in fact, a "Picklist" (as revealed by your own metadata API), its values can change and as such its items should be made available via the API. Hard-coding is a hack, pure and simple. I suspect this is not the only picklist that the services fails on; Is there a document anywhere that indicates which picklists do not have items available via the service API?
    Thanks.

  • How to call a stored procedure which has out parameter value

    my code is
    public Connection createConnection() {
                   Connection conn = null;
                        try {
                             Class.forName(DRIVER);
                             conn = DriverManager.getConnection(URL,USER,PASS);
                        } catch (ClassNotFoundException cnfe) {
                             System.err.print("Class not found");
                        } catch (SQLException sqle) {
                             System.err.print("SQLException");
                   return conn;
         public static void main(String args[]){
              StroedProcedure stp = new StroedProcedure();
              Connection con = stp.createConnection();
              try {
                   CallableStatement stproc_stmt = con.prepareCall("{call Account_Summary(?,?,?,?,?,?,?,?)}");
                   stproc_stmt.setString(1, "123456");
                   stproc_stmt.setDate(2, null);
                   stproc_stmt.setString(3, null);
                   stproc_stmt.setString(4, null);
                   stproc_stmt.setString(5, null);
                   stproc_stmt.setString(6, null);
                   stproc_stmt.setDate(7, null);
                   stproc_stmt.setDate(8, null);
                   stproc_stmt.registerOutParameter(1,Types.CHAR);
                   stproc_stmt.registerOutParameter(2,Types.DATE);
                   stproc_stmt.registerOutParameter(3,Types.CHAR);
                   stproc_stmt.registerOutParameter(4,Types.CHAR);
                   stproc_stmt.registerOutParameter(5,Types.CHAR);
                   stproc_stmt.registerOutParameter(6,Types.CHAR);
                   stproc_stmt.registerOutParameter(7,Types.DATE);
                   stproc_stmt.registerOutParameter(8,Types.DATE);
                   stproc_stmt.execute();
                   System.out.println("test "+stproc_stmt.getString(1));
                   ResultSet rs = stproc_stmt.executeQuery();
                  while (rs.next()){
                       System.out.println("result "+rs.getString("ACCPK"));
              } catch (SQLException e) {
                        e.printStackTrace();
         }And the stored procedure is
    CREATE OR REPLACE
    procedure Account_Summary (accpk in out char, incdt out date, bcur out char, bmark out char, tarTE out char, numHold out char, stDt out date, AsDt out date)
    is
    begin
    select account_pk, inception_date, base_currency, benchmark  into accpk, incdt, bcur, bmark
    from account a
    where a.Account_pk=accpk;
    select target_te, number_holdings, start_date, as_date into tarTE, numHold, StDt, AsDt
    from acc_summary asum
    where asum.account_pk=accpk;
    end Account_Summary;but it gives a exception ORA-01460: unimplemented or unreasonable conversion requested
    ORA-06512: at "REPRO.ACCOUNT_SUMMARY", line 4
    ORA-06512: at line 1
    i want to execute a stored procedure which has in , inout or out parameter
    but it can not work

    ========================
    In some contects varchar2 variable limit is 32512 characters... October 16, 2003
    Reviewer: Piotr Jarmuz from Poznan, Poland
    Interesting to note is the fact that varchar2 variables as parameters to stored
    procedures (in in/out out) may be "only" 32512 bytes long.
    I've checked this in Java and Perl. 32512 is the last value that works, for any
    bigger it throws:
    Exception in thread "main" java.sql.SQLException: ORA-01460: unimplemented or
    unreasonable conversion requested
    But in PL/SQL as you said 32767
    Regards,
    Piotr
    =================================
    This i got it from ask tom, well it make sense.... try checking your input with small numbers and strings
    Have fun

  • Wrap a store procedure which include "Left Join"

    In 9i, i write a store procedure :
    CREATE OR REPLACE PROCEDURE
    get_code(STATION_NUM IN VARCHAR2,COMMAND1 OUT VARCHAR2) AS
    BEGIN
    SELECT A.*, B.XX
    FROM A LEFT JOIN B ON A.ID = B.ID
    WHERE A.STATION_NUM = STATION_NUM
    END;
    AND, I wrap this store procedure, it show error message:
    PSU(103,1,50,41):Encountered the symbol "LEFT" when expecting one of the following:
    , ; for group having intersect minus order start union where
    connect
    Why i can run this store procedure, but can't wrap it?
    my oracle is 9.2.0.1.0

    Replace Left Join with "," and put "(+)" symbol after A.ID
    Regds,
    Balaji

  • Info needed on how to get list price for a given MATNR and pricing Conditio

    Hi All,
    Can some one help me in finding List price for a given MATNR and pricing condition type.
    Basically, i need info regarding the tables that i need to use for this purpose.
    Thanks in advance.
    Regards,
    Udaya.
    PS: All helpful answers will be rewarded.

    Hi Udaya,
    A simple solution to all these kind of problems:
    Goto  Transation SE16
    Table :TSTC
    in Tcode :Give A* or V*  or anything...and find the relevant transctions and data.
    if found useful...reward points.
    Regards,
    Nisha

  • Info needed on how to get list price for a given MATNR and pricing Conditi

    Hi All,
    Can some one help me in finding List price for a given MATNR and pricing condition type.
    Basically, i need info regarding the tables that i need to use for this purpose.
    Thanks in advance.
    Regards,
    Udaya.
    PS: All helpful answers will be rewarded.

    Hi,
    I moved your topic to this forum
    Mario

Maybe you are looking for