Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. CrystalProgDev

    Temp tables in stored procedure

    I have the select stmt in a variable. I need to have it a variable for some conditional from and whre clauses. I need to come up with temp tables and get the output into temp tables for further joins.
  2. CrystalProgDev

    Temp tables in stored procedure

    I have stmtvar to have the selct statement in my procedure. stmtvar= 'select * from A,B,C ....lots of logoc in there.....' I wanted to execute and insert the data to a temp table called DATA. and again I need two more temp tables from Above temp table DATA. One is to contain A specific data...
  3. CrystalProgDev

    Multi value prompt Issue

    I created a derived table calling a pipelined funtion and trying to pass multi value prompt value as parameter to the funtion. But it is not letting me to do it... throwing an error 'Right Paranthesis Missing'. param is a single value prompt. param1 and param2 are set to allow multi vlaues. If...
  4. CrystalProgDev

    Multi value parameter

    I didn't get any thing. If user selects a,b,c. when I pass the it as a parameter it will be some thing like this 'a,b,c'. but in sql it has to be ('a','b','c'). I am not sure how to convert 'a,b,c' to 'a','b','c'.
  5. CrystalProgDev

    Multi value parameter

    I have a function with a parameter. I need to pass multiple values to single parameter. example parameter value 'A,B,C' in sql it has to be IN ('A','B','C'). Can any one please provide me the solution FUNCTION MTO_ENG104_PIPELINED (str VARCHAR2) RETURN WBS_TAB PIPELINED IS...
  6. CrystalProgDev

    set Variable value

    Thank you for your response
  7. CrystalProgDev

    Variable in a package with pipelined function

    Instead of having too many cursors, can't we have variables for select, from clauses. and use those variables in main sql. SELECTSTMT VARCHAR2 (2500) := 'P.PART AS PART,' + 'P.VDESC AS VDESC,' + 'P.UM AS UM; FROMCLAUSE VARCHAR2(2500) := TABLE_NM +'AS P'; PRAGMA AUTONOMOUS_TRANSACTION...
  8. CrystalProgDev

    set Variable value

    I need to place the select statement into a variable. I have some thing like this SELECTSTMT VARCHAR2 (2500) := 'TO_CHAR (Date_Col, 'MM/DD/RRRR'),' +'col_nm1,' +'" DECODE ('col_nm2,''0', 'Active Part',' DECODE (col_nm2,''1', 'Obsolete...
  9. CrystalProgDev

    Variable in a package with pipelined function

    I found a solution for this. I figured out how to create variables in functions and wanted to use them in cursor.But not sure how to use them in cursors. When I exucte pakage throwing an error ([Warning] ORA-24344: success with compilation error 30/18 PL/SQL: ORA-00942: table or view does not...
  10. CrystalProgDev

    Variable in a package with pipelined function

    Yes, it works. is there any way we can run one cursor based on val parameter value? in this case...it will execute all the cursors and get the data and then filters the data right... my lead to performance issues. Am I correct?
  11. CrystalProgDev

    Variable in a package with pipelined function

    I am very new to both business objects and oracle 11g. All the seniors in the team recommended using pipelined function. We already have pipelined functions. Based on existing functions I came up with the above package and function in it. But as per the report logic as I mentioned I need to...
  12. CrystalProgDev

    Variable in a package with pipelined function

    we have 3 tables p_A,p_B,p_C. when user selects product category type A, then we need to get the data from p_A. if the user selects product category type B, then we need to get the data from p_B. user selects product category type C, then we need to get the data from p_C. Val is the parameter...
  13. CrystalProgDev

    Package execution error

    I have a package with pipelined function in it. using the below stmt to execute the function. select * FROM table(Test_PKG.Test_PIPELINED ('A','--N/A--','1/1/2010','1/1/2011')); Throwing an error: invalid month error. Can any one please let me know where I am doing wrong. CREATE TYPE WBS_ROW...
  14. CrystalProgDev

    Variable in a package with pipelined function

    I have a package with a pipelined function with 3 parameters. Based on Val parameter I need to get the table name. for example if user select A then the table name that I should use is p_A, if user selects R the table name should be p_R. I am thinking of creating a variable and set the...
  15. CrystalProgDev

    Hide prompt in webi reports

    Is it possible to hide prompt in webi Reports. I need to create 5 reports from 1 universe. universe is using a pacakge with a stored procedure. I wanted to pass report name to the stored procedure to differentiate between the report's sql and based on report name parameter I wanted to take...
  16. CrystalProgDev

    Dynamic SQL for Cascading Parameters

    Thank you Peter.. I really appreciate your help
  17. CrystalProgDev

    Dynamic SQL for Cascading Parameters

    I need to generate Dynamic SQL for cascading Parameters. Here is the scenario. Parameters: Department ---- Values: A-Department, B-Department Category ---- A1, A2, A3, B1, B2 Product --- A1P1, A1P2, A2P1, B1P1, B2P1, B2P2, B2P3 If user selects A-Department the SQL Should use Dept_A table and...
  18. CrystalProgDev

    Dynamic SQL Based on Parameter selection

    I need to generate Dynamic SQL Based on Parameter selection. Here is the scenario. Parameters: Department ---- Values: A-Department, B-Department, C-Department If user selects A-Department the SQL Should use Dept_A, Product_A and Sales_A Tables If user selects B-Department the SQL Should use...
  19. CrystalProgDev

    get lookup value

    Getting error message: conversion failed when converting _A to int

Part and Inventory Search

Back
Top