Error running a query and creating a query report.

Hi all
I have a problem with a query when I'm running it or trying to create a report for it.
23/09/2009  11:47:31: 1). [Microsoft][SQL Native Client][SQL Server]Arithmetic overflow error converting expression to data type datetime.
'Document' (RDOC) -- Run query
23/09/2009  11:01:58: 1). [Microsoft][SQL Native Client][SQL Server]Invalid object name 'CSHS.T0'.
2). [Microsoft][SQL Native Client][SQL Server]Statement 'Received Alerts' (OAIB) (s) could not be prepared. - create a query report
This happened on a Windows Server 2003 OS , when I ran the same query on local pc on xp it ran fine on both scenarios.
Please help
Bongani Dlamini

select SlpName, ItmsGrpNam, sum(LineTotal) as 'Total Sales Minus Returns'
from
SELECT T4.SlpName, T3.ItmsGrpNam, T0.LineTotal FROM dbo.INV1 T0 INNER JOIN dbo.OINV T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T0.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod INNER JOIN OSLP T4 ON T0.SlpCode = T4.SlpCode WHERE T1.DocDate >=[%0] and T1.DoCdate<=[%1]
UNION
SELECT T4.SlpName, T3.ItmsGrpNam, (T0.LineTotal * -1) AS 'LineTotal'
FROM dbo.RIN1 T0 INNER JOIN dbo.ORIN T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T0.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod INNER JOIN OSLP T4 ON T0.SlpCode = T4.SlpCode WHERE T1.DocDate >=[%0] and T1.DoCdate<=[%1 ]
) InvoicesMinusReturnsDerivedTable
group by slpname, ItmsGrpNam

