HAVE AS MANY ROWS AS I HAVE DAYS IN A MONTH
Hi,
im facing a big issue ...
I must create a query that ask for a month and find how many days I have on that month and after, I must have as many rows as I have days ....
example : april = 30 days = 30 rows ( one for each day from 1 to 30 )
Any way to achieve that ??
Thanks
Hi Raj,
Thats the first thing I thought, but even if the day have no result, they such want the row ...
example
number of answered call for JOHN in APRIL by day ....
row (day number) / column ( key , calls answered)
1 0
2 1
3 0
4 2
5 3
30 0
thank's !
Similar Messages
-
Can you have too many rows in a table?
How many rows would you consider to be too many for a single table and how would you re-arrange the data if
asked?
any answers?
sukaiI have some tables with over 100 million rows that still perform well, and I'm sure much larger tables are possible. The exact number of rows would vary significantly depending on a number of factors including:
Power of the underlying hardware
Use of the table – frequency of queries and updates
Number of columns and data types of the columns
Number of indexes
Ultimately the answer probably comes down to performance – if queries, updates, inserts, index rebuilds, backups, etc. all perform well, then you do not yet have too many rows.
The best way to rearrange the data would be horizontal partitioning. It distributes the rows into multiple files; which provides a number of advantages including the potential to perform well with larger number of rows.
http://msdn.microsoft.com/en-us/library/ms190787.aspx -
How do I add a recurring event to repeat on the fifth recurring day of the month, for example, an event that only happen on the fifth Sunday of the month for those months that have a fifth Sunday?
Create one on the first Tuesday, select repeat/monthly and take the option at the bottom.
-
Is it possible to see how many COGI errors I have cleared in previous month and in which transaction I can able to see that record?
Mukundan,
Refer Below SAP Note 1868084 - FAQ: Transaction COGI
Question:
Is it possible to log the actions in transaction COGI?
Answer:
SAP Note 309050 provides a modification but it can only be used temporarily. Also refer to SAP Note 1894587 in this context. It provides a report for displaying and deleting the data records in the log table AFFWPRO.
BR
KK -
I have been a customer since 1998 and have had a many as 6 phones paying up to $400/month, now at 4 phones and $268/month. Am being told that I owe $136 from 2011. If not waived I will move my phones and they will lose $136 in 1/2 month!!!
@mdk57ask,
Never fear help is here! I definitely don't want to see you go. I appreciate your long time loyalty and hope to stay together for many more years.
To better assist you, I will need to access and review your account. Please follow me, JohnB_VZW, and send me a direct message so I can further assist. I'm sure we can get this resolved in no time.
JohnB_VZW
Follow us on Twitter @VZWSupport -
I have some usses with my iMac. In this days i am working in videos and suddenly the computer turn off i am very worried about it because the computer is new do not have more that 5 months, the other problem is i am working in whatever thing and suddenly the music is on and i do not nothing. Please help me.
Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"?
BTW this is the iPod touch forum -
When I give the redeem code from the package I bought today from over an hour away, this is what i get and no forun seems to deal with it nor do I have days to chase adobe down. Oops! This code doesn't seem to be active. Please contact the retailer you purchased the card from, or use a different code. For more information contact Customer Support and order by phone
See if this helps:
https://helpx.adobe.com/x-productkb/global/find-serial-number.html -
Conditionally Color a row based on the Day of the Week for that row ?
Hi,
I have a Table containing some timing entries for each day. I have been trying to format some rows depending on a value in one of the columns for that row. What I would like to achieve is color the cell background gray for every row where the Date found in the first Column isn't a Week Day.
I have been trying many things by now, but can't seem to figure it out. Does anyone have suggestions ? I have included a screenshot of what I would like to achieve :
Thanks a lot in advance,
Stefaan
Message was edited by: Stefaan LesageVariations on my post linked in Badunit's message here:
You'll need a second table with one column and as many rows as Table 1 (which contains the dates).
The formula for Table 2 assumes the dates are in column B of Table 1.
=OR(WEEKDAY(Table 1::B)=1,WEEKDAY(Table 1::B)=7)
Enter the formula in the same row as the first data row in Table 1, and Fill it down.
Rule for conditional formatting for all cells in Table 2: Equals TRUE
Other instructions as in the linked message.
Regards,
Barry -
Many rows in DBA_UNDO_EXTENTS
Hi,
in my DBA_UNDO_EXTENTS I have many and many rows with status = UNEXPIRED
I'm reading these link:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/undo.htm
and Oracle® Database 2 Day DBA but i don't know how i can delete these row.
If I want introduce the Retention period i can set the RETENTION GUARANTEE to the UNDO TBS, right?
Thanks a lot, as usual
LainHello,
You can reduce the datafiles of the Undo Tablespaces as any kind of datafiles
but, you cannot go below the HWM.
Please, find enclosed a query to get the HWM position of every datafile (in Mo)
of the Undo Tablespace:
col file_name for A60
select B.file_name, (A.block_id + A.blocks)*{color:red}8{color}/1024 "Mo"
from dba_undo_extents A, dba_data_files B
where A.file_id = B.file_id
and A.block_id = (select max(C.block_id)
from dba_undo_extents C
where C.file_id = A.file_id
order by A.file_id
NB: In red the block size of your Database in Ko (here 8Ko).
You get a result like that:
FILE_NAME Mo
E:\ORACLE\ORADATA\PRD\LOG\UNDOTBS01.DBF 30.0703125
E:\ORACLE\ORADATA\PRD\LOG\UNDOTBS02.DBF 19.0703125
E:\ORACLE\ORADATA\PRD\LOG\UNDOTBS03.DBF 40.0703125So, in this example, you cannot resize the first datafile below ~ 31 Mo.
Hope this help.
Best regards,
Jean-Valentin
Edited by: Lubiez Jean-Valentin on Jan 25, 2010 8:33 PM -
Tag Query History mode returning too many rows of data
I am running a Tag Query from HQ to a plant site and want to limit the amount of data that returns to the minimum required to display trends on a chart. The minimum required is subjective, but will be somewhere between 22 and 169 data points for a weeks data. Testing and viewing the result is needed to determine what is an acceptable minimum.
I build a Tag Query with a single tag and set it to History Mode. I set a seven day period going midnight to midnight. And I set the row count to 22. When I execute the query it returns 22 data points. But when I go to visualization, I get 565 datapoints. So obviously that is not what I want as I want a very slim dataset coming back from the IP21 server (to minimize the load on the pipe).
Any suggestions?Hi Michael,
it looks to me like you have enabled the "Use Screen Resolution" option in your display template or in the applet HTML. Setting this option makes the display template fetch as many rows as there are pixels in the chart area. Like setting a rowcount in the applet HTML as a param, this will override any rowcount limitations you have set at the Query Template level...
Hope this helps,
Sascha -
Result set does not fit; it contains too many rows
Dear All,
We are in BI7 and running reports on Excel 2007. Even though number of rows limitation in Excel 2007 is more than 1Million, when I try to execute a report with more than 65k records of output, system is generating output only for 65k rows with message "Result set does not fit; it contains too many rows".
Our Patch levels:
GUI - 7.10
Patch level is 11
Is there any way to generate more than 65000 rows in Bex?
Thanks in advance...
regards,
Raju
Dear Gurus,
Could you please shed some light on this issue?
thanks and regards,
Raju
Edited by: VaraPrasadraju Potturi on Apr 14, 2009 3:13 AMVara Prasad,
This has been discussed on the forums - for reasons of backward compatibility I do not think BEx supports more that 65000 rows .... I am still not sure about the same since I have not tried out a query with more that 65K rows on excel 2007 but I think this is not possible... -
How to know how many rows including headers and footers does subreport has from Main Report
Hi, we are sturuggling with subreports. Main report has 3 subreports, each subreport is inplmented in a group header(3 subreports and 3 group headers). We would like to print a group header under subreport as a column header every page, and need a page break when group number is changed. This report exports a MS Excel(97-2003) report file.
In main report, [New After Page] is checked under Group Header #1d from [Section Expert]
In each subreport, [Repeat Group Header On Each Page] is checked under the highest group from [Group Expert]
Here are two issues;
Since Crystal Reports has more rows than Excel in one page, colmun header in each subreport is being printed in the middle of the page. It should be printed at the top of the page
When Subreport has many rows and has to be printed in more than 1 page, a page break is automatically inserted before column header. It should be printed right below column header which is Group Header #1
We have been trying to pass row counts(count of group header because group header is used as the details) using a shared variable from Subreport 1 to Subreport 2 via main report since Subreport2 cannot predict how many rows Subreport 1 has.
Here is what we are trying but we are getting an error which is "A constant expression is required here" under main report
- In Sunreport 1
whileprintingrecords;
shared numbervar SubGroupCount := DistinctCount({Table.Field});
- In Mainreport
shared numbervar SubGroupCount;
if(pagenumber) = 1
then (SubGroupCount)
else 50
Is there any solutionss or better ways other than above?
Thank you,
Main Report: Group Header #1a --> as Page Header
Run Date: mm/dd/yyyy Report Name
Main Report Group Header #1b --> Subreport 1
Header 1
Header 2
Header 3
Header 4
Header 5
Header 6
Main Report Goup Header #1c --> Subreport 2
Header 1
Header 2
Header 3
Header 4
Header 5
Header 6
Main Report Froup Header #1d --> Subreport 3
Header 1
Header 2
Header 3
Header 4
Header 5
Header 6Thank you for your reply and sorry for my complicated explanations. The report has confidential information, so I replaced to some fake data but I believe you can still see what I am trying to do..
Main Report
Subreport 2
Output1
Output2: the following page
--> more rows are printed..
We have two problems;
1. The column header in Output2 is supposed to be pronted right below the last row in Output2, however, a page break is automatically inserted. But even in the same output document, it works for some group when it has a few rows..
2. Since Crystal Reports prints more rows in one page than MS Excel does, Column header is not be printed at the top of the page.
I tried the way you advised me but it did not work.. -
Is there an easy way to see how many rows in a table? (selected or unselected)
Hi all,
Forgive me if this is a REALLY dumb question but I would love to know if there there is an easy way to to see how many rows there are in a table in InDesign?
(And I bet I am really going to kick myself when I hear the answer and how simple it probably is..lol !)
I am working on a huge catalog and am dealing with LOTS of tables...very long tables too at times. I am also doing a lot of copying and pasting back and forth between InDesign and Excel and it would REALLY help if I knew how many rows there are in a table without having to manually count them (TIRESOME!!).
Also, is there a way to see how many rows I have selected at any one time? It would be SO WONDERFUL if the info box could also provide this information.
Thank you SO MUCH in advance for your help:))
Christine
**UPDATE**
Oh boy I AM going to kick myself! Why only NOW that I wrote this question did I suddenly notice that the Table palette shows the number of rows and columns? lol.
Okay, then is there a way to see how many rows I have selected at any given time?@Christine – try the following ExtendScript (JavaScript):
if(app.selection.length === 0
|| !app.selection[0].constructor.name === "Cell"
|| !app.selection[0].constructor.name === "Table"){
exit(0);
var sel = app.selection[0];
if(sel.constructor.name === "Cell"){
var tableRowLength = sel.parent.rows.everyItem().getElements().length;
if(sel.constructor.name === "Table"){
alert("All "+sel.rows.everyItem().getElements().length+" rows selected in current table." );
exit(0);
var numberOfRowsSelected = sel.rows.length;
var indexOfSelectedRows = sel.rows.everyItem().index;
var startRowSel = indexOfSelectedRows[0]+1;
var endRowSel = indexOfSelectedRows.length+indexOfSelectedRows[0];
alert(numberOfRowsSelected +" row(s) selected.\r"+startRowSel+" to "+endRowSel+" out of "+tableRowLength+" of current table.");
You need not select whole rows, just one or a couple of cells.
Then run the script.
An alert message is telling you how many rows belong to the cell range you have selected and:
which rows of the table are selected…
A typical message would be:
6 row(s) selected.
3 to 8 out of 20 of current table.
The script does some basic checks of the selection.
If no cell or table is selected, it will just do nothing…
Uwe
Message was edited by: Laubender | Some language cosmetics in the alert message -
Copying many rows from one table to another
Could anyone tell me the best way to copy many rows (~1,000,000) from one table to another?
I have supplied a snipit of code that is currently being used in our application. I know that this is probably the slowest method to copy the data, but I am not sure what the best way is to proceed. I was thinking that using BULK COLLECT would be better, but I do not know what would happen to the ROLLBACK segment if I did this. Also, should I look at disabling the indexes while the copy is taking place, and then re-enable them after it is complete?
Sample of code currently being used:
PROCEDURE Save_Data
IS
CURSOR SCursor IS
SELECT ROWID Row_ID
FROM TMP_SALES_SUMR tmp
WHERE NOT EXISTS
(SELECT 1
FROM SALES_SUMR
WHERE sales_ord_no = tmp.sales_ord_no
AND cat_no = tmp.cat_no
AND cost_method_cd = tmp.cost_method_cd);
BEGIN
FOR SaveRec IN SCursor LOOP
INSERT INTO SALES_ORD_COST_SUMR
SELECT *
FROM TMP_SALES_ORD_COST_SUMR
WHERE ROWID = SaveRec.Row_ID;
RowCountCommit(); -- Performs a Commit for every xxxx rows
END LOOP;
COMMIT;
EXCEPTION
END Save_Data;
This type of logic is used to copy data for about 8 different tables, each containing approximately 1,000,000 rows of data.Your best bet is
Insert into SALES_ORD_COST_SUMR
select * from TMP_SALES_ORD_COST_SUMR;
commit;
Read this
http://asktom.oracle.com/pls/ask/f?p=4950:8:15324326393226650969::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:5918938803188
VG -
List of Value: Best practice when there are too many rows.
Hi,
I am working in JDev12c. Imagine the following scenario. We have an employee table and the organization_id as one of its attributes. I want to set up a LOV for this attribute. For what I understand, if the Organization table contains too many rows, this will create an extreme overhead (like 3000 rows), also, would be impossible to scroll down in a simple LOV. So, I have decided the obvious option; to use the LOV as a Combo Box with List of Values. Great so far.
That LOV will be use for each user, but it doesn't really depend of the user and the list of organization will rarely change. I have a sharedApplicationModule that I am using to retrieve lookup values from DB. Do you think would be OK to put my ORGANIZATION VO in there and create the View Accessor for my LOV in the Employees View?
What considerations should I take in term of TUNING the Organization VO?
RegardsHi Raghava,
as I said, "Preparation Failed" may be (if I recall correctly) as early as the HTTP request to even get the document for indexing. If this is not possible for TREX, then of course the indexing fails.
What I suggested was a manual reproduction. So log on to the TREX host (preferrably with the user that TREX uses to access the documents) and then simply try to open one of the docs with the "failed" status by pasting its address in the browser. If this does not work, you have a pretty good idea what's happening.
Unfortunately, if that were the case, this would the be some issue in network communications or ticketing and authorizatuions, which I can not tell you from here how to solve.
In any case, I would advise to open a support message to SAP - probably rather under the portal component than under TREX, as I do not assume that this stage of a queue error has anything to do with the actual engine.
Best,
Karsten
Maybe you are looking for
-
How do i link to a pdf on website?
have have 2 links to pdfs on my website www.catalistadmin.com/bio.html (not the home page) (the two links under References) Is this entered under the insert hyperlink command? How do they get uploaded to the server?
-
Music store & 100% CPU usage
I've had this problem on my newly built computer, and my older machine. When I browse the iTunes music store, the status bar on the top will often move like it's opening the music store, but it'll do this for a long period of time (several minutes) a
-
Missing Response Data after PBM Excution
Hi @ all, after manual execution of a simple Process (BPM) in NWDS ( see Screenshots). SAP BPM: the Automated activity calls an Integarted Configuration in AEX, and the process ist successfully completed. SAP PO: the messages are delivered. (Web Serv
-
I have a string like 'abcd1234'. I want to extract only the number part to another variable. I dont know the occurance of the number in the string Please help me
-
Let me preface by saying I'm completely new to the world of mac, I got an emac 1ghz for $50, I don't have an apple keyboard I'm using a regular windows based keyboard by that I mean I don't have any apple keys on my keyboard. Here's my problem, I can