Query counter : event 3100 not logged in table RSDDSTAT_OLAP

Hi experts,
We have a customer scenario where in the table RSDDSTAT_OLAP table is not getting populated with the eventID '3100' when a query is executed. Due to this the query counter is not getting any value ( according to extractor logic RSTC_BIRS_OLAP_AGGREGATED_DATA)
The changes of the notes : 1250182 ,1505325, 1093755 are already present in the cutomer system.
Hence would like to know the cases in which OLAP read eventid 000003100 would not get recorded in the table RSDDSTAT_OLAP, on execution of the query .
Thanks in Advance,
Keerthi

Hi,
It's a good decision you made because you shouldn't create objects in the SYS schema. I see you're using the add_job_email_notification procedure, so I'm assuming you're on 11g onwards.
This procedure is meant to make the job easy for you. That is, you don't need to worry about setting up AQ, the procedure does it all for you. All you need to do is setup the mail server if not already done, and call this procedure to add the mail notification. That's it.
You can also specify a filter to the add_job_email_notification procedure, so maybe you could specify directly your CLIENT.LOAD_DATA job to this procedure.

Similar Messages

  • Failed to query Alarms & Events, alarms not logging

    Hi all,
    I've recently run in to an issue with the DSC Alarm & Event logging. I have a number of shared variable libraries all setup to log both data and alarms to Citadel. I've double checked that the library itself is configured for logging data and alarms, as well as all the variables. Using the DSM, I can see all of the active alarms in the system across all libraries, and can receive all alarm change events programmatically.
    For some reason, alarms for only one of the libraries are logging, and attempting to query the historical Alarms & Events through MAX throws an error roughly 14 out of 15 times (with no error code or indication of why it fails). I've also attempted to archive the Citadel database, with it failing with an unspecified error (presumably when archiving the alarms side of things, the data archive seemed to work).
    Can anyone offer some insight on how to resolve the problem, preferably without data loss? Further, how can I prevent the issue in future?
    Solved!
    Go to Solution.

    Thanks for your reply Joey.
    Libraries are being deployed using the DSC Deploy Libraries VI. The libraries also have data and alarm logging enabled programmatically. At the moment they're both being logged to the same database.
    I can't find the "Read Historical Trend.vi" through the DSC Examples. The article was written in 2005 and I'm using DSC 2012 SP1, so I don't know if things have changed since then. I can view the data through MAX without issue if that's any consolation.
    The mdf file is about 60MB, with the entire Citadel database at around 6GB.
    The Citadel service is definitely running. I've also attempted restarting it (and the PC itself) but the issue is still present.
    It's entirely possible there was a power failure, as this has been during a period of plant commissioning. When I can query the alarms through MAX there's a lot of data up to a certain point (end July), then it's very sporadic after that with only certain variable's alarms being logged.
    I attempted another database archive and this time it managed to get all the way through, though the archived database also has the same problems querying alarms and events. So at this point I suspect the mdf/mds files are corrupt in some way.
    Using the DSM, I've tried manually pointing the libraries to log alarms to a newly created database but this doesn't seem to work. No alarms or events are logged to the new database, and checking the library properties shows that the alarm database which I configured the library to log to had reverted to the original database. Am I missing something obvious here? Do I need to pre-create some traces in the new database before alarms and events will get logged there?
    Given I have managed to make a 'good' archive of the database, I'd like to try just deleting the alarms and events portion of the database and start clean. Is there a correct way to do this? I did find this article, but am unsure if this will work with a potentially corrupted database: http://digital.ni.com/public.nsf/allkb/9D3A81218264C68686256DE1005D794F If I stop all of the Citadel and SQLServer related services, can I simply delete the mdf/mds files?

  • Event 4740 Not Logged for a Single Account Lockout

    Domain Functional Level: 2003
    PDC Emulator: 2008 R2
    Lockout Origin DC (also the RADIUS server): 2003 R2
    For quite a while now I have been relying on Event 4740 on the PDC Emulator to track account lockouts.  Usually when the RADIUS server causes an account lockout, the Caller Computer Name is blank in the Event 4740.  This usually tells me that our
    Cisco WLAN Controller caused the lockout.
    Our Default Domain Policy is set to audit Account Logon Events for failure, Account Management for success/failure, and Logon Events for success/failure (plus numerous other things).
    This time there is no Event 4740 for this account lockout and I can't figure out why.  The events are there for other lockouts several minutes before or after this one.  Windows just hates me so it decided to skip this one.  The main reason
    this is a problem is because I just set up Scheduled Task on the PDC Emulator, triggered by Event 4740, to run a PowerShell script that will provide the help desk with a report for each account lockout, even parsing the IIS logs on the Client Access Server
    to identify which ActiveSync device caused it.  Of course the week after I announce that, Windows decides not to log one.
    Using LockoutStatus.exe I determined that the Origin DC for the lockout was the RADIUS server.
    NetLogon debug logging is enabled on the RADIUS server, however I took a nap today after being let out of work early for the holiday so by the time I checked the netlogon.bak file it had already been overwritten with newer data.
    There was, however, an Event 644 locked on the RADIUS server (pasted below with domain/computer/user details edited for privacy).  I don't even know where to start as far as trying to prevent this from happening again.  Anyone have any suggestions?
     Within the next couple months I will spin up a 2012 RADIUS server and a separate 2008 R2 DC to replace the 2003 multipurpose server, but it's not high on my boss's priority list so it's a tough sell considering the WLAN is functional right now.
    Event Type: Success Audit
    Event Source: Security
    Event Category: Account Management 
    Event ID: 644
    Date: 12/31/2014
    Time: 10:00:35 AM
    User: NT AUTHORITY\SYSTEM
    Computer: DomainControllerAndRadiusServer
    Description:
    User Account Locked Out:
    Target Account Name:
    LockedOutUser
    Target Account ID:
    DOMAIN\LockedOutUser
    Caller Machine Name:
    CISCO
    Caller User Name:
    DomainControllerAndRadiusServer$
    Caller Domain:
    DOMAIN
    Caller Logon ID:
    (0x0,0x3E7)
    For quite a while now I have been relying on Event 4740 on the PDC Emulator to track account lockouts.  Usually when the RADIUS server causes an account lockout, the Caller Computer Name is blank in the
    Event 4740.  This usually tells me that our Cisco WLAN Controller caused the lockout.
    For quite a while now I have been relying on Event 4740 on the PDC Emulator to track account lockouts.  Usually when the RADIUS server causes an account lockout, the Caller Computer Name is blank in the
    Event 4740.  This usually tells me that our Cisco WLAN Controller caused the lockout.
    For quite a while now I have been relying on Event 4740 on the PDC Emulator to track account lockouts.  Usually when the RADIUS server causes an account lockout, the Caller Computer Name is blank in the
    Event 4740.  This usually tells me that our Cisco WLAN Controller caused the lockout.

    Hi,
    I suggest you use Auditpol command to check the current auditing status on Domain Controller.
    You can type this command below:
    Auditpol /get /Category:Logon/Logoff
    If the Account Lockout subcategory is set to no auditing, please use /set option to enable auditing:
    Auditpol /set /Subcategory:”Account Lockout” /Success:enable /Failure:enable
    More information for you:
    Auditpol
    http://technet.microsoft.com/en-us/library/cc731451.aspx
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Max Query Count setting

    Hello colleagues,
    Probably you many know there is Max Query Count setting in MII.
    Does any of you experience performance concerns by dealing with large number of query count?  or does any of you have a recommendation for how to set max query count, e.g. not exceeding memory size to avoid memory swapping? 
    my customer want to increase this max count due to fluctuating record count.  but they have concerns on such disadvantage in performance.
    any of your experiences are welcome.  Thank you,
    Shiroh Kinoshita, SAP Japan

    Shiroh,
    Good to hear from you.
    All queries have the RowCount setting, but we typically discourage people from just setting it to a high number.  In some cases the data servers will limit this number to a max (something like 250000) but that doesn't mean that from a memory standpoint, or a customer patience level (especially in the browser) would ever get to that number of records.
    Where is it that you are seeing the record count fluctuate, applets in the browser, query actions in a transaction?
    What is it that makes the customer want to increase this to a high number?
    Regards,
    Jeremy

  • Not showing schema tables

    Hi Gurus,
    I am trying to create the report in BIP by connecting database in Admin tab i connected to the database and it showed connection successfully message also. But for creating the report when i am clicking the query builder it is not showing the tables and it is showing the message as below
    Could not load the schema information.Please make sure that this connection is active
    what would be the reason and i am connecting to the SH schema here please help me any one.
    Thanks,
    Rafi
    Edited by: Rafi.B on Aug 20, 2012 1:21 AM

    Hello,
    Could we get you to change your number to a name so we have a name to talk to? (I'm Howard.)
    I'm confused. Are you talking about a schema on apex.oracle.com? Or is there a schema in some other database?
    Exactly which tables did you expect but you are not seeing?
    Best wishes,
    Howard

  • 919: Column count replaces query count when opening table/view/etc tab

    I don't know whether this is intentional or not, but I have just noticed that opening a table or view tab from the connection pane replaces the existing query count message with the query count from the column query. For example, opening a table tab for a table with 14 columns sets the query count message to "All Rows Fetched: 14".
    This is not a big issue, but adds to the aggravation of only having the latest query count message, rather than one for each SQL Worksheet.
    Is it possible to find somewhere on the SQL Worksheet that we can put it's query count message (for example to the right of the execution time)?

    I am happy for querying the columns of a table/view/etc to display the fetch count of the columns, although I am rarely interested in how many columns there are in a table/view/etc.
    However, I already find it frustrating that the query count is only for the last fetch - it can be very useful having the query count for last fetch per SQL Worksheet. Having the last fetch overwritten by opening a table tab only makes it more frustrating.

  • Query to Identify Data in One Table Not In Another Table

    I need to create a query that will return the records in one table that are not in another table.  Here is the structure of my data tables:
    tbl_Practice – contains information about management practices.  The primary key field is “ID” which is an autonumber field.
    tbl_Controls – contains information about internal controls associated with the management practices.  The primary key is “ID” which is an autonumber.
    tbl_PracticeJoin – this is a table that contains the mapping of controls to practices.  Some practices can have multiple controls assigned to them and some controls can be mapped to multiple practices. 
    This table’s primary key is “ID” which is an autonumber field.  The only other data included in this table are the primary keys of the practice and control.  Those field names are “PracticeIDFK” and “ControlIDFK”.
    In this application, the user will normally enter practices and controls at the same time; however, there may be instances where a control is entered and it is not known at that time what practice(s) it should
    be mapped to.  I want to be able to run a query that will show me any controls that are in the tbl_Controls which are not in tbl_PracticeJoin.  I would like to be able to do the same with the practice table. 
    Thanks.

    The easiest way to do this is through the 'Find Unmatched Query Wizard'.
    On the Create tab of the ribbon, click Query Wizard.
    Select 'Find Unmatched Query Wizard'.
    Click OK.
    Select tbl_Controls, then click Next >.
    Select tbl_PracticeJoin, then click Next >.
    Select ID in tbl_Controls and ControlIDFK in tbl_PracticeJoin (if the wizard hasn't already done so automatically), then click Next >.
    Add the fields from tbl_Controls that you want to see to the list on the right; click >> if you want to add them all at once. Then click Next >.
    Access proposes a name for the query; you can edit the name if you wish.
    Click Finish.
    You can do the same for tbl_Practice and tbl_PracticeJoin, with PracticeIDFK instead of ControlIDFK.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • NULL in primary keys NOT logged to exceptions table

    Problem: Inconsistent behavior when enabling constraints using the "EXCEPTIONS INTO" clause. RDBMS Version: 9.2.0.8.0 and 10.2.0.3.0
    - NULL values in primary keys are NOT logged to exceptions table
    - NOT NULL column constraints ARE logged to exceptions table
    -- Demonstration
    -- NULL values in primary keys NOT logged to exceptions table
    TRUNCATE TABLE exceptions;
    DROP TABLE t;
    CREATE TABLE t ( x NUMBER );
    INSERT INTO t VALUES ( NULL );
    ALTER TABLE t
    ADD ( CONSTRAINT tpk PRIMARY KEY (x) EXCEPTIONS INTO exceptions );
    SELECT * FROM exceptions; -- returns no rows
    -- NOT NULL column constraints logged to exceptions table
    TRUNCATE TABLE exceptions;
    DROP TABLE t;
    CREATE TABLE t ( x NUMBER );
    INSERT INTO t VALUES ( NULL );
    ALTER TABLE t MODIFY ( X NOT NULL EXCEPTIONS INTO EXCEPTIONS );
    SELECT * FROM exceptions; -- returns one row
    I would have expected all constraint violations to be logged to exceptions. I was not able to find any documentation describing the behavior I describe above.
    Can anyone tell me if this is the intended behavior and if so, where it is documented?
    I would also appreciate it if others would confirm this behavior on their systems and say if it is what they expect.
    Thanks.
    - Doug
    P.S. Apologies for the repost from an old thread, which someone else found objectionable.

    I should have posted the output. Here it is.
    SQL>TRUNCATE TABLE exceptions;
    Table truncated.
    SQL>DROP TABLE t;
    Table dropped.
    SQL>CREATE TABLE t ( x NUMBER );
    Table created.
    SQL>INSERT INTO t VALUES ( NULL );
    1 row created.
    SQL>ALTER TABLE t ADD ( CONSTRAINT tpk PRIMARY KEY (x) EXCEPTIONS INTO exceptions );
    ALTER TABLE t ADD ( CONSTRAINT tpk PRIMARY KEY (x) EXCEPTIONS INTO exceptions )
    ERROR at line 1:
    ORA-01449: column contains NULL values; cannot alter to NOT NULL
    SQL>SELECT * FROM exceptions;
    no rows selected
    SQL>
    SQL>TRUNCATE TABLE exceptions;
    Table truncated.
    SQL>DROP TABLE t;
    Table dropped.
    SQL>CREATE TABLE t ( x NUMBER );
    Table created.
    SQL>INSERT INTO t VALUES ( NULL );
    1 row created.
    SQL>ALTER TABLE t MODIFY ( X NOT NULL EXCEPTIONS INTO EXCEPTIONS );
    ALTER TABLE t MODIFY ( X NOT NULL EXCEPTIONS INTO EXCEPTIONS )
    ERROR at line 1:
    ORA-02296: cannot enable (MYSCHEMA.) - null values found
    SQL>SELECT * FROM exceptions;
    ROW_ID OWNER TABLE_NAME CONSTRAINT
    AAAkk5AAMAAAEByAAA MYSCHEMA T T
    1 row selected.
    As you can see, I get the expected error message. But I only end up with a record in the exceptions table for the NOT NULL column constraint, not for the null primary key value.

  • SQL Developer not fetching data tables while writting query

    HI , I have recently started using SQL developer 2.1, the problem i face is that SQL DEVELOPER is not showing the tables names while writting the query, we have more than 5000 tables and each table name cannot be remembered.
    Thanks
    Essa

    I'm using the Mac version of SQL Developer (Version 2.1.1.64 | Build MAIN-64.45) and I'm having similar problems. I'm currently using OS X Snow Leopard.
    The issue does not happen consistently: If I start writing an anonymous block in a new SQL window, the Completion Insight features works well. I can start typing a name of a package (of which there are many in our db) and I'm quickly provided a list matching what I've typed so far. This is also true of variables, functions and procedures within the packages after I type a period following the package name.
    However, if I open an existing package body and start editing, the Completion Insight feature becomes less reliable. If I move my cursor to the beginning of the main block of one of the package body's internal procedures, Completion Insight works. As I move down the package and try to insert new code, Completion Insight stops working. I should note that this package body I'm working with has no errors and compiles fine. I'm not sure what this indicates...whether it's an issue with the editors internal parser or some other issue.
    I'm not sure the best method for starting SQL Developer via the console window on the Mac. I found the following sh file which does launch it from terminal:
    /Applications/SQLDeveloper.app/Contents/MacOS/sqldeveloper.sh
    This does launch the application. As I navigate around and follow the instructions you had given (including ctrl-space) I see no output generated out to the console (errors or other messages).
    I'm happy to assist in further debugging. Having Completion Insight work consistently will certainly increase my productivity with the tool.
    Thanks in advance for any help you may provide.

  • Management Console not logging the BPCLog table

    Hi guys.  Hope you can help
    We have a multi-server environment, built on Server 2008R2 64-bit (both Web/App and SQL servers).
    Basically, BPC is working fine, but the Management Console is not logging anything to the BPCLog table in AppServer.
    I have run through the normal ODBC logging setup:
    Created a new SQL login (bpc_management_console_user), assigned a password, mapped as DBO on AppServer database.
    Created a new System DSN on the Web/App Server named BPC_ManagementDSN and connected successfully using the above credentials.
    Disable "Windows Authentication" and enable "Basic Authentication" in IIS 7 for the Management Console website
    Run the APPCMD commands to enable ODBC logging on the Default Web Site
    Output of "APPCMD LIST CONFIG "Default Web Site" /section:odbcLogging" is as follows:
    <system.webServer>
      <odbcLogging dataSource="BPC_ManagementDSN" tableName="BPCLog" userName="bpc_management_console_user" password="{Blanked for obvious resons}" />
    </system.webServer>
    I've re-checked all of this and restarted IIS, but nothing at all is being written to BPCLog.
    Has anyone any suggestions on things that I can try (I suspect it is down to running on Server 2008)
    BTW - We run BPC 7.5 SP05
    Thanks

    Hi there,
    Were you able to get this working?
    You may need to create a 32 bit ODBC datasource for this.
    The 32-bit ODBC Administrator is found here: C:\Windows\SysWOW64\odbcad32.exe
    Thanks,
    John

  • Adhoc Query- Count of no of Records not displayed

    Hi,
    We are building adhoc queries for one of your requirements. In which, we need to generate the total count of the records. And also no of records with the same value in a specific column.
    Even though we configured this value properly, the ALV output is not displayed as per the configuration.
    Configurations:
    1. Configure a Column in the count field in the "Basic List"
    2. And also tried, Configuring Sort Ascending and Sum attributes under the "Statistics" .
    None of the above two has produced the desired result.
    Can you please suggest me which way we need to go ?

    Hi,
    Before the output in ALV you can try:
    1. Total record count - you can try use DESCRIBE TABLE <internal table>  LINES <variable>.
    2. No. of records with same values - pass the internal table to another internal table and DELETE ADJACENT DUPLICATES COMPARING your needed field, then you can compare the 2 internal table and count number of similar values.
    Hope this gave you another way to address your problem.
    Thanks.
    kath

  • How can I make my query to compare only columns of two tables... not the storage information?

    11GR2
    =-----------------------------------
    I am using below querry to compare two table that has same name, under two different users... But after making storage information false like below and  if the storage information is different on column level than it create "Alter modify " statements for the column ... How can I make my query to compare only columns of two tables... not the storage information?
    begin
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'PRETTY', TRUE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'SQLTERMINATOR',TRUE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'SEGMENT_ATTRIBUTES', FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'STORAGE', FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'TABLESPACE',FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'CONSTRAINTS',FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'REF_CONSTRAINTS',FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'CONSTRAINTS_AS_ALTER',FALSE);
    End;
    select REGEXP_REPLACE(dbms_metadata_diff.compare_alter('TABLE','TABLE_NAME_A','TABLE_NAME_A','USER1','USER2'),('USER1...'),'', 1, 0, 'i') from dual

    I am using below querry to compare two table that has same name, under two different users... But after making storage information false like below and  if the storage information is different on column level than it create "Alter modify " statements for the column ... How can I make my query to compare only columns of two tables... not the storage information?
    If you want help you have to SHOW us what you are doing and how you are doing it; you can't just try to tell us in your own words.
    We can't see your computer screen.

  • LOG BZA= table PATCHHIST  does not exist on database

    Dear Friends,
    I am installing SAP R/3 4.7 using import method and in the last step of the installation RFC logon module (post procesing) getting the error FRF-00063 RFC logon failed with invalid interface.
    below is the R3trans log
    4 ETW000 Connected to DBMS = DB6 --- DB2DBDFT = 'TST' --- SYSTEM = 'SPP'.
    4 ETW000  [dev trc     ,00000]  { db_rtab( fcode = 'RT_INSERT', tname = 'PATCHHIST' ) {saprel.c:1350}
    4 ETW000                                                                             163  0.755328
    4 ETW000  [dev trc     ,00000]  *** ERROR in prepareStatement[dbdb6.c, 12112] CON = 0 (BEGIN)
    4 ETW000                                                                            1743  0.757071
    4 ETW000  [dev trc     ,00000]  &+     DbSlModifyDB6( SQLExtendedPrepare ): [IBM][CLI Driver][DB2/AIX64] SQL0204N  "SAPTST.PATC
    HHIST" is an undefined nam
    4 ETW000                                                                              32  0.757103
    4 ETW000  [dev trc     ,00000]  &+     e.  SQLSTATE=42704
    4 ETW000                                                                              19  0.757122
    4 ETW000  [dev trc     ,00000]  &+
    4 ETW000                                                                              19  0.757141
    4 ETW000  [dev trc     ,00000]  &+     INSERT INTO "PATCHHIST" ( "EXECUTABLE", "SAPRELEASE", "HOSTNAME", "PLATFORM", "DBVENDOR"
    , "TIMESTAMP", "PATCHNO",
    4 ETW000                                                                              20  0.757161
    4 ETW000  [dev trc     ,00000]  &+     "DBSLPATCHN" ) VALUES( ?, ?, ?, ?, ?, ?, ?, ? )
    4 ETW000                                                                              29  0.757190
    4 ETW000  [dev trc     ,00000]  &+       cursor type=NO_HOLD, isolation=UR, cc_release=NO, optlevel=5, degree=1, op_type=15, re
    opt=0
    4 ETW000                                                                              33  0.757223
    4 ETW000  [dev trc     ,00000]  &+       ABAP location info: '', 0
    4 ETW000                                                                              30  0.757253
    4 ETW000  [dev trc     ,00000]  &+
    4 ETW000                                                                              19  0.757272
    4 ETW000  [dev trc     ,00000]  &+
    4 ETW000                                                                              19  0.757291
    4 ETW000  [dev trc     ,00000]  *** ERROR in prepareStatement[dbdb6.c, 12112] (END)
    4 ETW000                                                                              28  0.757319
    4 ETW000  [dbtrtab     ,03967]  ***LOG BZA=>table PATCHHIST  does not exist on database [dbtrtab#5 @ 3967]
    4 ETW000                                                                              38  0.757357
    Kindly help me in resolving the issue.
    Thanks and Regards,
    Seshu

    Hello Seshu,
    the table should be there, so maybe there was an earlier problem durint the installation.
    Go to the directory containing the installation logs and search for errors, e.g.
    grep -i PATCHHIST *.log
    Regards,
    Mark

  • The query does not reference any table when attempting to build the WHERE clause.  (IES 00022)

    Hi
    I am getting below error.
    The query does not reference any table when attempting to build the WHERE clause.  (IES 00022)
    This error is in Validating Measue object in IDT.
    It is not throwing error for dimensions objects but only for measure objects.
    My BO version is 4.1
    Backend is Teradata 14.1.
    Regards
    Gaurav.

    Hi
    In the dimension/Measure definition, you can select the table. Find the below screenshot.
    If you still getting the issue…Can you please share your screenshot, for better understanding the issue?

  • Obtain count of values, including the values that are not in the table

    I have values: 1,2,3,7,8,9
    and my table contain value 3,7,8,3
    I need get result of select
    -value- -count-
    -1-     -0-
    -2-     -0-
    -3-     -2-
    -7-     -1-
    -8-     -1-
    -9-     -0-
    I tried
    select value, count(value) from table where value in ('1','2','3','7','8','9') group by value
    but I get only
    -value- -count-
    -3-     -2-
    -7-     -1-
    -8-     -1-
    Thank you for help

    Thank you for help but this is not functional if values are text (varchar).Have you mentioned that ? In your example post you have mentioned only numeric values. Why don't you try yourself, When you have an working (? Oops, there is no version mentioned by OP, So may not be working) example ?
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    SQL> SELECT job,COUNT(job)
      2  FROM emp
      3  GROUP BY job;
    JOB       COUNT(JOB)
    CLERK              4
    SALESMAN           4
    PRESIDENT          1
    MANAGER            3
    ANALYST            2
    SQL> SELECT column_value,COUNT(job)
      2  FROM emp e, TABLE(sys.odciVARCHAR2list('CLERK','PROGRAMMER','SALESMAN'
      3                                        ,'SALESMAN','DBA','PRESIDENT','MANAGER'
      4                                        ,'Architect','ANALYST')) t
      5  WHERE e.job(+)=t.column_value
      6  GROUP BY column_value
      7  ORDER BY 1;
    COLUMN_VALUE
    COUNT(JOB)
    ANALYST
             2
    Architect
             0
    CLERK
             4
    COLUMN_VALUE
    COUNT(JOB)
    DBA
             0
    MANAGER
             3
    PRESIDENT
             1
    COLUMN_VALUE
    COUNT(JOB)
    PROGRAMMER
             0
    SALESMAN
             8

Maybe you are looking for

  • Bonjour won't print to ethernet windows 7

    Bonjour is a very exasperating piece of stuff.  I am trying to get a printer attached to a Mac to print a document from Windows 7.  Bonjour installs properly, I think. The Windows machine (connected by ethernet, not wirelessly) sees the printer on th

  • Regarding Activation of Datasource error

    We have replicated datasource from R3 source system and while trying to activate it was posting error of while activation of transfer structure with conversion exits., We are using 7.0 datasource only. We checked at RSA3 of datasource and data is com

  • How to apply source code

    Does Contribute allow Admins to paste in (apply) source code to various Web pages? I've got a source code from Google Analytics I want to use for tracking and can't find how to apply it using Contribute.

  • Plant maintainance

    This Daily progress report has to be generated in separated transaction code to check the daily prog? have any code plz send urgent

  • AR customer invoice mass printing

    Hi I am trying to test mass printing for the AR invoice and credit memo. I am trying to use t-code f.62 to achieve that, the transaction works fine (besides asking enter the printer name for every document to print), but when i look at the spool, the