All Premium Subscriptions On Demand reporting No Programs

Is this a set top or router issue? Incedentally, internet is working just fine.
Thanks,
Kyle

tsauter wrote:
Generally when I have seen that happen, it is because they are doing some form of maintanence.
VHO stands for verizon hub office. There is 13(i think). You can find out which one you are by going to: menu---settings----system info.
Actually "VHO" stands for "video hub office."  To the OP:  VHO3 is (Southern) California; it looks like you're in VHO4.  I believe the current list of VHOs is:
1 - Texas
2 - Florida
3 - California
4 - DC/MD
5 - NY
6 - MA
6A - RI
7 - NNJ
8 - DE/SE PA/SNJ
9 - Richmond, VA
9A - Norfolk, VA
10 - IN
11 - Pittsburgh, PA
12 - OR
13 - WA
14 - Harrisburg, PA
15 - Buffalo
15A - Syracuse

Similar Messages

  • ExecutionLog : Retrieve subscription name of report execution

    Hi everybody and thanks for your read,
    We would like to understand our SSRS execution logs.
    Our problem:
    Several reports are executed by data driven-subscriptions, and one report can be found in several subscriptions. We read ExecutionLog table and we can attach reports names on the execution entries. Some report falling in error, and we want to see the attached
    subscription. 
    Question:
    In the "ExecutionLog" table in reportServer database, is that possible to match the name of the subscription with the log report?
    If not, have you another method to see him?
    Thanks very much for your time,
    Arnaud

    Hi Arnaud,
    In Reporting Service, we can use the query below to find all the subscriptions in the report server. Then we can make some modification in the query to achieve your requirement.
    USE [ReportServer]; -- You may change the database name.
    GO
    SELECT USR.UserName AS SubscriptionOwner
    ,SUB.ModifiedDate
    ,SUB.[Description] As sSubscriptionName
    ,SUB.EventType
    ,SUB.DeliveryExtension
    ,SUB.LastStatus
    ,SUB.LastRunTime
    ,SCH.NextRunTime
    ,SCH.Name AS ScheduleName
    ,CAT.[Path] AS ReportPath
    ,CAT.[Description] AS ReportDescription
    FROM dbo.Subscriptions AS SUB
    INNER JOIN dbo.Users AS USR
    ON SUB.OwnerID = USR.UserID
    INNER JOIN dbo.[Catalog] AS CAT
    ON SUB.Report_OID = CAT.ItemID
    INNER JOIN dbo.ReportSchedule AS RS
    ON SUB.Report_OID = RS.ReportID
    AND SUB.SubscriptionID = RS.SubscriptionID
    INNER JOIN dbo.Schedule AS SCH
    ON RS.ScheduleID = SCH.ScheduleID
    ORDER BY USR.UserName
    ,CAT.[Path];
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • [Forum FAQ] How do I disable all subscriptions without disabling Reporting Services and SQL Server Agent?

    Introduction
    There is the scenario that users configured hundreds of subscriptions for reports. Now they want to disable all the subscriptions, but Reporting Services and SQL Server Agent service should be enable, so the subscriptions will not delivery reports to users
    and users could run the reports and create jobs on the server.
    Solution
    To achieve this requirement, we need to list all subscriptions and their schedules by running query, then use loop statement to disable all the subscription schedules by Job name.
    On the Start menu, point to All Programs, point to Microsoft SQL Server instance, and then click SQL Server Management Studio.
    Type Server name and select Authentication, click Connect.
    Click New Query in menu to open a new Query Editor window.
    List all subscriptions and their schedules by running the following query:
    Use ReportServer
    go
    SELECT   c.[Name] ReportName,           
    s.ScheduleID JobName,           
    ss.[Description] SubscriptionDescription,           
    ss.DeliveryExtension SubscriptionType,           
    c.[Path] ReportFolderPath,           
    row_number() over(order by s.ScheduleID) as rn             
    into
    #Temp  
    FROM     
    ReportSchedule rs           
    INNER JOIN Schedule s ON rs.ScheduleID = s.ScheduleID           
    INNER JOIN Subscriptions ss ON rs.SubscriptionID = ss.SubscriptionID           
    INNER JOIN [Catalog] c ON rs.ReportID = c.ItemID AND ss.Report_OID = c.ItemID   
    select * from #temp
    Use the loop statement to disable all the subscription schedules by Job name:
    DECLARE
    @count INT,
    @maxCount INT  
    SET @COUNT=1  
    SELECT @maxCount=MAX(RN)
    FROM
    #temp         
    DECLARE
    @job_name VARCHAR(MAX)                  
    WHILE @COUNT <=@maxCount        
    BEGIN      
    SELECT @job_name=jobname FROM #temp WHERE RN=@COUNT  
    exec msdb..sp_update_job @job_name = @job_name,@enabled = 0     
    SET @COUNT=@COUNT+1   P
    RINT @job_name   
    END   
    PRINT @COUNT 
    Reference
    SQL Agent – Disable All Jobs
    Applies to
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Reporting Services 2014
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thanks,
    Is this a supported scenario, or does it use unsupported features?
    For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    in a supported way?
    Thanks! Josh

  • How to delete the all records in Ztable from report program

    Hi Guys,
    Good Day!
    How to delete all records in Ztable from report program(Means I want to clean Ztable records from report program) .  Please send me the code.
    Thanks & Regards,
    Reddy

    Use this.
    DELETE { {FROM target [WHERE sql_cond]}
           | {target FROM source} }.
    *But before deleting the rows please check if this Ztable is being used in any other programs or used by others.
    Check "where-used-list"
    in se11 give the table name
    utilities- where-used list.
    I hope this helps.
    thanks.

  • Had to restore my iMac from Time Machine. After the restoration all programs are functioning except my Adobe Creative Suite 4 Design Premium. When I start any program in the suite the error message, "Licensing for this product has stopped working." I rest

    I had to restore my iMac from Time Machine. After the restoration all programs are functioning except my Adobe Creative Suite 4 Design Premium. When I start any program in the suite the error message, "Licensing for this product has stopped working." I restarted the computer and tried again to run Photoshop and the same error message appeared. The message was followed by a message that stated that I needed to contact Adobe technical support and mention Error: 150.30. I need Adobe technical support to provide me a solution for my problem so I can continue using my Adobe products installed on my computer.

    Unfortunately when Adobe products are restored from backup, especial CS4 and especially Mac, it breaks licensing.
    There is a python script included in the license recovery kit that should work if you are familiar with Terminal.
    If not, you must reinstall your CS4 suite.  You don't need to delete your preferences, so it should be the same as before.
    Error "Licensing has stopped working" | Mac OS
    Gene

  • Report which would collect all users in STAD running an specific program

    Hi
    How could I make an report which would collect all users in STAD running an specific program daily. The issuse is that this program is not available in sm20. How could I then send this list to list of receipients?
    I have in mind to "submit "stad" but it is long time ago I used this and I do not have access to that source
    THX

    we found solution via a job runned report with variant

  • [All Platforms][Subscription] Making Spotify Premium available paying for hourly rates

    Hey there!Why Spotify Premium subscription only monthly?
    It would be really useful a subscription Premium hourly rate! for example for the listener an hour a day (unfortunately), a monthly subscription is over ... what do you think? Hello and thanks.Perry

    Updated: 2015-07-28Hello Perry and thanks for the feedback!
    A similar idea to make Spotify Premium based on the actual usage has also been suggested here:
    https://community.spotify.com/t5/Live-Ideas/Subscription-Make-Spotify-Premium-usage-based/idi-p/1167051
    Add your kudos and comments there please! ;)

  • Move WIndows Azure Visual Studio Premium Subscription to another Azure account

    Our organization have Azure account with WIndows Azure Visual Studio Premium Subscription. Can we move this subsctiontion to another Azure account?

    This is how we migrating from old subscription to a new one, this usually occurring when companies using MSDN account or Bizpark account want to migrate to their new EA/OPEN license accounts.
    Important:
    before you decide to migrate data from one Azure Subscription/Microsoft Account to another, you should check the pre-requisites beforehand (see at the end of this article).
    To create a support ticket
    To migrate data or move subscriptions between different Microsoft Accounts, follow these steps:
    Go to
    Azure support site
    Click on “Get Support”
    This will cause you to have to authenticate to the Azure portal 
    Once loaded, you’ll get a modal window like this one.  Select “Billing” for support type:
    5. On the next page you have a number of options, if you want to migrate a subscription or data, go with the option “Subscription transfer and Migrations”
    6. In the Category, you can be more specific with your request
    7. On the final page, enter contact information
    Once you submit the ticket, a representative from the Azure Support team will be in touch via Email or Phone to confirm the details with you.
    Microsoft Azure Data Migration/Data Transfer Pre-requisites
    Ensure you review each point before submitting a service ticket:
    The source as well as destination subscription should be active,
    Microsoft do not support selective service transfer. i.e. transfer selected hosted service, storage service from one subscription to another. It may become available in future but today,
    we transfer all or nothing.
    Destination subscription must be completely empty. If there is any data on the destination, we will be performing a force migration which will transfer the data.
    Source subscription and destination subscription must have the same service admin (at least till the migration completes).
    List of services that can be migrated by us:
    Virtual Machines
    Cloud Services
    CDN
    Web sites
    Media Services
    Service Bus
    Storage
    Multi Factor Authentication
    Traffic Manager
    Mobile Services
    Virtual Network
    Access Control Service (ACS)
    Caching – we need to work with Engineering Team for migrating caching service
    Reserved IP Address and the Reserved IPs under the list
    Self- serve Migration:
    VSO
    SQL DB
    MFA
    These are the services that cannot be moved:
    Active Directory (AAD)
    BizTalk Services
    HD Insight
    Backup
    Hyper-V Recovery Manager
    Azure Store
    Import / Export
    Scheduler
    Management Services
    SQL Reporting
    Note: Microsoft won’t be able to perform data migration, if source as well as destination has  mobile services deployed. You would need to take the backup of mobile services
    from either Source or Destination delete it and once the data migration is completed, you can redeploy the mobile services on destination.
    Additionally  follow these steps to change the Service Administrator if it’s not same:  
    Login in to
    https://account.windowsazure.com.
    Click ‘Subscriptions.’
    Select the subscription
    Click “Edit subscription details.”
    Note: the Service Administrator needs to be the same for both target and source subscriptions.

  • XML Publisher Report Bursting Program Randomly failing

    Hi,
    In our environment "XML Publisher Report Bursting Program" fails randomly and failures are very very few and random, and can not be reproduced.
    The error message is
    +++++++++++++++++++++++++++++++++++++++++++
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    Current system time is 16-APR-2013 14:00:42
    Exception in thread "main" java.lang.NullPointerException
    at java.util.Hashtable.put(Hashtable.java:394)
    at oracle.apps.xdo.oa.cp.CPUtil.getSessionProperties(CPUtil.java:42)
    at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:84)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine
    Program exited with status 1
    Executing request completion options...
    ++++++++++++++++++++++++++++++++++++++++++++++
    Had been trying to find out any pattern, but no fix time or particular parent request.
    Only common point in failure with above error are below columns in fnd_concurrent_request
    Description - blank
    LFILE_SIZE - 1476
    & interim_status_code - Blank
    Any suggestions will be helpful

    Hi;
    Similar issue mention at below notes, Please review:
    NPE Error While Bursting Using XDOBURSTREP in EBS R12 [ID 754790.1]
    Bursting Engine Ends With Java.Lang.Nullpointerexception[Article ID 559443.1]
    XDOBURSTREP - XML Publisher Report Bursting Program Fails with InvalidPropertyValueException[Article ID 603424.1]
    If its not help I suggest rise SR
    Regard
    Helios

  • XML Publisher Report Bursting Program ends in error

    We have a report that generates the XML output (ACH notification)
    In the after report we have a call to the Bursting program.
    The ACH notification completes with the correct output but the bursting ends in error showing
    Set Bursting parameters..
    Temp. Directory:/tmp
    [101211_072452383][][STATEMENT] Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 Production
    [101211_072452385][][STATEMENT] setOAProperties called..
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=28081235, user-variable:cp:language=en, user-variable:cp:responsibility=50274, user-variable.OA_MEDIA=http://xxx/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=28081235, user-variable:cp:locale=en-US, user-variable:cp:user=xxx, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=28081236, user-variable:cp:org_id=83, user-variable:cp:reportdescription=xxx ACH Payment Nofitication}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    --Exception
    /tmp/101211_072452427/xdo1_2.pdf (No such file or directory)
    java.io.FileNotFoundException: /tmp/101211_072452427/xdo1_2.pdf (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:523)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    The temp directory variable in the XML Publisher is /tmp which has all the permissions.
    The control file calls the delivery method (email 123 in the example) and uses the following template
    <xapi:document key="" output-type="pdf" delivery="123">
    <xapi:template type="rtf"
    location="XDO://XBOL.ACHPAYNOTIF.en.US/?getSource=true" filter=""/>
    </xapi:document>
    This template is defined for English language and Territory United States.
    I covered everything I could find here and in metalink and still cannot make it work.
    Any ideas?

    Hi;
    Similar issue mention at below notes, Please review:
    NPE Error While Bursting Using XDOBURSTREP in EBS R12 [ID 754790.1]
    Bursting Engine Ends With Java.Lang.Nullpointerexception[Article ID 559443.1]
    XDOBURSTREP - XML Publisher Report Bursting Program Fails with InvalidPropertyValueException[Article ID 603424.1]
    If its not help I suggest rise SR
    Regard
    Helios

  • XML Report Publisher program is erroring out

    Hi All,
    I've customized the AR Customer Statements.
    I've created a data definition as "ARXSGP" and uploded the sample_output.xml of Statement Generation Program to it. Also I've created a Data template as "ARXSGPO" and attached the data definition "ARXSGP" to it and uploaded the customized rtf file "XXHCC_CLE_F_ARCUSBALSL.rtf" and set the default output type to PDF.
    As I donot wish to call the XML Report Publisher program manually every time when I Print the Statements through Print Documents-->Statements.
    So I've done the below customization in ARXSGP.rdf file ie; Print Statements Report which is an Oracle Report.
    I've added the below code in After Report trigger.
    =======================================
    FUNCTION AfterReport
    RETURN BOOLEAN
    IS
    BEGIN
    Below code added for Customer Statement Case Study
    DECLARE
    l_req_id NUMBER := 0;
    L_XML_LAYOUT BOOLEAN := TRUE;
    BEGIN
    L_XML_LAYOUT := FND_REQUEST.ADD_LAYOUT (TEMPLATE_APPL_NAME => 'AR', TEMPLATE_CODE => 'ARXSGP', TEMPLATE_LANGUAGE => 'en', TEMPLATE_TERRITORY => 'US', OUTPUT_FORMAT => 'PDF');
    IF L_XML_LAYOUT THEN
    srw.message(20001, 'Template is picked ');
    srw.message(20002,'Concurrent request Id : '||:p_conc_request_id);
    l_req_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
    'XDOREPPB',
    NULL,
    NULL,
    FALSE,
    :p_conc_request_id,
    222, -- Receivables
    'ARXSGPO', -- Statement Generate
    'en-US', -- English
    'N',
    'RTF',
    'PDF');
    IF l_req_id > 0 THEN
    COMMIT;
    ELSE
    srw.message(20004, 'Failed to submit request');
    END IF;
    ELSE -- Not L_XML_LAYOUT
    srw.message(20005, 'Template is not picked ');
    END IF;
    END;
    --------------------Code Ends----------------------------
    SRW.USER_EXIT('FND SRWEXIT');
    RETURN (TRUE);
    END;
    ==============================================
    After Printing the Statements through Print Documents-->Statements
    Statement Generation Program is being called and later XML Report Publisher program is also being invoked.
    But the XML Report Publisher Program is erroring out with below error.
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOREPPB module: XML Report Publisher
    Current system time is 03-SEP-2012 17:42:18
    Oracle XML Publisher 5.6.3
    java.lang.NumberFormatException: For input string: "ARXSGPO"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:447)
         at java.lang.Integer.parseInt(Integer.java:497)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:215)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    0
    ------------- 1) PUBLISH -------------
    Disabling requested Output Post Processing. Nothing to process. The output of the request is zero byte.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 03-SEP-2012 17:42:22
    Please help out with a solution.
    Thanks,
    Tech D

    for r12 add one row for parameter "Dummy for Data Security" from desc of XDOREPPB
    follow works for me
    SQL> set serveroutput on
    SQL>
    SQL> declare
      2    v_request_id   number;
      3  begin
      4 
      5   begin fnd_global.apps_initialize(0, 20419, 0); end;
      6   v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
      7                                              'XDOREPPB',
      8                                              NULL,
      9                                              NULL,
    10                                              FALSE,
    11                                              'N', -- Dummy for Data Security
    12                                              9888637, -- Request
    13                                              0, -- Template Application
    14                                              'XXAND10_1', -- Template
    15                                              'en-US', -- Template Locale
    16                                              'N', -- Debug Flag
    17                                              'RTF', -- Template Type
    18                                              'RTF' -- Output Format
    19                                              );
    20 
    21    dbms_output.put_line(v_request_id);
    22    if v_request_id > 0 then
    23      dbms_output.put_line('successfully submitted.');
    24      commit;
    25    else
    26      dbms_output.put_line('not submitted.');
    27      rollback;
    28    end if;
    29 
    30  end;
    31  /
    9888651
    successfully submitted.
    PL/SQL procedure successfully completed
    SQL> 'Y' for "Dummy for Data Security" also works for me
    SQL> declare
      2    v_request_id   number;
      3  begin
      4 
      5   begin fnd_global.apps_initialize(0, 20419, 0); end;
      6   v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
      7                                              'XDOREPPB',
      8                                              NULL,
      9                                              NULL,
    10                                              FALSE,
    11                                              'Y', -- Dummy for Data Security
    12                                              9888637, -- Request
    13                                              0, -- Template Application
    14                                              'XXAND10_1', -- Template
    15                                              'en-US', -- Template Locale
    16                                              'N', -- Debug Flag
    17                                              'RTF', -- Template Type
    18                                              'RTF' -- Output Format
    19                                              );
    20 
    21    dbms_output.put_line(v_request_id);
    22    if v_request_id > 0 then
    23      dbms_output.put_line('successfully submitted.');
    24      commit;
    25    else
    26      dbms_output.put_line('not submitted.');
    27      rollback;
    28    end if;
    29 
    30  end;
    31  /
    9888652
    successfully submitted.
    PL/SQL procedure successfully completed
    SQL>

  • Signal 10 error in Report Concurrent Program

    Hi,
    Signal 10 error is thrown when I run a report through concurrent program. Report is cusomized from the Standard Report.
    Environment: Oracle Apps R12, Reports 10g, Solaris 64 bit
    Below is the trace/log file for the same..:
    XXX Other Customs: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXRPO009_PSP module: XXX Print Standard Purchase Order Report
    Current system time is 05-AUG-2008 06:31:21
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_APPROVED='Approved'
    P_REPORT_TYPE='New'
    P_EMAIL='All'
    P_TO_EMAIL='N'
    -- Start of Reports Command --
    /newu05/R12/C4UPG3/inst/apps/C4UPG3_usindinfra03/ora/10.1.2/bin/appsrwrun.sh
    mode=character
    P_CONC_REQUEST_ID=46341106
    P_APPROVED='Approved'
    P_REPORT_TYPE='New'
    P_EMAIL='All'
    P_TO_EMAIL='N'
    report=/newu05/R12/C4UPG3/apps/apps_st/appl/xxhd/12.0.0/reports/US/XXRPO009.rdf
    batch=yes
    destype=file
    desname=/newu05/R12/C4UPG3/inst/apps/C4UPG3_usindinfra03/logs/appl/conc/out/o46341106.out
    desformat=/newu05/R12/C4UPG3/apps/apps_st/appl/fnd/12.0.0/reports/L
    pagesize=132x65
    -- End of Reports Command --
    Request language is :
    AMERICAN
    Request territory is :
    AMERICA
    APPLLCSP Environment Variable set to :
    Previous NLS_LANG Environment Variable was :
    American_America.UTF8
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    stat_low = 8A
    stat_high = 0
    emsg:was terminated by signal 10
    Enter Password:
    Reset original NLS_LANG in environment as :
    American_America.UTF8
    Program was terminated by signal 10
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 46341106.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 05-AUG-2008 06:38:28
    Any pointers will really help me out...
    Thanks
    Ram

    this is an apps issue. Could you post in apps forum

  • Creating Tcode for report painter program in 4.0B version?

    hi all,
    How to create a tcode for report painter program in 4.0 B?
    I searched the forums. but i couldn't find the same for 4.0 B?
    Please helo me to solve this?
    Thanks,
    Vamshi

    I am closing as no one answered and worked in alaternative way for the requirement.

  • Cancel Premium Subscription and transfer to NEW Spotify account

    Hi Spotify team,  as you may all know, facebook as engaged in a dirty habit of blocking our profiles and spotify accounts along with them and i've since understood that i needed to create a new account unattached from facebook. My old account has a premium subcription for a year that i'm still being charged for but not using under Anthony****[email protected] and my new account is registered under J****[email protected] and i would love for this account to benefit from my premium subscription. Please Help, i seriously don't want to end up leaving and going to a different music provider, i like your services just as they're offered. Thanks

    Hi Spotify team,  as you may all know, facebook as engaged in a dirty habit of blocking our profiles and spotify accounts along with them and i've since understood that i needed to create a new account unattached from facebook. My old account has a premium subcription for a year that i'm still being charged for but not using under Anthony****[email protected] and my new account is registered under J****[email protected] and i would love for this account to benefit from my premium subscription. Please Help, i seriously don't want to end up leaving and going to a different music provider, i like your services just as they're offered. Thanks

  • Archived vs On demand Reports

    Hi, My client is comparing newly generated on-demand reports with old archived pdfs. Some contracts that were in Active state in 2007/2008 have expired/cancelled or lapsed since then. My reports are showing latest information. Even the totals are not matching as there have been adjustments/updates to contracts over a period of time. What are the options available in this case...? Thank you.

    select a,b,c
    from table1
    where :p_select=1
    union
    select a,b,c,sum(a,b),sum(b,c)
    from table2
    where :p_select=21. Actually the way you are writing query its wrong. While you are using UNION, UNION ALL, MINUS etc.. then the number of columns which are in SELECT statement should be same and also datatypes should be same.
    2. The way aggregate (SUM, COUNT, AVG etc) function you are using in your query is also the wrong. You can not use two columns in one aggregate function.
    3. As you are using aggregate function in your query you must have to use GROUP BY clause.
    Is it possible to use different select query based on condition...just like if-then-else.? Thanks.By this sentence i can not understand what you actually want. If you can provide any example what is your data and what is your desired output then its will be better to prepare query.
    But the query you use it can be like this...
    select a,b,c, 0 col1, 0 col2
    from table1
    where :p_select=1
    union
    select a,b,c, NVL(sum(a),0) + NVL(SUM(b),0) col1, NVL(sum(b),0) + NVL(SUM(c),0) col2
    from table2
    where :p_select=2
    GROUP BY A,B,CIf you problem is not getting solve by this. Then just provide any example data and what is your desired output. Then you can get the better reply.
    -Ammad
    Edited by: Ammad Ahmed on Apr 15, 2010 11:06 PM

Maybe you are looking for