Similar Messages

  • Link Query and Ref Cursor Query

    Hi all!!
    How can I link Query and Ref Cursor Query??
    I mean, How can I pass input parameters to the PL/SQL procedure if they are not User parameters but they come from another table??
    Thanks a lot
    F.

    I have searched the forum and this is the closest to my problem.
    Just started using ref cursors in my reports.
    The problem I am running into is that I have two ref cursor queries in my report - they each contain a column named seq_no which forms a join (in the database) .
    My report returns the correct number of records in each query, but I can't find a way to enforce the join. I've tried all the methods I can think of including combining the results into one query.
    The IDE won't let me join on a column and when I join on the group (which I make only contain the seq_no fields) that join is ignored.
    Can anyone help me on this?

  • No flashback versions query and flashback transaction query tools on EM?

    No Flashback Versions Query and Flashback Transaction Query tools on EM Console?
    How to do Flashback Versions Query work and Flashback Transaction Query on EM Console?

    No Flashback Versions Query and Flashback Transaction
    Query tools on EM Console?WOrks on mine.
    How to do Flashback Versions Query work and Flashback
    Transaction Query on EM Console?Part of the Maintenance , Recovery wizard. Not intended to be a casual query tool.

  • BW QUERY and BW MDX Query

    Hi,
    While creating a report through crystal i see one option while creating a connection to database.
    SAP BW Query
    SAP BW MDx Query.
    Could anyone told me whats the technical diffrence between two.
    When option should be used when.
    Thanks
    Ashwani

    The BW Query Driver is an old version. the BW MDX is an enhanced version.
    The BW MDX Driver is able to leverage a BW query with two structures and it shows display attributes.
    ingo

  • How to link a non-linkable query and a plsql query in the datamodel

    Hi,
    I am creating a matrix group....
    Where in I get my
    1) Column values from a non-linkable query - Period (Jan, Feb....)
    2) Row values from a plsql query (ref cursor). Group is also from this query
    3) Cross product is on the above two queries.
    4) Cell info comes from a plsql query (refcursor).
    I created a group link from the cross product group (3) to the cell info query (4)
    I prepared the layout and executed the report... I am getting redundant data....
    The reason being the (4) and (1) are not linked properly.
    From google, About non-linkable queries column.... I understood that to link two non-linkable queries, we need to create a group link and then add a where clause in the child query referring the parent query column.
    But my case is a non-linkable query (which is a parent ) and a plsql query which is the cell.
    Any help...?
    Thanks in advance.
    KK

    Hello Sam,
    >
    I was wondering if you could have any link or examples to show how to make a form with report and an insert form in the same page, these two forms are related to the same table. Our customer wants a user can add new row to the table in a form and see all of rows created by this user in a report, this report should provide edit link as well. the problem is: whenever I inserted a new row or edit a row or delete a row, and submitted, and return to this page, all of hidden items lost their values, so report is blank, and some display only items also lost their values. Could anyone give me suggestions?
    >
    This will help:
    http://www.grassroots-oracle.com/2011/09/apex-tutorial-form-report-sharing-same.html
    Hope it helps!
    Regards,
    Kiran

  • Error Running Oracle Apps and Discoverer at the same time

    Hello,
    We are having trouble running Oracle Apps and Discoverer at the same time on certain user's machines. Here are the specifics:
    The user opens Oracle Apps in Internet Explorer. The user then opens Discoverer in another Internet Explorer windows and receives the following error: Runtime Error! Program: C:\Program Files\Internet Explorer\iexplore.exe abnormal program termination
    As a work around, I installed Firefox on those user's machines. These users run Oracle Apps in Internet Explorer and run Discoverer in FireFox. This has solved the problem in 99% of the cases. However, there is one user who is having FireFox using Discoverer freeze when running Oracle Apps in Internet Explorer.
    Can anyone provide any insight on how I can solve these conflict issues so users can run Oracle Apps and Discoverer at the same time?
    Thanks in advance for your help,
    Carlos

    Hi Michael,
    I agree with you completely. It is reccommended to run 10g on a separate physical server unless you have sufficient resources to run on the same server (which even most large clients do not) Even then, I would recommend a separate server.
    I should have put my comment in context :-)
    a.) I was only stating that it was possible
    and
    b.) whether 10g is installed on the same physical server or separate should not affect the client browser crashing issue that was posted.
    I do have an install with EBS11i and Discoverer 10g on the same physical server and it works fine (this is sandbox/ TEST). Most of my large customers have 10g installed on multiple physical servers due to load balancing (capacity).
    I do work for Oracle. I try to help out on the forum when I can, but it is hit or miss :-(
    I would be glad to discuss anything privately.
    As for the issue at hand, I can reproduce the problem and here is what is occuring.
    I have EBS 11i configured with Jiniator 1.3.24
    I have Discoverer 10g configured with Sun Java plugin 1.4.2_06
    1. If you launch EBS 11i apps and a form with MS IE, then the browser launches the form using Jiniator JRE 1.3.xx (whatever you have configured in AutoConfig for EBS11i)
    2. Next, the user navigates to EBS 11i SSWA and launches a Discoverer workbook.
    What occurs is a child IEXPLORE.exe process is spawned from the parent IEXPLORE.exe process and Discoveer Plus is launched. The parent iexplore.exe process will be attached to the Jiniator JVM. Now if Discoverer is configured with
    a.) Sun Java Plugin or
    b.)a version of Jinitiator that is a different version from what EBS 11i is configured with
    then you may get this conflict.
    It really is an MS IE/JRE conflict with Jinitiator and Sun Java Plugi and the way the broswers attaches to the JVM (IMHO) as this behaviour could be reproduced with other non-oracle java applets.
    You can workaround the situation by:
    a. configure EBS11i and Discoverer to use the same version of Jiniator 1.3.xx
    b. educate the users to open one MS IE browser to connect to EBS11i and then open a second MS IE browser to login to EBS11i SSWA or Discoverer 10g Plus directly to launch workbooks. They need to to this by clicking on the icon and not using File >> New browser. Clicking on the icon will spawn a new parent iexplore.exe process that can attach to a second/different JVM. File >> New Window will spawan a child of the parent.
    c. As you did use two browser versions. MS IE for EBS11 connection and FireFox for Disocverer 10g connection.
    I would choose optoin b, so that you can use Sun Java Plugin with Discoverer.
    Open to any comments. I hope that helps you workaround the problem. The ideal solution is to have EBS 11i use/cerified with the 1.4 or 1.5 JRE. In poking around, I see there is a related post to this on one of Oracle's EBS 11i Product Managers Blog.
    See:
    http://blogs.oracle.com/schan/2006/04/18#a23

  • Authorization on Modify Y* Query and View Z* Query

    Hi Experts,
    is it possible to allow user to modify only Y* query and to display Z* and Y* query?
    I add two times S_RS_COMP (&S_RS_COMP1) in the SAME role (PFCG), one time allowing ALL activities for Y* query and othe allowing only display activity on Z* query...but it doesn't work! I have to do 2 different roles and add the two roles to the user?
    Any hints will be rewarded.
    Many thanks in advance,
    Fabio.

    mentioning in one role or two roles depends on your requirement.
    if you are planning of using one role, entries should be as below.
    S_RS_COMP
              actvt  --03, 16
              rszcompid -- Z*
    S_RS_COMP
              actvt  -- *
              rszcompid -- Y*
    S_RS_COMP1
              actvt ---*
              rszcompid ---Z, Y

  • Differences between Native Query and Hibernate Native Query?

    What is the differences between this two queries? as i was looking for native query. i saw hibernate native query... from what i've search through the internet, i know noted that hibernate query and native query is a totally different queries
    so is hibernate native query belongs to hibernate query? i m quite confuse 2 differentiate this with native query

    hi,
    Information is retrieved from the data base for use in out programs via a special language known as structured query language (SQL). SQL is a language designed for the use with relational data base systems.
       Open SQL is a subset of native SQL . SQL has been divided into two parts.
    > Open SQL  can recognized by the ABAP program.
    > They are 10 SQL statements out of which we use only 5.
    1. Select.
    2. Insert.
    3. Delete.
    4. Modify.
    5. Update.
    6. Fetch.
    7. Open Cursor.
    8. Close Cursor.
    9. Roll Back.
    10. Commit.
    out of which we use only the first 5.....
    > Native SQL. cannot be recognized by the ABAP program.
    > To execute Native SQL
    Exec SQL.
    End Exec.
    as it cannot be recognized by the ABAP we go for Open SQL.
    If this has helped u solve ur problem then dont forget to reward them with pointrs.
    with regards,
    madhuri.

  • Getting an Error WIJ20002 while trying to create a webi report in infoview

    Hi,
    We are getting an error " The Webintelligence Report Panel cannot connect to the server.Close the report panel and try to connect again or see your Business Objects Administrator ( WIJ20002)" only for a single universe.
    Please suggest how can we fix this error.
    Regards
    Chaitanya

    I am giving you couple of scenario based on which this error might occur.I include below a selection of what would seem to be the more relevant ones in your case. Please review these and try the suggested solutions and then let us know the outcome in each case.
    Scenario1:
    When creating a new document based on linked universes in InfoView 6.5.x, the following error message appears:
    "The WebIntelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your BusinessObjects administrator. (Error: WIJ 2002)."
    When you click on details, the following error message appears:
    "java.lang.IllegalStateException: Cannot load DS; no ID set
    at com.bo.wp.om.OMDataProvider.getDataSource(OMDataProvider.java:192)
    at com.bo.wp.tc.TCMain.newDocument(TCMain.java:807)
    at com.bo.wp.tc.TCMain.initDocument(TCMain.java:649)
    at com.bo.wp.tc.TCMain.initClient(TCMain.java:1253)
    at com.bo.w.tc.thread.InitAppletRunner.run(InitAppletRunner.java:82)
    at java.lang.Thread.run(Unknown Source)"
    Resolution:
    In Supervisor, the user does not have the Import Universe right in the designer.
    Enable the Import Universe right for the user, and ensure they have rights at the user and group level.
    Scenario2:
    In BusinessObjects version 6.5, when attempting to create a new WebIntelligence report using the Java Query Panel, one of the following error messages appears:
    "The Web Intelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your Business Objects Administrator (Error: WIJ 20002)"
    or
    u201CWeb Intelligence cannot retrieve this document due to a server problem or an error in the document structure. See your Business Objects Administrator".
    Also, the bottom of the Java applet window states Launching new document.
    Resolution:
    The error messages occur because either the universe file name contains an ampersand character (u201C&u201D) in the name or the .unv or .unw files used by the Java Query Panel have become corrupted.
    To resolve the error messages
    Navigate to <installation directory>:/Business Objects/BusinessObjects Enterprise 6/nodes/<server name>/<cluster name>/universes/.
    Remove the .unv file for the derived universe.
    Navigate to <installation directory>: /Business Objects/BusinessObjects Enterprise 6/nodes/<server name>/<cluster name>/universes/<universe domain name>/ucdz.
    Remove the .unw file for the derived universe.
    Remove the ampersand character ("&") from the universe name.
    Scenario3:
    Problem:
    Error: "The WebIntelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your BusinessObjects administrator. (Error: WIJ 20002)" when you try to open the Java Report Panel.
    Resolution:
    ****CONFIGURATION*****
    WebIntelligence version 6.1b
    Windows 200 Server SP4
    IIS 5
    JDK 1.42_03
    **********SYMPTOMS******
    You try to open the Java Report Panel and you receive the following error:
    "The WebIntelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your BusinessObjects administrator. (Error: WIJ 20002)"
    *********CAUSE*************
    You do not have the correct permissions to access files from the wiasp virtual directory. The virtual directory and all sub-directories were initially configured to use "Scripts only" or "None".
    *********RESOLUTION*****
    Here are the steps to follow:
    1. Open the Internet Information Services Manager Console.
    2. Expand the "Default Web Site" and "wiasp" directories.
    3. Right-click each of the following directories, and in Properties for each, set the respective value for Execute Permissions:
    scripts = "Scripts"
    viewers = "Scripts"
    bin = "Scripts and Executables"
    classes = "Scripts"
    onlineguides = "Scripts"
    help = "Scripts"
    distribution = "Scripts" or "None"
    Scenario4:
    Problem:
    Error: "WebIntelligence Java Report Panel cannot connect to the server (WIJ 20002)" when attempting to create a new report
    Resolution:
    ****CONFIGURATION*****
    WebIntelligence 6.5.x
    **********SYMPTOMS******
    You attempt to create a new report using the Java panel based on a universe. The universe list appears as expected, but upon selecting the universe you receive an error similar to the following:
    "The WebIntelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your BusinessObjects administrator. (WIJ 20002)"
    *********CAUSE*************
    There is a connectivity issue to the universe and/or document domain. The universe list is still displayed because that information is cached.
    *********RESOLUTION*****
    Here are the steps to follow:
    1. Log into Supervisor as a General Supervisor.
    2. Go to Tools > Repository to open the Repository Management dialog where domain connections are listed.
    3. Test the document and universe domain connections and update where needed to establish connectivity.
    Scenario5:
    Problem:
    Error: "WIJ 20002" when launching the Java Report Panel on a Windows 2003 Server.
    Resolution:
    ****CONFIGURATION*****
    WebIntelligence version 6.5
    Windows 2003
    IIS 6
    **********SYMPTOMS******
    You launch the Java Report Panel on a Windows 2003 Server and receive the following error:
    The WebIntelligence Java Report Panel cannot connect to the server. Close the report panel and try to connect again or see your Business Objects administrator. (Error: WIJ 20002).
    *********CAUSE*************
    This error message appears because ISAPI (Internet Server Application Program Interface) extensions are disabled by default on IIS 6.
    *********RESOLUTION*****
    Here are the steps to follow to enable ISAPI extensions:
    1. Click Start > All Programs > Administrative Tools > Internet Information Services (IIS) Manager.
    2. Expand the "" beside the server name by clicking the "" icon.
    3. Select "Web Service Extensions."
    4. Select "All Unknown ISAPI Extensions" from the right pane and click "Allow."
    5. Restart the IIS web server.
    I know it's a bit long but i hope this will help you to some extent in troubleshooting WIJ2002 Error.

  • Error message when trying to create any query

     
    I am trying to run a query on my sql server and get the following error message:
    "An error occurred while executing batch. Error message is: The directory name is invalid."
    how do I fix?

    With me it had indeed something todo with some temp files.
    Me and my colleague where logged on to a remote server (remote desktop connection), and on that server we were both using the sql management studio.
    Suddenly we both received the error "An error occurred while executing batch. Error message is: The directory name is invalid.".
    The solution for us was just logging out (ALL USERS) that were currently connected (with a remote desktop connection and that were working with the sql management studio) and afterwards logging back in. That solved it here.
    Regards
    Thomas

  • Urgent ! open the same page in query and create record mode...

    We have to page in our project
    First page include a list show employees(page1) and second page(page2) showsdetail information on employees.
    We have two button on page1 ("CREATE NEW EMPLOYEES" and "EDIT EMPLOYEES")
    When we press create button we need to create a record on second page.
    Second page is needed to open create insert mode.
    When we press edit button we need to edit emloyees details.
    Second page shows queried record.
    can we implement this using faces config xml without writing code . Or do we need to write code.
    How can we implement create insert and query event on the same page call (page2)...
    Thanks a lot...

    Hi,
    using ADF, drag the edit button from the component palette and point its navigation case to the next page that contains the edit form.
    Drag and drop the create button from the data control palette by dragging the "create" operation of the VO to the page. Also set the navigation case to the edit form and change the pagedef file (the binding) for this "Create" operation to use CreateInsert as an operation
    Frank

  • Use the results of an SQL query to create another query

    I am working on a bidding/allocation system using C# and MySQL, and I am currently having difficulty implementing the “post-allocation” mechanics of the system. Let me explain how it works, before introducing the code:
    When the bids are made on the system, they all have the position 0, so the first thing the system does is order them according to priority.
     (bid table)
    In this case, 5 bidders are interested in what is in plot 15, but we have not assigned them a position yet.
     (bid table)
    The system then organises the bids according to the order in which they are going to processed.
    The bids are then allocated, but unfortunately there are only 3 spaces in plot 15 that can be allocated. As a result, we use the priority listing to determine which bidder gets what.
     (booking table)
    At this stage, I can say that I am stuck, there are two things that I want to do, both of which involve reusing the results of the query at step 2.
     (bid table)
    The bidders that have their job allocated should see: their bid.status updated
    from Queued to Allocated,
    the bid.position should
    be set to 0,
    and their job_id should
    be set to the booking they have been allocated (i.e. booking.id).
    The bidders that have not had their jobs allocated should see: their bid.status remain
    as Queued, and their bid.position should
    be set to 0 in
    preparation for the method to run again
    The difficulty I am having is in stage 3, how do I determine which jobs have been allocated and which ones have not, and then run the necessary SQL queries in order to make the updates?
    My code so far is as follows:
    // STEP 1a - SELECT BIDS
    string query =
    "SELECT t1.operator_id, t1.datetime, t1.plot_id, t1.position, t2.market_access FROM bid t1 " +
    "JOIN operator t2 ON t1.operator_id = t2.id WHERE t1.status='Queued' AND t1.postcode=@postcode " +
    "ORDER BY t2.market_access ASC, t1.datetime ASC";
    var bidList = new List<BidList>();
    var cmd = new MySqlCommand(query, _connection);
    cmd.Parameters.AddWithValue(("@postcode"), _plot);
    MySqlDataReader dataReader = cmd.ExecuteReader();
    while (dataReader.Read())
    var item = new BidList
    OperatorId = dataReader["operator_id"] + "",
    PlotId = dataReader["plot_id"] + "",
    Position = dataReader["position"] + "",
    Datetime = dataReader["datetime"] + "",
    MarketAccess = dataReader["market_access"] + "",
    bidList.Add(item);
    dataReader.Close();
    // STEP 1b - SET PRIORITIES
    for (var i = 0; i < bidList.Count; i++)
    var position = i + 1;
    bidList[i].Position = position.ToString();
    query = "UPDATE bid SET position=@position WHERE status='Queued' AND postcode=@postcode AND operator_id=@operator_id;";
    cmd = new MySqlCommand(query, _connection);
    cmd.Parameters.AddWithValue(("@position"), position);
    cmd.Parameters.AddWithValue(("@postcode"), _plot);
    cmd.Parameters.AddWithValue(("@operator_id"), bidList[i].OperatorId);
    cmd.ExecuteNonQuery();
    dataReader.Close();
    // STEP 2 - ALLOCATE JOBS ACCORDING TO PRIORITY
    foreach (var t in bidList)
    query = "SELECT operator_id, plot_id, status FROM booking " +
    "WHERE status='open' AND postcode=@postcode AND operator_id='0'" +
    "ORDER BY datetime ASC;" +
    "UPDATE booking SET operator_id=@operator_id, status='Allocated' " +
    "WHERE (plot_id=@plot_id AND operator_id='0' AND status='Open') LIMIT 1;";
    cmd = new MySqlCommand(query, _connection);
    cmd.Parameters.AddWithValue(("@operator_id"), t.OperatorId);
    cmd.Parameters.AddWithValue(("@postcode"), _plot);
    cmd.Parameters.AddWithValue(("@plot_id"), t.PlotId);
    cmd.ExecuteNonQuery();
    dataReader.Close();
    // STEP 3
    CloseConnection();

    I can't tell.  When modifying row(s) you have to be able to uniquely be able to identify the row(s) in the database you want to modify.  That is why I recommended the other day to use DataAdapter instead of the DataReader.  You can with the
    reader, but you need to unique identify the rows.
    I can't tell from the limited amount of data you posted if in table 2 that there is only one row with the same operator id and plot id.  It looks like in table 2 the 'id' number is unique.  When working with a database with multiple tables you
    need to be able to link tables together with primary keys (columns wit unique values).  If the database isn't designed properly then it is impossible to do some operations.  So you always have to make sure you design a database properly.
    jdweng
    When you say table 2 are you referring to the bid or booking table?
    Here is the table structure for the bid table
    Here is the table structure for the booking table
    Hope it helps makes things clearer!

  • Designing a query and displaying the query output

    The goal is to create a report (in HTML form) of all the jobs
    (and job-related information) for a given department.
    I envision the department name as a hyperlink to a report
    based on the unique DepartmentID.
    For example, the “Sales” department might contain
    these jobs:
    VP of Sales
    Associate Salesperson
    Sales Assistant
    Each job requires a set of skills and a specific skill level.
    “Persuasion skill” could vary as follows:
    VP of Sales: ADVANCED persuasion skill
    Associate Salesperson: MODERATE persuasion skill
    Sales Assistant: BASIC persuasion skill
    “Communication skill” could vary as follows:
    VP of Sales: EXPERT communication skill
    Associate Salesperson: ADVANCED communication skill
    Sales Assistant: NOT REQUIRED
    And so on…
    Each job has roughly 20 skills that are related to it.
    I’d like to display this information in a table with
    the skills listed in rows, the job titles listed in column
    headings, and the skill level (e.g., ADVANCED) located in the
    appropriate cell where the skill and job title intersect. That way,
    the reader can easily compare skill levels across jobs.
    The requisite tables are below. (A field name preceded by
    “frn_” is the foreign key related to another
    table’s primary key.)
    Table: Departments
    Fields: DepartmentID, DepartmentName
    Table: Jobs
    Fields: JobID, JobTitle, frn_DepartmentID
    Table: Skills
    Fields: SkillID, SkillName
    Table: Skill_Levels
    Fields: Skill_LevelID, Skill_Level_Description
    Table: JobSkills (this table “links” a job,
    skill, and skill level)
    Fields: JobSkillID, frn_JobID, frn_SkillID, frn_Skill_LevelID
    I'm not sure how to do this, so thank you for any help!
    Luke

    You're correct; I want to display the data as you described,
    with one slight change.
    Instead of the words "expert" or "basic," the proficiency
    ratings should be displayed as numbers, e.g., "1" for "basic, "3"
    for moderate, and "5" for expert. (Table: KSAProfRatings contains
    fields for both, i.e, Field: PRStatement for "basic", "moderate",
    "expert" etc. and Field: PRRating for "1", "2", "3", etc. I want to
    use Field: PRRating)
    Table: KSAs contains Field: KSAStatement, which contains the
    skills. In addition to skills, Field: KSAStatement also contains
    knowledges and abilities.
    So, in addition to the skills that I mentioned above, there
    might be a knowledge, such as "Knowledge of company products &
    services," and an ability, such as "Ability to communicate
    effectively." These knowledges and abilities receive a proficiency
    rating just like the skills.
    There is conceptual overlap among knowledges, skills, and
    abilities (KSAs), so I had referred only to "skills" for clarity.
    The query that I posted reflects the actual table names,
    e.g., Table: KSAs instead of Table: Skills, and Table:
    KSAProfRatings instead of Table: Skill_Levels (see my first post),
    but the principle is the same.

  • Error running DB13 - Update and check Optmizer Statistics at SOLMAN

    Hello people
    I'm facing an error when the task Update and check Optimizer Statistics is running ate DB13.
    BR0280I BRCONNECT time stamp: 2010-09-01 01.06.53          
    BR0301E SQL error -20000 at location stats_tab_collect-21, SQL statement:          
    'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME => '"SAPSOL"', TABNAME => '"/BIC/B0000029000"', ESTIMATE_PERCENT => 30, METHOD_OPT => 'FOR ALL COLUMNS SIZE 1', DEGREE => NULL, GRANULARITY => 'ALL', CASCADE => TRUE, NO_INVALIDATE => FALSE); END;'          
    ORA-20000: index "SAPSOL"."/BIC/B0000029000KE"  or partition of such index is in unusable state          
    ORA-06512: at "SYS.DBMS_STATS", line 14531          
    ORA-06512: at "SYS.DBMS_STATS", line 14552          
    ORA-06512: at line 1
    Coul you please help me with this issue?
    Regards

    permanent solution:
    do not update DB_STATS at the same time as updating /BI* tables.
    until then, simply rebuild this indexes online:
    sqlplus / as sysdba
    alter index "SAPSOL"."/BIC/B0000029000KE" rebuild online;
    exit;
    good luck.

  • Error running a basic app created with CFwizard

    Creted a basic app using the cf wizard. At loging page when I
    try to log in to the app I get the following error:
    ReferenceError: Error #1069: Property message not found on
    mx.messaging.messages.ErrorMessage and there is no default value.
    at com.cfgenerated.views.login::LoginForm/::serverFault()
    at
    com.cfgenerated.views.login::LoginForm/___Operation1_fault()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractOperation/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()
    at mx.rpc::Responder/fault()
    at mx.rpc::AsyncRequest/fault()
    at
    ::NetConnectionMessageResponder/NetConnectionChannel.as$37:NetConnectionMessageResponder: :statusHandler()
    at mx.messaging::MessageResponder/status()
    Any ideas?
    Thanks

    Thank you simon for quick response.I am fairly new to writing a procedure and I just copy sample code and modfied it a little bid.so do i have do define 'TYPES.CURSORTYPE' ?
    I am just trying to avoid embeding the entire sql statement in the asp.net application and I thought it would be good if i use procedure instead. Your help is very much appreciated.

