Help needed in solving issue regarding shwoing data
Hello,
I am using obiee 11g,I am trying to create a report for finding the usage for each user.
Now i have auser column and usage 5 columns.
Each usage column is from 4 tables,3 from 3 diff tables and 2 columns from 1 tables.
I have a head prompt so that report gets filtered for head.
And the users belonging to head will display in the report.
Now the problem is especailly when i dont have data for a user for col4 or col5 of table4
of the report in the database.The reports starts showing "No Data Found".Even though
there are data for col1(tabe1),col2(table2),col3(table3).
I can't put ifnull because there are no data itself its not as there are null data.
So confused where am i going wrong?
Users are coming from tableA with left outer join with othere table1,table2,table3,table4 on username
Please help me out.
Any help?
Thanks
Hi User,
You can better go for "Save Current Customization" option available in Edit Dashboard to have user specifi default prompt values.
Rgds,
Dpka
Similar Messages
-
Hello,
Using obiee 11g.
I have a req like I have a prompt for showing 2 year value.
Ita year and the previous year and now as soon as the year changes if i set the default value as the year,the year will change in the prompt also.
Untill the user changes i dont want the value to change.
The default selection should be set by the user.
What i meant the default value should be set according to what the user wishes.
Something like if i have the Apply button of the prompt,once i click Apply,it should ask me whether i should set this value as default.
If i click Yes then set that value as default for prompt or else no change untill somebody else changes.
Till that time it should use the value.
Id it possible to do something like this?
ThanksHi User,
You can better go for "Save Current Customization" option available in Edit Dashboard to have user specifi default prompt values.
Rgds,
Dpka -
Urgent help needed; Database shutdown issues.
Urgent help needed; Database shutdown issues.
Hi all,
I am trying to shutdown my SAP database and am facing the issues below, can someone please suggest how I can go about resolving this issue and restart the database?
SQL> shutdown immediate
ORA-24324: service handle not initialized
ORA-24323: value not allowed
ORA-01089: immediate shutdown in progress - no operations are permitted
SQL> shutdown abort
ORA-01031: insufficient privileges
Thanks and regards,
IqbalHi,
check SAP Note 700548 - FAQ: Oracle authorizations
also check Note 834917 - Oracle Database 10g: New database role SAPCONN
regards,
kaushal -
Help needed in solve my issue in sapscript.
Hi all,
I have a requirement to prin the terms and condiions after my Po layout. for this i have created 4 pages for terms and condition. Each page i have included two windows. One is main window and another window is having the text to be printed.
in standard attributes i have assigned as
page next page
first next
next last
last last1
last1 last2
last2 last3
last3 last3.
Here my issue is only the first page of the terms and conditions are printing in the output... Remaining text dint print..
Please help me to solve the issue....
Thanks
Ahamed
Edited by: Ahamed Anish on Oct 22, 2011 3:27 PMLocked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
A
1. iOS- Forgotten passcode or device disabled after entering wrong passcode
2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
3. Restoring iPod touch after forgotten passcode
4. What to Do If You've Forgotten Your iPhone's Passcode
5. iOS- Understanding passcodes
6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
7. iOS - Unable to update or restore
Forgotten Restrictions Passcode Help
iPad,iPod,iPod Touch Recovery Mode
You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
Also, see iTunes- Restoring iOS software. -
Help needed in solving a issue
Hello,
Using obiee 11g.
I am trying to build a report which uses prompt value.
The report is like for the prompt value show the count.If the prompt value is not selected show all and if selected show only relevant records.
The req is like i have a report coming from tableA,tableB,tableC and a prompt.Now the prompt values are coming from a single table tableD.
now we have the table relations which are very simple
tableA.valueA=tableB.valueB
tableB.valueB1=tableC.valueC1
tableC.valueC=tableD.valueD
So earlier i didn't had any problem for reporting.
Now there is a small change ,that is in the tableD we have one row value like test1.
now this is not present in the tableC.So in the prompt it will show but in the report when i filter for that test1 i get no results found.
My new req is to get the corresponding value.
I am using the tableD.valueD is prompted in my report.Now since that value is not there in the tableC it shows me no results found.
This new row has value only in tableA.valueA2 column.that means
if tableD.valueD='test1' then tableA.valueA2 will get populated with value 'ABC'
I am completely confused on how to move forward?
ThanksHi,
Do a Right outer join between table C and table D in repository. that will fetch all records from table D eventhough matching records doesn't exist in Tabale C. your problem will be solved.
Thanks
Jay. -
Help needed in getting the previous Quarter Data
Hello folks,
I have this procedure where i have to modify the current procedure in the following manner:
I need to get rid of the variables p_start and p_end so that i cannot see them in the crystal report and include the Frequency in the procedure to get the Data based on the Dates.
and Main requirement is" If the Frequency is Quarterly " it should get the previous quarter Data, if "Frequency is monthly" it should return the previous month data.Can anyone please let me know where shud i make changes. Am including the procedure for refernce. Any help is appreciated
Thanks a millioin,
CREATE OR REPLACE PROCEDURE hcsc_recovery_report_h(report_record in out cr_return_types.gen_cursor,
p_start string,
p_end string)
IS
v_startdate date;
v_enddate date;
BEGIN
v_startdate := to_date(p_start, 'YYYY/MM');
v_enddate := last_day(to_date(p_end, 'YYYY/MM'));
open report_record for
select --distinct r.recovery_id
r.event_id,
r.event_case_id,
c.client_id,
c.client_code,
c.client_name,
b.branch_group_code,
b.branch_group_description,
g.employer_group_code,
g.employer_group_name,
e.client_policy_identifier,
e.date_of_incident,
e.event_type_code,
sum(nvl(r.amount, 0)) as amt_received,
nvl(sum(case
when r.amount >= 0 then
rd.fees
else
rd.fees * (-1)
end),
0) as fees,
ec.close_date, *001* commented
(case
when ec.close_date <= to_date(to_char(v_enddate, 'MMDDRRRR') || '235959',
'MMDDRRRR HH24MISS') then
ec.close_date
else
null
end) as close_date, --*001* added
get_case_value(ec.event_id, ec.event_case_id, v_enddate) as case_value,
nvl(etl.fee_percent_flag, 'N') workmans_comp,
max(to_char(r.recovery_date, 'FMMonthYYYY')) Year_Month,
max(to_char(r.recovery_date, 'YYYYMM')) Y_M,
max(to_date(to_char(r.recovery_date, 'MMYYYY'), 'MM/YYYY')) date_MY
from recovery r,
recovery_detail rd,
event e,
client c,
branch_group b,
employer_group g,
event_case ec,
event_type_lookup etl
where r.event_id = e.event_id
and r.event_case_id = ec.event_case_id
and ec.event_id = e.event_id
and rd.recovery_id(+) = r.recovery_id
and r.recovery_date between v_startdate and
to_date(to_char(v_enddate, 'MMDDRRRR') || '235959',
'MMDDRRRR HH24MISS')
and e.client_id = c.client_id
and g.client_id = c.client_id
and b.client_id = c.client_id
and g.employer_group_id(+) = e.employer_group_id
and b.branch_group_id(+) = g.branch_group_id
and e.event_type_code = etl.event_type_code -- SST 130852 04/14/09
group by r.event_id,
r.event_case_id,
c.client_id,
c.client_code,
c.client_name,
b.branch_group_code,
b.branch_group_description,
g.employer_group_code,
g.employer_group_name,
e.client_policy_identifier,
e.date_of_incident,
e.event_type_code,
ec.close_date,
get_case_value(ec.event_id, ec.event_case_id, v_enddate),
nvl(etl.fee_percent_flag, 'N')
having sum(nvl(r.amount, 0)) <> 0
order by c.client_code,
b.branch_group_code,
g.employer_group_code,
r.event_case_id;
Edited by: user11961230 on Oct 20, 2009 9:02 AMuser11961230 wrote:
1. I want to get rid of the p_start and p_end. So how do i declare the v_startdate and v_enddate in the following part?
v_startdate := to_date(p_start, 'YYYY/MM');
v_enddate := last_day(to_date(p_end, 'YYYY/MM'));I'm not sure what you mean by "declare".
In PL/SQL, "declare" means state (at the beginning of a block) that there will be a certain variable with a certain name (such as v_startdate) and datatype (such as DATE). You're already declaring the variables v_startdate and v_enddate correctly, right before the BEGIN statement.
Declaring a variable is not the same as initializing it, that is, giving it a value for the first time. Your next question seems to be about initializing..
2. where exactly shud i include the logic that u have mentioned. sorry a dumb questionIn place of the two assignment statments that reference p_start and p_end.
3. This time am gonna use frequency instead of report_type so that i will get rid of the p_start and p_end from the procedure.Do you mean you want to pass an argument (called frequency) that tells if you want a quarterly or a mionthly report, just like the variable report_type in my example?
If so, replace report_type in my example with frequency.
I think you want something like this:
CREATE OR REPLACE PROCEDURE hcsc_recovery_report_h
( report_record in out cr_return_types.gen_cursor
, frequency IN VARCHAR2
IS
-- Declare local variables:
v_startdate date;
v_enddate date;
BEGIN
-- Initialize v_startdate and v_enddate, depending on frequency
IF frequency = 'QUARTERLY'
THEN
v_startdate := TRUNC ( ADD_MONTHS (SYSDATE, -3)
, 'Q'
v_enddate := TRUNC (SYSDATE, 'Q');
ELSIF frequency = 'MONTHLY'
THEN
v_startdate := TRUNC ( ADD_MONTHS (SYSDATE, -1)
, 'MM'
v_enddate := TRUNC (SYSDATE, 'MM');
END IF;
-- Subtract one second from v_enddate
v_enddate := v_enddate - ( 1
/ (24 * 60 * 60)
open report_record for
select --distinct r.recovery_id
r.event_id,
and r.recovery_date BETWEEN v_startdate
AND v_enddate
...When you post formatted text on this site (and code should always be formatted), type these 6 characters:
(small letters only, inside curly brackets) before and after sections of formatted text, to preserve spacing.
Edited by: Frank Kulash on Oct 20, 2009 2:37 PM
Changed query to use BETWEEN -
Help needed to find the schema/application data size
Hi,
Would i request you to help me to measure schema size/(APEX)application data size.
I've 3 applications running on same schema and now i want to move one application to new server, new schema,
Now i need to know how much space is required for this application to host on the new server, so i should find the application size and application data size in the current server, your hep is appreciated. thanks in advance.
RegardsHi,
Would i request you to help me to measure schema size/(APEX)application data size.
I've 3 applications running on same schema and now i want to move one application to new server, new schema,
Now i need to know how much space is required for this application to host on the new server, so i should find the application size and application data size in the current server, your hep is appreciated. thanks in advance.
Regards -
Urgent help need to solve wlst RuntimeMBeanServer is not enabled
I am using wlst to connect to a osb but I am getting the following errors:
How can enable RuntimeMBeanServer using the console ?
[wlst] The CompatabilityMBeanServer is not initialized properly.
[wlst] This might happen if the CompatabilityMBeanServer is
[wlst] disabled via the JMXMBean.
[wlst]
[wlst] To view the root cause exception use dumpStack()
[wlst] WLST detected that the RuntimeMBeanServer is not enabled. This
[wlst] might happen if the RuntimeMBeanServer is disabled via the JMXMBean.
[wlst] Please ensure that this MBeanServer is enabled. Online WLST cannot
[wlst] function without this MBeanServer.
[wlst] Traceback (innermost last):
[wlst] File "/tmp/wlsttempfile1273502167.py", line 8, in ?
[wlst] File "<iostream>", line 22, in connect
[wlst] File "<iostream>", line 646, in raiseWLSTException
[wlst] WLSTException: Error occured while performing connect : "Cannot connect to WLST."
[wlst] Use dumpStack() to view the full stacktrace
[wlst] Exception in thread "main" java.lang.IllegalStateException: Traceback (innermost last):
[wlst] File "/tmp/wlsttempfile1273502167.py", line 8, in ?
[wlst] File "<iostream>", line 22, in connect
[wlst] File "<iostream>", line 646, in raiseWLSTException
[wlst] WLSTException: Error occured while performing connect : "Cannot connect to WLST."
[wlst] Use dumpStack() to view the full stacktrace
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.printError(WLSTInterpreterInvoker.java:110)
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.executePyScript(WLSTInterpreterInvoker.java:103)
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.main(WLSTInterpreterInvoker.java:27)
[wlst] Java Result: 1N Gasparotto wrote:
bsac14 wrote:
my database is in no archive mode
can you please tell how to restore
yes it is a datafile corruptionYou did not say how you defined that's a datafile corruption. You provide minimum to zero information.
I just need to bring the database up,no need any exact data
I can refresh from prod laterThen drop and recreate database. Basically and since you are not in archive mode, no recover is possible. Period.
Nicolas.Hi,
How did you come to the conclusion that your datafile is corrupted? Can you provide and supported logs?
Regards ..... -
hi to all,
i am using a session less bean A to querry a Entity Bean B , which inturns calls another EntityBean C ,
finally a ' find' method is invoked on the EntityBean C, In this a vector is created which holds 3 different vectors at different indexes, now the problem i am facing is that when Enity Bean B is returning the final vector to the A , it's firing out a errors that :-
TRANSACTION COULD NOT BE COMPLETED: RemoteException occurred in server thread;
ested exception is:
java.rmi.RemoteException: null; nested exception is:
java.rmi.ServerException: RemoteException occurred in server thread; ne
ted exception is:
java.rmi.RemoteException: null; nested exception is:
java.io.NotSerializableException: java.util.Vector$1
java.rmi.ServerException: RemoteException occurred in server thread; nested exc
ption is:
java.rmi.RemoteException: null; nested exception is:
java.rmi.ServerException: RemoteException occurred in server thread; ne
ted exception is:
java.rmi.RemoteException: null; nested exception is:
java.io.NotSerializableException: java.util.Vector$1
java.rmi.RemoteException: null; nested exception is:
java.rmi.ServerException: RemoteException occurred in server thread; ne
ted exception is:
java.rmi.RemoteException: null; nested exception is:
java.io.NotSerializableException: java.util.Vector$1
java.rmi.ServerException: RemoteException occurred in server thread; nested exc
ption is:
java.rmi.RemoteException: null; nested exception is:
java.io.NotSerializableException: java.util.Vector$1
java.rmi.RemoteException: null; nested exception is:
java.io.NotSerializableException: java.util.Vector$1
java.io.NotSerializableException: java.util.Vector$1
<<no stack trace available>>
ur any help would be highly appricated to solve out this prob.
If i try to iterate through this vector it's gives IOR:0232003x343242344asdsd................................................blabla....................
thanxs in adavance
DeepakHi I think you are using the method elements() in a remote method.
This method can't be Serializable!! Because it returns an Interface. Interfaces are never Serializable.
Regards,
Peter -
SQL Help Need to Calculate Count beteen two dates.
CREATE TABLE SUPPORT_SERVICES.LOAN_ACTION
LOAN_NBR NUMBER(10),
ACTION_CODE VARCHAR2(20 BYTE),
DOC_CODE VARCHAR2(20 BYTE),
ACTION_DATE DATE
SET DEFINE OFF;
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'ASSIGN', 'MORT', TO_DATE('12/01/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'PASSIGN', 'MORT', TO_DATE('12/02/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'QASSIGN', 'MORT', TO_DATE('12/03/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'RASSIGN', 'MORT', TO_DATE('12/09/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'SASSIGN', 'MORT', TO_DATE('12/04/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'TASSIGN', 'MORT', TO_DATE('12/05/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'UASSIGN', 'MORT', TO_DATE('12/06/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'YASSIGN', 'MORT', TO_DATE('12/07/2011 20:24:38', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(100, 'xASSIGN', 'MORT', TO_DATE('12/08/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'ASSIGN', 'MORT', TO_DATE('12/01/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'PASSIGN', 'MORT', TO_DATE('12/02/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'QASSIGN', 'MORT', TO_DATE('12/03/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'SASSIGN', 'MORT', TO_DATE('12/04/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'TASSIGN', 'MORT', TO_DATE('12/05/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'UASSIGN', 'MORT', TO_DATE('12/06/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'YASSIGN', 'MORT', TO_DATE('12/07/2011 20:24:39', 'MM/DD/YYYY HH24:MI:SS'));
Insert into LOAN_ACTION
(LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE)
Values
(101, 'UNASSIGN', 'MORT', TO_DATE('12/08/2011 20:24:40', 'MM/DD/YYYY HH24:MI:SS'));
COMMIT;Could some one please give me a idea to solve following scenario .
from the above table i want to count DOC_CODE column values between action_code ='ASSIGN' AND action_code 'UNASSIGN'
example :
LOAN_NBR ACTION_CODE DOC_CODE ACTION_DATE
101 ASSIGN MORT 12/1/2011 8:24:39 PM
101 PASSIGN MORT 12/2/2011 8:24:39 PM
101 QASSIGN MORT 12/3/2011 8:24:39 PM
101 SASSIGN MORT 12/4/2011 8:24:39 PM
101 TASSIGN MORT 12/5/2011 8:24:39 PM
101 UASSIGN MORT 12/6/2011 8:24:39 PM
101 YASSIGN MORT 12/7/2011 8:24:39 PM
101 UNASSIGN MORT 12/8/2011 8:24:40 PMFor Loan Number 101 ,ACTION_CODE='ASSIGN' was on 12/1/2011 and ACTION_CODE='UNASSIGN' was on 12/6/2011
so now the doc_count is 4 ;
Let me know if you need any additioanl infoamtion on this.
Thank you
VijayHi, Vijay,
Thanks for posting the CREATE TABLE and INSERT statements.
Don't forget to post the full results you want from that sample data, nor to say which version of Oracle you're using. (It probably doesn't matter this time; the query below works in Oracle 8.1 and higher.)
vijayp wrote:
from the above table i want to count DOC_CODE column values between action_code ='ASSIGN' AND action_code 'UNASSIGN'
example :
LOAN_NBR ACTION_CODE DOC_CODE ACTION_DATE
101 ASSIGN MORT 12/1/2011 8:24:39 PM
101 PASSIGN MORT 12/2/2011 8:24:39 PM
101 QASSIGN MORT 12/3/2011 8:24:39 PM
101 SASSIGN MORT 12/4/2011 8:24:39 PM
101 TASSIGN MORT 12/5/2011 8:24:39 PM
101 UASSIGN MORT 12/6/2011 8:24:39 PM
101 YASSIGN MORT 12/7/2011 8:24:39 PM
101 UNASSIGN MORT 12/8/2011 8:24:40 PMFor Loan Number 101 ,ACTION_CODE='ASSIGN' was on 12/1/2011 and ACTION_CODE='UNASSIGN' was on 12/6/2011
so now the doc_count is 4 ;U<b>N</b>ASSIGN was on 12/8.
UASSIGN (with no N before the end) was on 12/6.
>
Let me know if you need any additioanl infoamtion on this.What if either ASSIGN or UASSIGN occurs more than once for the same loan_nbr? The query below uses the earliest ASSIGN date and the latest UASSIGN date.
Thank you
Vijay
WITH got_date_range AS
SELECT loan_nbr, doc_code, action_date
, MIN ( CASE
WHEN action_code = 'ASSIGN'
THEN action_date
END
) OVER (PARTITION BY loan_nbr) AS assign_date
, MAX ( CASE
WHEN action_code = 'UASSIGN'
THEN action_date
END
) OVER (PARTITION BY loan_nbr) AS uassign_date
FROM loan_action
SELECT loan_nbr
, COUNT (doc_code) AS cnt_doc_code
FROM got_date_range
WHERE action_date > assign_date
AND action_date < uassign_date
GROUP BY loan_nbr
; -
Help needed with variable - trying to get data from Oracle using linked svr
Sorry if I posted this in the wrong forum - I just didn't know where to post it.
I'm trying to write a simple stored procedure to get data from an oracle database via a linked server in SQL Enterprise manager. I have no idea how to pass a variable to oracle.
Here's how I would get the variable in SQL:
declare @maxkey INTEGER
select @maxkey= MAX(keyfield) from [server].Data_Warehouse.dbo.mytable
select * from [server].Data_Warehouse.dbo.mydetailtable where keyfield=@maxkey
the select statement I need to do in oracle would use that variable like this:
select * from OPENQUERY(OracleLinkedServer,'select
* from ORACLEDB.TABLE where keyfield > @maxkey')
and I get this message: OLE DB provider "OraOLEDB.Oracle" for linked server "OracleLinkedServer" returned message "ORA-00936: missing expression".
I realize that I can't pass the @maxkey variable to oracle - so how do I accomplish this?Please refer the example in this link which deals with Oracle date format.
You can finnd a command DECODE which is used for date formats. If you have a look at whole theory then you will get an idea.
Link:[Bulk insert SQL command to transfer data from SAP to Oracle|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bulk-insert-sql-command-to-transfer-data-from-sap-to-oracle-cl_sql_connection-3780804] -
Help needed with HTC One regarding mic problem with noise cancellation
I picked up an HTC One last week, and so far I am loving the phone. Great build quality, screen, sound - all as advertised.
However, there is one very annoying problem I am having. When I am talking to someone, I can gear them great, but they keep telling me I sound muffled or robotic. I performed some tests, and the problem appears to be something with the dual microphones and the HTC One's noise cancellation features.
Here are the tests I ran:
Typical phone call, with holding the phone as I normally do on the sides and to my ear. Call result, pretty muffled voice. I'd give the call quality a 5/10.
Help the phone as I typically do, but covered the mic hole on the back of the phone. This definatelyimproved call quality. Was louder and clearer, but not perfect. I'd rate it at 8/10.
Help the phone towards the bottom, using my hand to kind of cup the bottom directing the sound to the bottom mic. This was a further improvement in sound quality. Rating would be 9/10.
Help phone as normal, but covered the bottom mic hole. Very low volume and muffled sound. Rating a 4/10.
Talked directly into the bottom of the phone into the bottom mic. This gave perfect call quality and volume. Rating a 10/10!
Talked directly into the mic on the back of the phone. Horrible quality, couldn't hear hardly anything. Rating 0/10.
Speaker phone on, held the phone up and moved it around as I would normally use a speaker phone. Call quality was really nice. Id give it 9/10.
Speaker phone on, covered back mic hole and used speaker phone as in #7. Very bad quality, rating 1/10 for call quality.
Speaker phone on, covered bottom mic and help speaker phone in hand. Really good quality, even an improvement over test #7. Would give the call quality a 9.5/10.
Speaker phone on, placed face down on table. Volume a bit low, a little muffled. Call quality 6/10.
Speaker phone on, place face up on table. A bit worse than test #10, low volume and a bit muffled. Call quality is 5/10.
Based on these tests, I know this problem has nothing to do with the network CDMA connection. It is obvious that the noise cancellation features are a bit too aggressive, or I have some hardware problem with one or both mics.
I question wether its really a hardware mic problem, because on non-speaker phone calls, talking directly into the bottom mic gives great quality. And on Speaker phone, covering the bottom mic makes the speaker phone sound really good. That's why I think there's something going on with the "Sense Sound" noise cancellation.
Is anyone else seeing the same issues? I want to be able to hold the phone normal on a non speaker phone call and get good quality.
Looking for any tips and advice anyone can give. Is it worth exchanging for a new one, as I am still in my 14 day window.
Thanks in advance for the help!Here are some other threads that seem to be having similar issues:
http://forum.xda-developers.com/showthread.php?t=2262648
http://forum.xda-developers.com/showthread.php?t=2294532 -
Help need in Stacked bar vertical - No data found message
I am using Stacked bar vertical with the 3 series. The problem is if any one of the series returns zero rows for the query it displays the No data found message for all the series and blank graph is there on screen with just x and y axi with the name.
The result i want is if any series in the graph returns zero row for the query it should executed the other series and show the graph accordingly for the series fetch the data.
all these queries are returning the data when run on database instead of one.
Can anyone help me for this?Hello Sunil,
you may find some info here:
Document on Multiple Series SVG Line Chart
Generally speaking, if you want your queries to return "dense" data, you must ensure that a zero (Y value) is returned against each X value. If your queries return no rows, it means you must "artificially" create values, probably rewriting the queries with an outer join to a table returning the desired X values and using NVL function to replace null (Y) values with zeros.
Also, be careful with the order of X values, it really matters, otherwise you'll get skewed charts!
Bye,
Flavio -
Help needed in solving a problem, thanks. Code Attached..
Hello All
I am facing a problem working with Berkely DB 4.5.20. I am trying to search in the database whether the key is already present or not. It is working fine with Microsoft Visual Studio but when i use the same code with Code::Blocks editor and MinGW compiler. It is not workig fine.
The code for searching the key is*****
bool CDbProject::IsKeyIndexAvailable(ProjectKey ProKey, UINT DataIndex)
int ret=0;
Dbc *cursorp;
bool flag=false;
cursor(NULL, &cursorp, 0);
//set the key
Dbt key(&ProKey, sizeof(ProKey));
Dbt data;
//search the database for the key.
ret = cursorp->get(&key, &data, DB_SET);
//ret = cursorp->get(&key, &data, DB_NEXT); //Rohit
if (!ret)
{ //if found check if the index is same
do
ProjectDataDetail *myProjDetails;
myProjDetails = (ProjectDataDetail*)data.get_data();
if (myProjDetails->uIndex==DataIndex)
flag = true;
break;
} while (cursorp->get(&key, &data, DB_NEXT_DUP) == 0); //Loop all the duplicate
if (cursorp != NULL)
cursorp->close();
return flag;
And the function to save the data in the database is *******
int CDbHandler::Put(void* pKey, size_t nKeyLen, void* pData, size_t nDataLen)
int ret = 0;
Dbt key(pKey, nKeyLen);
Dbt data(pData, nDataLen);
ret = put(NULL, &key, &data, DB_NODUPDATA);
if (ret==-30996)
ret = ERR_PROJECT_KEY_DATA_ALREADY_EXISTS;
return ret;
Please help...
Thanks in advance,,,
Message was edited by:
user610238Thanks for the reply Sandra
I try to tell what is happening in the search key function, If still not possible, then i will try to create a stand alone application...
bool CDbProject::IsKeyIndexAvailable(ProjectKey ProKey, UINT DataIndex)
int ret=0;
Dbc *cursorp;
bool flag=false;
cursor(NULL, &cursorp, 0);
//set the key
Dbt key(&ProKey, sizeof(ProKey));
Dbt data;
//search the database for the key.
// SANDRA......If i use DB_SET,as you can see below. It is not able to find the key at all. BUt if i use DB_NEXT, then it is able to find the first key only everytime with the data also (Even if i am looking for some other key, it will find the first key saved always..)
ret = cursorp->get(&key, &data, DB_SET);
//ret = cursorp->get(&key, &data, DB_NEXT); //Rohit
if (!ret)
{ //if found check if the index is same
do
ProjectDataDetail *myProjDetails;
myProjDetails = (ProjectDataDetail*)data.get_data();
if (myProjDetails->uIndex==DataIndex)
flag = true;
break;
} while (cursorp->get(&key, &data, DB_NEXT_DUP) == 0); //Loop all the duplicate
if (cursorp != NULL)
cursorp->close();
return flag;
} -
Help needed with SQL to split huge data into two excel or text files.
Hi,
I have a table which has around 1850000 records. I want to split the data into two sets and import the data in .txt or execl file.
How can i break upthe records using rownum or any thing
select * from tablename where rownum<940000 fetched some records
but
when i gave select * from tablename where rownum>940000 it was not fetching records.
Guidemewhen i gave select * from tablename where rownum>940000 it was not fetching records.try this
select * from (select tablename.*, rownum rn from tablename) where rn >940000
Maybe you are looking for
-
Usb audio out from airport express
Hi, If I want to put a DAC with USB input between Airport Express and my stereo, will I be able to do so? I'm thinking about using the NuForce Icon-2 DAC. So Itunes>>Airport Express>>NuForce DAC>>stereo receiver. Thanks in advance, Dave
-
Tomahawk jar not available in JSF
{color:#0000ff}Hi all, I use myface1.1 tomcat5.5 and EBA workshop3.3 to develope JSF website. In some reason, i use tomahawk1.1.3 selectOneRadio. At the beginning, everything seen quite smooth, but when i test my website servial time, the error messa
-
File as a parameter in teststand
Hello, how can I give an action (LabView adapter) a file as parameter. I have a VI which needs a path (a text file to parse) I can change this to string. a) But how can I give TestStand this file as parameter and b) when this is possible, is it also
-
Finder not recognizing external disk drive
Hi I have just bought a Firestorm external drive to burn CDs. Attached it without any problems but as soon as I put in a blank CD it comes up with the message "You cannot burn this disc in the Finder because the disc drive is not supported". There's
-
Unable to access web setup from 4 different Win7 machines with IE9 / FireFox
I Hope someone can help, I suspect this may have something to do with a recent update to Windows or IE since this worked at least a couple of months ago. I'm unable to access the web setup screen from 4 different windows machines running IE 9 or Fir