A grouping method of a total number of errors by date
SQL dear gurus,.Can someone me (with the script below) Guide as to how I can group a total number of error by SEPARATE (CREATION_DATE)?
11g Enterprise Edition Release 11.2.0.2.0
SCRIPT:
Select
CREATION_DATE, request_id, rpad (regexp_substr (summary,'[^ \. | ^:] +'), 60, '_') as ' iCash Dep error Summary", count (*).
of BKS_OM.bks_icash_dep_errors
Group by request_id, CREATION_DATE, regexp_substr (summary,'[^ \. | ^:] +');
RESULTS:
ICash CREATION_DATE REQUEST_ID Dep error summary COUNT (*)
------------- ---------- ------------------------------------------------------------ ----------
July 2, 12 415967 Validation Failure___ 1
July 2, 12 415967 Validation Failure___ 1
July 2, 12 415967 Validation Failure___ 1
July 2, 12 415967 Validation Failure___ 1
July 2, 12 415967 Validation Failure___ 2
July 6, 12 417699 Validation Failure___ 1
July 6, 12 417699 Validation Failure___ 1
July 6, 12 417773 Validation Failure___ 16
July 2, 12 415967 Validation Failure___ 1
July 6, 12 417773 Validation Failure___ 1
Kind regards
DIBS812
Published by: DIBS812 on August 3, 2012 10:51
It seems to me that the creation_date column can have a component of an hour at midnight. If Yes, then something like:
select trunc(creation_date), request_id,
rpad(regexp_substr(summary,'[^\.|^:]+'), 60, '_') as "iCash Dep Error Summary",
count(*)
from bks_om.bks_icash_dep_errors
group by trunc(creation_date), request_id, regexp_substr(summary,'[^\.|^:]+');
John
Tags: Database
Similar Questions
-
How to display the current page and the total number of pages for a group
Hi all
I have a requirement to indicate the current page number and the total number of pages for a group. For example:
< A >
< 1 >
Row1
row2
....
Clotilde
< / 1 >
< 2 >
Row1
row2
....
Clotilde
< / 2 >
< 3 >
Row1
row2
....
Clotilde
< / 3 >
< /A >
Now my requirement is Group 1 can have lines going into several pages say x, so I need to show with in the Group 1 x and on the next page page 1 page 2 x etc.
Although Group 2 spans several pages, I need to see page 1 of y... etc.
Can someone help me please how to do this?
Thank you
SunnyTry if@section
-
Function to count the total number of data channels
I know that I had stumbled on a tiara function that returns the number of data in all of my data channels. I can't seem to find the thread where I had seen it. I'm looking to replace a script a long time user with this simple function in my future coding.
Thank you!
Hi CrshTstr,
I actually still use GlobUsedChn for that. In more recent versions of DIAdem, you can use commads as GroupChnCount() or Data.Root.ChannelGroups (1). Channels.Count to return the number of channels in a particular group. But regardless of which group the channels are in the GlobUsedChn variable always returns the total number of channels currently on the data portal.
Brad Turpin
Tiara Product Support Engineer
National Instruments -
Total number of pages printed on printer e-all-in-one-hp officejet 6700 premium do not match
Printer model: hp officejet 6700 premium e-all-in-one
OS: windows xp, service pack 3
Method of connection: network
Description of the problem: number of page do not match
If I double click on the "hp officejet 6700" icon on my desktop.
Then click on "view the ink level.
Then click on the reports of the device"" tab.
Then click on "check printing.
The report provides: Total number of printed Pages 8159
If I double click on the "hp officejet 6700" icon on my desktop.
Then click on "view the ink level.
Then click on the "devices" tab
Then click on "printer ews home page."
Then click on the 'Tools' tab, I see:
Total number of pages
6725
Difference = 8159-6725 = 1434
Can someone tell me why these numbers are different? They represent different totals?
MelanieHello and welcome to the Forums of HP, I hope you enjoy your experience!
I see that you have questions about your number of pages. I would like to help.
The built-in web server does not account for pages printed not across the network. The number of printer pages all the elements. 1434 pages were not printed through the network, therefore, not counted in the SAP.
Please let me know if you have any questions. Thanks for posting on the HP Forums!
-
Total number of concurrent VPN connections.
Hey guys,.
Is it possible to display or not even connect to the total number of simultaneous in one month vpn connection?
THX
On the SAA, you can enter the command "Show vpn-sessiondb", it shows the info.
Demo - asa vpn-sessiondb # HS
Summary of the current Session
Sessions:
Active principles: Cumulative: simultaneous peak: inactive
SSL VPN : 0 : 145 : 7
Clientless only: 0: 30: 2
Client: 0: 0: 3: 115
E-mail Proxy: 0: 0: 0
IPsec LAN-to-LAN: 0: 0: 0
IPsec remote access: 0: 0: 0
VPN load balancing: 0: 0: 0
Totals: 0: 145
Information about the license:
IPsec: 750 configured: 750 Active: 0 load: 0%
SSL VPN: 50 configured: 50 Active: 0 load: 0%
Active principles: Cumulative: simultaneous peak
IPsec : 0 : 0 : 0
SSL VPN : 0 : 145 : 7
AnyConnect Mobile: 61: 61: 61
Linksys Phone: 0: 0: 0
Totals: 0: 145
I'm sure that there are much better alternatives such as Cisco ACS including the quality of the production.
But I have recently installed Microsoft IAS on my Windows 2003 server and then configured accounting for my VPN group policy. I then used a free 'IAS log viewer"software which is able to provide the use of my VPN.
See the article below for configuring Microsoft IAS on Win2k3:
The whole process took me less than an hour. Nice report generated by the IAS log viewer.
Thank you
Kiran
-
ASM: determine the total number of bytes read/written &; Ops / s
Hello
My environment:
- Oracle 11.2.0.3 EE
- SuSE Enterprise Linux 11 SP1, 64-bit
- ASM starts on RAW LUNS (2 per group) Hitachi disk storage
- DB-server: HP DL380 G7
I want to disc ASM ssd drive switch, direct attach to via HP DS2700 attachment:
- DiskGroup + DATA
5x400GB Enterprise SSD, RAID 5, 1.6 TB of raw capacity
used to redo, data files - DiskGroup + ARCH
4x400GB Enterprise SSD, RAID0 + 1, capacity of 800GBraw
used to redo, Archives, Flash Recovery Area
As I understand until this SSD technology, SSD have a livetime, indicating that there is a guaranteed amount of data that can be read/written on this subject. My goal is to design a system that has no point of two ssd failure in the same RAID group.
- How can I determine the total number of bytes read/written in ASM starts so far?
My idea was to dermine ASM block size (select block_size from v$ asm_diskgroup) and then look at total reads and writes columns via iostat command in asmcmd. I guess that these values are since the last start of the DSO. - Is it possible to determine the IOPS / sec per diskgroup?
Thank you
SCSICasimir wrote:
Do the calculation for 1. gives me an odd result:
ASMCMD disk group management controls said that the default view is the amount of bytes and that the -io parameter must be used to display the number of e/s instead.
-
Calculate the total number of the schema rowset.
Hi all
I use the oracle 10g database on windows server 2003.
I want to calculate the total number of lines in a pattern.
I have only one method to select just count (*) from each table within each schema.
because it doesn't matter what possible query that could calculate the total number of lines in a pattern?
Thank you.
Published by: Maahjoor on May 13, 2013 23:21Hello
Well, if you keep your cool failry statistics, you can get a very good grip on the number of lines through the NUM_ROWS in dba_tables column and then summarize the owner, on the top of my head:
select sum(NUM_ROWS) from dba_tables where owner like 'SCHEMA';
Do not forget that the number of lines shown this way will be the number of lines at the time of the last crawl (dbms_stats) has been run on the segment, so it may not always be equal to the number of the schema rowset did when running.
-
How to display the total number of rows in the dashboard
Hello
I have a dashboard report for retrieving the list of projects and details, it grows on a daily basis, instead of users downloading the report and find out the total number of projects, I want to display 'the total number of projects' alone in the dashboard. How can I do?
Also is it possible to do like a pop up or something a little flash news - not necessary, but will be very good if I can do it.
Thanks for your time and your help.create a report and a column to write a column invert the function max (rcount (1)). Call this column depending on the position of the column (as @1) in narrative mode.
You can view only the narrative in the dashboard.for flash type of report, you can use the ticker view and call the same column in the view.
refer to this link to view the total number of records
http://Siebel.ITtoolbox.com/groups/technical-functional/Siebel-Analytics-l/display-row-count-in-top-of-the-table-view-3704999assign points if found useful.
-
How to display the total number of text entries in a table (php)?
Hello
I have a database of 'chorus' with 'members' table that has the following data structure:
Name Voix Jenna soprano Danna Alto ROXY Alto Damien tenor Carmen Alto Daisy soprano Diana
Alto Robert tenor John Bass With Dreamweaver, php, any help on how display in a Web page the total number of 'alto', in this case: 4.
Thank you
Luci.
SELECT voice, COUNT (*) as the GROUP BY, ORDER BY DESC voice voice FROM choir;
This will give you the plain voiceid - County
SELECT voice, COUNT (*) as the chorus of voices ORDER BY DESC GROUP name;
This will give you appoint County - voice -.
Confidence, it helps.
See you soon,.
ST
-
Determine the Total number of images in a loaded SWF file
I used the loader class and the load method to load a swf file that has multiple frames. Does anyone have a suggestion how to determine the total number of frames in the SWF file script after loading?
AFTER loading is complete (that is to say, use a listener), you can access the content property of the loader (cast as a movielcip):
MovieClip (yourloader.content) .totalFrames;
-
total number of rows in the result
Hello..
I have a query_x with columns Col1, Col2, Col3 following and would like to get the total number of lines for my query_x so
-Query_x
SELECT
Col1,
Col2,
COL3
Of
X, Y, Z
WHERE
...=..
Group
Col1,
Col2,
COL3
ThanxSQL> select empno, ename , sal, count(*) over (order by null) total_rows from emp ; EMPNO ENAME SAL TOTAL_ROWS ---------- ---------- ---------- ---------- 7369 SMITH 800 14 7499 ALLEN 1600 14 7521 WARD 1250 14 7566 JONES 2975 14 7654 MARTIN 1250 14 7698 BLAKE 2850 14 7934 MILLER 1300 14 7788 SCOTT 3000 14 7839 KING 5000 14 7844 TURNER 1500 14 7876 ADAMS 1100 14 7900 JAMES 950 14 7902 FORD 3000 14 7782 CLARK 2450 14 14 rows selected.
HTH
SS -
When you use find on the page (ctrl + F on Windows) it is a message indicating the total number of matches. What does the first number?
I'm more interested in the case when this number is smaller than the total.Hello
I think you mean the text stating "x of there matches", to the right of the box where you entered the search term.
The first number ("x" in my example above) indicates the current entry highlighted on the page that matches the search phrase. If you use the upper and down arrows to navigate through the instances of this term on the page, you will see this number go up and down.
I hope this helps, but if not please come back here and we can look at another solution for you.
-
In 12.4.1.6, where do you see the total number of songs in your iTunes library?
In my case (iTunes on OS X 10.9.5 12.4.1), in the library section of the box I choose songs and the number appears in the status bar at the bottom of the iTunes window. If you do not have the visible status bar, it can be activated from the iTunes menu bar, display > show status bar.
Good luck
SRB
-
How to calculate pay many times a total number of hours
Hi people,
I'm using the last update of the numbers.
I'm trying to find a way to calculate a sum.
I got the total number of hours per week, but I want the formula to calculate the total number of hours per week by people price / hour?
How can I do this?
Any suggestions?
I recommend having a look at the model of timetable for the employee to File > New.
SG
-
How can I find the total number of contacts on the iPhone 6 s?
I used to be able to see the total number of contacts on my iPhone 6s, however, does not appear more. How can I fix it?
Go to iCloud.com then in contacts and made scroll down - it's the only place where I was able to find
Maybe you are looking for
-
HP Compaq Elite 8300 CMT: updated graphics card for HP Compaq Elite 8300 CMT
Currently, I have HP Compaq Elite 8300 CMT Business PC with ATI Radeon HD 7450 graphics card. This map, however, does not seem to be compatible with the new CC in Photoshop. I want to update the graphics card. Supported for this PC graphics cards lik
-
Failure to display page for the update of windows... OX8007041D error code
During the download of the update process, the information indicated that an error occurred and the page I wasattempting to display, [I was trying not to display anything] was not available. The whole process then stopped.
-
I downloaded KB2676562 in the current XP update, but it will not be installed.
-
How to disable a logon notification
whenever I go to to connect to my facebook page, I get a message saying to type here where I am, working from home, etc., the message says that I have to type this in because I have ACTIVATED MY CONNECTION NOTIFICATION
-
Is there any place in the windows vista where the files to write on the cd/dvd via a copied cd/dvd temporaily burner? who can be recovered later in the case of the unsuccessful cd/dvd writing?