CF report queries with Variables

Hello again,
It is the third time that I am ready for this issue, and I really, really need an answer, please. I have this query on my .cfr:
___________________________________
SELECT call_product.call_product_detail, call_service.call_service_detail, area_code.area_code_detail, cform.cform_phone_number_body, cform.cform_date_time, cform.cform_comments

Carousel, call_service, area_code, call_product


WHERE cform.cform_date_time BETWEEN #CreateODBCDateTime (cFullStartDate) # #CreateODBCDateTime (cFullEndDate) # AND cform.cform_call_type = 3 AND call_product.call_product_id = cform.cform_call_product AND call_service.call_service_id = cform.cform_call_service AND area_code.area_code_id = cform.cform_phone_area_code AND

ORDER BY call_product.call_product_detail, call_service.call_service_detail, cform.cform_date_time ASC
___________________________

And I have the attached code to call this report. whenever I run he said variable cFullStartDate is not defined, and I have no idea why it doesn't work. I know it's probably something stupid, so I tried to simplify the message as much as possible, if there is everything that you would need it please let me know. Thanks in advance!

To see where the problem, double-click the Total_sales_report_by_date.cfr definition file to open with Report Builder. Follow the menu file-online Code snippet.

You will find that the query in the CFC contains the clause, WHERE the cform.cform_date_time BETWEEN #CreateODBCDateTime ( cFullStartDate) # AND #CreateODBCDateTime ( cFullEndDate) #. That cannot be good. The CFC is supposed to be called before the cfreport tag. Yet the variables cFullStartDate and cFullEndDate that needs the CFCS are still undefined. Apparently, you don't define that later in the cfreport tag. It is not possible... until you add the scope of the param. Which makes cfreportparam variable dynamically available in Report Builder when running.

So, change the WHERE clause to WHERE the cform.cform_date_time BETWEEN #CreateODBCDateTime ( param.fullStartDate) # AND #CreateODBCDateTime ( param.fullEndDate) #. The rest of the code should be something like this:

Tags: ColdFusion