Maybe you are looking for

  • OAM File and Scroll effects Not AutoPlaying in Muse

    Hello I placed an OAM file in muse which contained a slideshow ( slideshow is a basic slideshow provided by muse ) and i noticed that it doesn't work when i activate the edge animate scroll effects. The autoplay function does not work, nor does the "

  • How do I set up an alias for iCloud?

    First I'd like a quick list of steps on how to set up an iCloud alias on the PC (Windows 7). And second, can someone tell me what an alias is? Because in other forums all I've learned about it is that it is almost an alternate email address, which in

  • Safe Boot issue..?

    I'm planning to go to Mavericks soon as 10.9.1 arrives, and this turns up... I have done a safe boot for the first time ever, following Apple's directions exactly, many times over, and this keeps happening: Either- 1- Shift key pressed after gong- ge

  • Problem in setting dataprovider for a dynamically generated datagrid

    Hi everybody I have a issue in flex, I am generating datagrids dynamically by using repeaters but i am unable to set a seperate dataprovider for each grid Grid1 might come with some set of data and grid 2 with some and so on so i want to set dataprov

  • Settlement - collective processing CJ8G

    Dear PS experts, Is there a limit in how many Projects/WBS can be settled in one run? We have a situation where individual project settlement would work just fine, i.e. created RA FI and COPA postings etc..., but when run in CJ8G, only COPA postings