Similar Questions

  • Reg: Cardinality Feedback for queries with variable bind

    Hi all

    One of my query (having no bind variables) takes a lot of time (10 minutes) to run for the second run.

    I came to know that its due to the feedback of the cardinality.

    I disabled _optimer_use_feedback for help and the query has been run within 2 seconds.

    If I disable _optimizer_use_feedback at the instance level, is there a problem for queries with variable bind?

    > Sorry! I'm not suppose to disclose the NAMES OF THE TABLES

    OK, no problem and I take this restriction as a chance to learn what is cardinality comments, and similar expressions.  Now, since you can't explain post program for our help, I would try to explain what is comments of cardinality and similar expressions: (since you did not mention Oracle version, so I guess it's 11.2.0.1)

    In the Oracle 11.2.0.1 database some SQL statements returns significantly different lines i.e. for some SQL statements earlier execution plan there are has 100 lines by optimizer in the first plan of execution and, where the same SQL statement executed, based optimizer 1000 lines.  This happens because of several cursors for child for a single SQL statement and change bind peeking, collection of statistics, characteristic of re-optimizing 11.2.0.1, permission to referenced objects, ACS (Adaptive Cursor sharing) etc.  The preaching of changes to lines due to above reasons as well regarding also the SQL statements that are not contains the variable i.e. AKA vibration cardinality of liaison function.

    I will highly recommend to read other links below:

    Cardinality feedback | Notebook of the Oracle

    http://www.centrexcc.com/tuning%20by%20Cardinality%20Feedback.ppt.PDF

    https://blogs.Oracle.com/optimizer/entry/cardinality_feedback

    Concerning

    Girish Sharma

  • Report queries require BEEP?

    Hey all,.

    I created a column called report model that works well with Apache FOP to generate a PDF of a report from the region. The problem with this approach is that the level of detail for the report region makes the screen too cluttered to read easily. So I thought I'd do a region summary report with a button to launch the PDF for detail via a report query.

    I have reproduced the source query in the region to report for a new report query and set the query to use the same model of report, the region uses with success. Download of XML schema looks great, but when I use 'Minutes', the PDF is HTML tags with "Internal Server Error 500" and the FOP application.log said "oracle.xml.parser.v2.XMLParseException: scheduled start of root element."

    I'm not sure how to debug it, but I noticed the message on the upper right side of the screen to change the report says query 'report queries are rendered using a custom RTF put in page... ', which could infer a requirement for BI Publisher, even if I have not been able to find one taken up any web page, help text, message of the forum or book.

    If this is the case, is there a technique to mask/hide report items region while being able to print?

    Anyone?

    TIA!
    Rich

    Published by: socpres on October 23, 2008 10:28 (Rich Text does not seem very nice w/paragraphs)

    Hi rich,

    My guess would be that product your report query XML does not match the XML code generated by your region to report export. When printing/exporting regions to report, the XML generated for the print server always contains information about your application, page and your current page session data. The report however by default queries only produce the XML code required to communicate data. So the XML structure is different, so your report layout will need to reference your attributes a little differently. In order to make the APEX to generate the same file XML structure when exporting regions of report and report queries, simple enable inclusion session state for the report query (it is an attribute on the first page of the report wizard query and can also be edited on the report query edit page). Even if you do want to include real session state values, it will ensure this same XML structure in both cases. The reason why it works that way, it's for the report queries, we want to make sure you can use the same presentations RTF you use in BI Publisher.

    Kind regards
    Marc

  • recorder with variable unit

    Hallo!

    I tried to use the recorder with variable units. It does not it? Can I change the units of the recorder of the version of the runtime somehow?

    Thanks for your advice.

    Hilby

    Hello again!

    I found the solution:

    Even when it is not possible to use a variable in the context menu, it is possible to put a global string in the recorder manually. I put "${Unit_Ch1}" on the ground for the unit, and it worked.

    Have a good day everyone.

  • CSQ Call Distribution summary report customized with 5s and 20 s model for UCCX 10.6 required

    Dear all,

    We have UCCX with recently upgraded to 10.6 HA. After upgrade, we are not able to generate the CSQ Call Distribution report for every 5/20 sec.

    We contacted TAC and found we need to have autonomous cuic but we donot have in our environment. There is demand for improvement already triggered with Cisco for this defect, Cisco still to develop fixed a bug for this version.

    Ask you to provide me with this model of the said report to import into our UCCX of 10.6 to generate reports required by our care.

    Had the same problem after upgrade of 8.5 to 10.5 UCCX. I was able to modify an existing report to get 5 seconds interval.

    I exported the existing report. Imported in CUIC stand-alone server, query list value with interval of 5 seconds:

    select 5 as ID,'5' as value from table(set {1})
    Also changed the column names in the report. With 5 seconds interval, we have 4 great call distribution intervals: 0-5 sec, 0 to 10 sec, 0-15, 0-20 sec. Unfortunately, when I downloaded my report to the initial report UCCX CUIC was broken (I think because of the internal report id duplication), but the new report works very well. Check out the screenshots and my below custom report template.
  • Problem with variables not excluding search terms not

    People,

    I'm having a problem with variables, when used in topic titles.

    We produce two distinct versions of a webhelp. The text is almost exactly the same, but the product has a different name in each version. In one version, he is called FLOW; in another, it is called Service generator. We use the user-defined variables to control which name is used to identify the product, when we generate the webhelp.

    So, I have (for example), a subject that begins with the heading:

    Construction of a FLOW script

    where the text occupied by 'FLOW' is provided by a variable with two values - FLOW and Service constructor.

    So when I generate the generator using the web Service version, I put Robohelp using the Service Builder variable defined, and all contained text and the table of positions generate fine; FLOW is nowhere to be seen.

    But when I type "FLOW" in the search box, the system identifies each of the three subjects that are built as in the example above, with a topic title that contains the variable used to set the name of the product. In addition, it displays in the search results using STREAM in the title of the topic, not Service Builder (but when I open the topic, the text in the header is rendered correctly).

    In addition, the system uses the "FLOW" and not "Service Builder" in the headings found by the search, regardless of what research the term is used.

    Everyone comes through this? Nobody knows how to solve this problem, please?

    Thanks in advance,

    NA.

    What version of RoboHelp do you use?

    I use the 2015 Release version. It used to be version 11.

    In the Release version of 2015, my topic Properties dialog box looks like this:

    I think that version 11 may have introduced the possibility of having a variable in the title of the topic. If your version is older and does not seem to offer a way through the dialogue box to deal with this, I was wondering if you could fudge by manipulating the code manually. For example, I see that when I use a variable in a topic title, I end up with this:

    So I was wondering if you could add just in the bit that reads:

    < InsertVariableNameHere >

    Of course, you want to replace the text InsertVariableNameHere with the actual name of your variable.

    It can fail miserably because the process of generation of RoboHelp doesn't know how to cope. But in fact, it might work! You won't know until you try.

    And even if it fails, I may be able to offer another approach that you will overcome the problem.

    See you soon... Rick

  • call report forms (with or without parameters) oracle apex

    Hello

    I want to know if I can call report forms (with or without parameters) oracle apex?

    Thanks in advance

    Try to look at this blog: Roels Blog: integration of forms and the APEX: APEX calling forms

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • Help to combine the two queries with dependencies

    Combining two queries with dependencies:
    First ask: Returns USER_ID that has a type of access to a table with the OWNER (I also shoot the TLA of the USER_ID standard: ' of TLA #)

    Select distinct SUBSTR (DBA_USERS. Username, 2, 3) AS TLA

    DBA_USERS. Username USED_ID

    DBA_TAB_PRIVS. Owner OWNER

    from DBA_USERS

    DBA_ROLE_PRIVS

    DBA_TAB_PRIVS

    where DBA_USERS. Username = DBA_ROLE_PRIVS. Dealer

    and DBA_USERS.default_tablespace not in ('SYSTEM', "SYSAUX")

    and DBA_USERS. Username like would be %'

    and DBA_ROLE_PRIVS. Granted_role = DBA_TAB_PRIVS. Dealer

    and SUBSTR (DBA_USERS. Username, 2, 3) <>DBA_TAB_PRIVS. Owner

    ;

    Example of results (red font used in the last citation):

    TLA USED_ID OWNER

    --- ------------------------------ ------------------------------

    DGTX999 GTX GRR

    DGTX999 GTX ABG

    DGTX999 GTX HTC

    FWS DFWS999 GRR

    OCN DOCN999 GRR

    RHR DRHR999 DAS

    ETM DETM999 DAS

    FWS DFWS995 DAS

    CD DCDS999 DAS

    ABE DABE999 DAS



    Second request: matches the USER name (same standards as above) and MACHINES (filter PC connections) and the number of connections made of

    Select DBA_USERS. Username

    DBA_HIST_ACTIVE_SESS_HISTORY. Machine

    COUNT (*) AS CONN_COUNT

    of DBA_HIST_ACTIVE_SESS_HISTORY

    DBA_USERS

    where DBA_HIST_ACTIVE_SESS_HISTORY. User_id = DBA_USERS. User_id

    and DBA_USERS. Username like would be %'

    and DBA_HIST_ACTIVE_SESS_HISTORY. Machine not as "WINAD%\%-%".

    Group of DBA_USERS. Username

    DBA_HIST_ACTIVE_SESS_HISTORY. Machine

    order by 1

    3 desc;

    Example of results (red font used in the last citation):

    MACHINE CONN_COUNT USERNAME

    --------------- ------------------------- ----------

    DFWS999 home13e0 7557

    DGAM800 vu1246 37

    DGAM999 vu1246 2558

    DABE999 back18cb 4639

    DINL888 home162f 84

    DFWS999 WINDAD\OMHQ58BF 178

    DCDS999 back18cb 788

    DGTX999 home18c8 7

    DGTX999 home13d3 62

    DOCN999 vu1261 44

    DFWS999 back1976 3

    DCDS999 home18c8 173

    DGTX999 home19c9 13

    What I'd like to have (just made two first USER_IDs from the first query) (COL duplicated for each separate owner 1-4).  So 3 machines and 3 owners would result in 9 lines (I could reorganize the collar and use a 'pause'):

    TLA USED_ID MACHINE CONN_COUNT OWNER

    --- ------------------------------ ------------------------- ---------- ------------------------------

    GTX DGTX999 home13d3 62 GRR

    Home18c8 GTX DGTX999 7 GRR

    DGTX999 GTX home19c9 GRR 6

    GTX DGTX999 home13d3 62 ABG

    DGTX999 GTX home18c8 ABG 7

    DGTX999 GTX home19c9 6 GBS

    GTX DGTX999 home13d3 62 CTH

    DGTX999 GTX HTC 7 home18c8

    DGTX999 GTX home19c9 6 HTC

    FWS DFWS999 home13e0 7557 GRR

    FWS DFWS999 WINDAD\OMHQ58BF 178 GRR

    FWS DFWS999 back1976 GRR 3


    So it would be logically read: TLA as USER_ID of MACHINE, CONN_COUNT consultation times: OWNER information.

    Thought as only those with the necessary values. Just try this and let me know in the case of all conflicts in the output.

    WITH T1 AS)

    Select distinct SUBSTR (DBA_USERS. Username, 2, 3) AS TLA

    DBA_USERS. Username USED_ID

    DBA_TAB_PRIVS. Owner OWNER

    ROWNUM RN

    from DBA_USERS

    DBA_ROLE_PRIVS

    DBA_TAB_PRIVS

    where DBA_USERS. Username = DBA_ROLE_PRIVS. Dealer

    and DBA_USERS.default_tablespace not in ('SYSTEM', "SYSAUX")

    and DBA_USERS. Username like would be %'

    and DBA_ROLE_PRIVS. Granted_role = DBA_TAB_PRIVS. Dealer

    and SUBSTR (DBA_USERS. Username, 2, 3) <> DBA_TAB_PRIVS. Owner),

    () AS T2

    Select DBA_USERS. Username

    DBA_HIST_ACTIVE_SESS_HISTORY. Machine

    COUNT (*) AS CONN_COUNT

    of DBA_HIST_ACTIVE_SESS_HISTORY

    DBA_USERS

    where DBA_HIST_ACTIVE_SESS_HISTORY. User_id = DBA_USERS. User_id

    and DBA_USERS. Username like would be %'

    and DBA_HIST_ACTIVE_SESS_HISTORY. Machine not as "WINAD%\%-%".

    Group of DBA_USERS. Username

    DBA_HIST_ACTIVE_SESS_HISTORY. Machine

    order by 1

    3 desc)

    SELECT T1. TLA

    ,         T1. USED_ID

    ,         T2. MACHINE

    ,         T2. CONN_COUNT

    ,         T1. OWNER

    FROM T1

    T2

    WHERE T1. USED_ID = T2. USER NAME;

  • How to run execute immediate with variables

    Hi friends,
    How to run execute immediate with variables in v_stmt below?
    I don't know how to declare value I have here.
    Set serveroutput on;
    DECLARE
       i        VARCHAR (20);
       v_stmt   VARCHAR2 (100);
    
       CURSOR c
       IS
          SELECT sqlid FROM temp1;
    
    
    BEGIN
       OPEN c;
    
       LOOP
          FETCH c INTO i;
          EXIT WHEN c%NOTFOUND;
          DBMS_OUTPUT.put_line (i);
          v_stmt := 'select * from table(dbms_xplan.display_cursor('&i',null))'
          execute immediate v_stmt;
       END LOOP;
    
       CLOSE c;
    END;
    /
    Regds,
    Kunwar.

    You must first use a variable binding (named ': v' in the SQL statement in my example):

    set serveroutput on;
    DECLARE
       i        VARCHAR (20);
       v_stmt   VARCHAR2 (100);
    
       CURSOR c
       IS
           -- modified for a quick test
          SELECT sql_id FROM v$sql where child_number > 2;
    
    BEGIN
       OPEN c;
    
       LOOP
          FETCH c INTO i;
          EXIT WHEN c%NOTFOUND;
          DBMS_OUTPUT.put_line (i);
          v_stmt := 'select * from table(dbms_xplan.display_cursor(:v,null))';
          execute immediate v_stmt using i;
       END LOOP;
    
       CLOSE c;
    END;
    /
    

    However because your SELECT statement returns multiple lines, you need to adapt your code to process all rows returned (as already suggested in first response to your message).

    Instead of using the PL/SQL, I recommend you to generate a SQL file using only SQL, and then run the generated SQL file.
    For example:

    spool edx.sql
    set serveroutput on
    declare
    v_stmt varchar2(100);
    v_q char(1):='''';
    begin
    dbms_output.put_line('spool edx.log');
    for s in (select sql_id from v$sql where child_number >2)
     loop
      dbms_output.put_line('select * from table(dbms_xplan.display_cursor(' || v_q || s.sql_id || v_q || ',null));');
     end loop;
     dbms_output.put_line('exit');
    end;
    /
    spool of
    

    This generates a file similar to:

    spool edx.log
    select * from table(dbms_xplan.display_cursor('5rygsj4dbw6jt',null));
    select * from table(dbms_xplan.display_cursor('5rygsj4dbw6jt',null));
    select * from table(dbms_xplan.display_cursor('5rygsj4dbw6jt',null));
    select * from table(dbms_xplan.display_cursor('fsbqktj5vw6n9',null));
    select * from table(dbms_xplan.display_cursor('6q42j0018w7t8',null));
    select * from table(dbms_xplan.display_cursor('a5mmhrrnpwjsc',null));
    select * from table(dbms_xplan.display_cursor('3c1kubcdjnppq',null));
    select * from table(dbms_xplan.display_cursor('3c1kubcdjnppq',null));
    select * from table(dbms_xplan.display_cursor('9gkq7rruycsjp',null));
    select * from table(dbms_xplan.display_cursor('f0wj261bm8snd',null));
    select * from table(dbms_xplan.display_cursor('ab3swhv5g138y',null));
    select * from table(dbms_xplan.display_cursor('6vgvyh4xw9c5g',null));
    select * from table(dbms_xplan.display_cursor('ak5crjygnpk60',null));
    select * from table(dbms_xplan.display_cursor('9p6bq1v54k13j',null));
    select * from table(dbms_xplan.display_cursor('19x1189chq3xd',null));
    select * from table(dbms_xplan.display_cursor('7sx5p1ug5ag12',null));
    select * from table(dbms_xplan.display_cursor('730vdzhng6m6g',null));
    select * from table(dbms_xplan.display_cursor('730vdzhng6m6g',null));
    select * from table(dbms_xplan.display_cursor('0v3dvmc22qnam',null));
    select * from table(dbms_xplan.display_cursor('0v3dvmc22qnam',null));
    select * from table(dbms_xplan.display_cursor('a1zv6wju3ftgv',null));
    select * from table(dbms_xplan.display_cursor('7ng34ruy5awxq',null));
    select * from table(dbms_xplan.display_cursor('7ng34ruy5awxq',null));
    select * from table(dbms_xplan.display_cursor('b2gnxm5z6r51n',null));
    select * from table(dbms_xplan.display_cursor('b2gnxm5z6r51n',null));
    select * from table(dbms_xplan.display_cursor('g4gp07gt2z920',null));
    select * from table(dbms_xplan.display_cursor('1gu8t96d0bdmu',null));
    select * from table(dbms_xplan.display_cursor('g00cj285jmgsw',null));
    select * from table(dbms_xplan.display_cursor('g00cj285jmgsw',null));
    select * from table(dbms_xplan.display_cursor('g00cj285jmgsw',null));
    select * from table(dbms_xplan.display_cursor('bn4b3vjw2mj3u',null));
    select * from table(dbms_xplan.display_cursor('38243c4tqrkxm',null));
    select * from table(dbms_xplan.display_cursor('2abjfnvy5rkyg',null));
    select * from table(dbms_xplan.display_cursor('350f5yrnnmshs',null));
    select * from table(dbms_xplan.display_cursor('350f5yrnnmshs',null));
    select * from table(dbms_xplan.display_cursor('3s1yukp05bzg6',null));
    select * from table(dbms_xplan.display_cursor('3s1yukp05bzg6',null));
    select * from table(dbms_xplan.display_cursor('1tgukkrqj3zhw',null));
    exit
    
    PL/SQL procedure successfully completed.
    

    Edited by: P. Forstmann March 20, 2013 19:06

    Edited by: P. Forstmann March 20, 2013 19:33

  • Publish reports migration with graphic functions.

    Hi guys,.
    I'm working on the relationship between 10g and 11g migration and I have a problem with the reports that contains a chart. They give the following error when I run them against the report of 11g Server (they work very well against the server 10g with on all issues)

    The report stopped with the error:
    REP-56048: engine rwEng-1 crushed., job Id: 24.

    I searched on Google for a solution to fix them, the closer, I found was install Oracle Graphics 6i engine in a House separate from the Oracle, but this has been said for 9i and 10g, you can find that in the oracle document below:

    http://www.Oracle.com/technetwork/middleware/reports/graph-FAQ-with-style-094084.html#Q101

    Do anyone knows if I can 6i engine install Oracle Graphics in a separate Oracle 11 g House too?, so that they work at least, if not to change those that exist?

    Thank you
    Sona.

    Hello Sona,
    Unfortunately installation chart 6i to one OH for 11g will not work. This option is possible as long as 10g as a temporary option during migration to the BI beans new chart features in gr 10, 2 and 11 g.

    Reference
    http://www.Oracle.com/technetwork/middleware/reports/graph-FAQ-with-style-094084.html

    Migration Oracle Graphics graphics 6i

    How can I migrate my Oracle graphics cards to the new chart format in reports of Oracle9i or Oracle10g reports?

    Oracle9i Release 1 go, graphical reports from Oracle was desupported. Reports of Oracle9i and Oracle10g use BI beans to generate graphs. Because of the underlying technology, there is no way to direct migration of Oracle Graphics to the bean BI graphing functionality. Therefore, the user will need to rewrite all their new graphics with the graphic Wizard in Report Builder.

    Top of Page

    Can I still use my Oracle Reports Developer 6i existing reports with graphical charts Oracle Oracle reports?

    As stated in the declaration of the Oracle reports, Oracle Graphics is no longer ships with Oracle Reports. However, as part of the migration route, you can still run Oracle Oracle reports graphic graphics if you install Oracle 6i graphics engine in a separate Oracle home. You must only maintain graph Oracle 6i as a temporary measure while redesign you your new charts using the chart wizard. For more details on configuring Oracle to use Oracle Graphics 6i, see Migration of graphics in the Oracle9i Application of Oracle9iAS version 1 (1.0.2.2.x) Server Migration manual version 2 (9.0.2).

    Top of Page

    Can I change or add diagrams of 6i, Oracle Graphics to my reports with Oracle9i reports or reports from Oracle 10 g?

    N ° you must have a separate installation of Oracle 6i graph generator to change your existing graphic Oracle 6i graphics since Oracle Graphics is not delivered with Oracle Reports. We strongly recommend that you migrate your cards to the new standard in the Oracle reports.

    Thank you, RZ

  • How to connect Forms 6i and reports 6i with oracle 10g R2?

    Hey everybody,

    I need your help in linking the two Forms 6i and reports 6i with Oracle 10 g Release 2 db, MS Access(2003, 2007) and SQL database (Microsoft Visual Studio 2008). I am a newbie. I installed all the on my laptop HP with Windows 7 installed Ultimate(32 bit OS). I want to generate reports and forms by accessing data from databases mentioned above. Please provide me with the configuration steps.

    Thanks in advance...!

    Being new to the forum, I encourage you to consider the following before you post much more:

    http://blogs.Oracle.com/Shay/entry/10_commandments_for_the_otn_fo

    As for your question, I hope that you read my posts.

    As I mentioned, form/reports 6 is very old and operating systems, you suggested that you will use are very new. This version of F/R is obsolete and expected that it works on a new operating system is not realistic. Why are spending you time with such an old version? Even if you're just trying to learn the product, learning with an old version is probably not a good idea.

    The tnsnames.ora file, you need to update is this: c:\orant\net80\admin

    If you want to learn how to use the product in detail, you probably won't be able to do it in a forum. It is not as if we were trying to learn MS Notepad. Forms/States (and all Oracle products) are enterprise-level products. All products Oracle would require that you spend time to review documentation and in many cases attend some courses to always be effective using them. You can find documents and training in countless places, including within the site of the Oracle. I recommend that you consider that your place of departure.

    Here are some examples:

    Forms of technical documents for most of the versions:
    http://www.Oracle.com/technetwork/Developer-Tools/Forms/Overview/index.html

    11.1.2 of Documentation Forms Library:
    http://docs.Oracle.com/CD/E24269_01/index.htm

    Archived forms documentation:
    http://www.Oracle.com/technetwork/documentation/dev-arch-093406.html

    Oracle Forms - Oracle Education
    http://education.Oracle.com/pls/web_prod-PLQ-dad/db_pages.GetPage?page_id=501

    The forms and the report generator online help is also a good place for more information that in some cases, the sample code is provided.

  • On the report templates in the Apex and report queries

    Hi all.

    I'm reading about models and report queries and asks me to use cases of these options. I have two questions:

    -Can be used to print reports of special loyalty, such as printing a document (invoice, invoice, check)?

    -Make the report accept queries settings? for example, you can filter specific data...?

    Any other uses?

    Best regards, Luis...!

    Your welcome. Review the marking of the answers correct or useful in order to help other people traveling the same road. :)

  • Error of closure with variable

    Dear all,

    Please help me. I want to loop recording. I have two diet. First of all, I do without variable and no mistake. Second, I do with variable and error occurs. below my syntax:

    First of all:
    ------
    declare
    x varchar (50);
    Start
    -x: = 'choose the double dummy;
    C1 in loop (double dummy selection)
    dbms_output.put_line (C1. Dummy);
    end loop;
    end;

    result:
    -------
    X

    --------
    Second:
    declare
    x varchar (50);
    Start
    x: = 'choose the double dummy;
    C1 (looping x)
    dbms_output.put_line (C1. Dummy);
    end loop;
    end;

    result:
    -------
    Encountered the symbol "LOOP" when expected...

    If you want to use a dynamic SQL statement, you would need something like

    SQL> ed
    Wrote file afiedt.buf
    
      1  declare
      2    l_cursor sys_refcursor;
      3    l_sql_stmt varchar2(100);
      4    l_dummy    varchar2(1);
      5  begin
      6    l_sql_stmt := 'select dummy from dual';
      7    open l_cursor for l_sql_stmt;
      8    loop
      9      fetch l_cursor into l_dummy;
     10      exit when l_cursor%notfound;
     11      dbms_output.put_line( l_dummy );
     12    end loop;
     13    close l_cursor;
     14* end;
    SQL> /
    X
    
    PL/SQL procedure successfully completed.
    

    Justin

  • Compare with variable binding sql stored proc vs

    I have a complicated logic coded in the two sql with variables and stored procedure I need to compare the performance of the two and decide which binding. with sql, I think I must watch the plan exec etc. and get metrics. How can I do to stored proc

    user8798946 wrote:
    the sql will be a plsql function. I have to choose wheter I implemting the sql code in the plsql or a version of sql plsql. hope that what I say makes sense.

    Are you meaning "I can write an SQL statement in a procedure, or I can PL/SQL code to do the same thing as the SQL statement and the loop via a slider?

    If so, then go with the SQL statement.

  • Is it possible to open reports (Financial Reporting Studio) with SmartView

    Hello

    V11.1.1.2 I would like to know if it is possible to open reports (Hyperion Financial Reporting Studio) with SmartView (Excel).
    If so, should what type of connection I open?

    Best regards

    Hello

    Yes, you can

    In the Data Source Manager > select > independent provider connections

    Add + Url provider

    Supplier:-Reporting Hyperion & analysis - 9 system provider
    Location:-http://: 19000/area of work/travel/listxml

    Connect

    In the Hyperion menu > reports & analysis Document > Import

    Select your financial report

    Ok?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

Maybe you are looking for

  • Satellite Pro 4600 and WiFi configuration problem

    Got a Toshiba Satellite Pro 4600, under WXP SP3. It s a P3 900 mhz with 256 RAM and it s a great laptop, but peut t seem to understand the Wi - Fi.It captures my router ok sky open a Wi - Fi connection, but it s the config, when I put the WEP key it

  • No all-in-One boot

    I have a computer that I have a problem with setting... It is an all-in-one PC 20-2000 a When it is turned on the fan turns and the only sign of life is the light of flashing card reader The research I found that a few HP desktop computers had this p

  • My Satellite A60 does not detect the WLAN

    Hello I just bought a SA 60 128 used laptop. I checked in many ways, if this system has a built-in Wi - Fi connection. I tried to look for this model on the internet to get the setup but I couldn't. Now I use a USB adapter to connect to the wireless

  • Raise our level of active directory for 2008

    Currently we are running active directory on Windows 2008 R2 server and all our domain controllers are Windows 2008 R2 servers. But domian functional level is Windows server 2003 and windows 2000 forest functional level. What needs to be done before

  • How to send attachments / photos from my laptop with my emails

    How to send attachments to send pictures of my web cam