Query with = only provides the 'less than' portion of the results
I have a query that checks dates to be >= start date and <= end date.
The results are always >= start date and < end date.
The same where clause in sqlplus works just fine. Is this a bug in BI Publisher?
Correct, the ipad I was testing with is the ipad air that came out in Oct/Nov 2013 I believe. Though the iphone 5s is the latest version as well that I was using to test.
I had 2 expresses connected wirelessly and 2 extremes (both connected via ethernet). Based on your point about the wirelessly extended I ended up taking one of the Expresses and connecting that via ethernet to extend the network. When I re-ran the same tests I had the following based on two tests:
Ipad air: 58.77/38.06 and 55.64/38.35
Iphone 5s: 37.48/29.12 and 60.08/29.12 (big difference)
I've done a factory reset a number of times on these devices. I just tried it again for the one remaining airport express that I'm unable to connect on a regular basis via ethernet. I need this one connected to the network as I use it for the airplay feature for audio to our sound system. That thing absolutely does not show up unless I connect it first to ethernet.
Similar Messages
-
What can I do about error -50 in a video with only short clips (less than 1 sec)?
I get Error -50 when trying to export a music video with lots of short clips I just made in imovie 8.0.6. After googleing the problem i realize that its probably the short clips (under 1 sec) that are the problem.
Is there any way to get around this?
Would really appriciate the help!!!As a test Depress an hold the option key while launching iPhoto - create a new test library and import a few photos into it - report back with the results and if this problem repeats in the new test library
LN -
My phone has been plugged in to my computer for more than one hour and the status bar only shows about less than 1/4 completed. I have an iphone 5s btw.
Depends on how strong your wifi connection is.
you can try a reset hold down the home/sleep button together until you see the apple logo and then release. -
Rogers is saying that IOS4 won't allow use of the personal hotspot with a plan of less than 1GB data. I say it's a policy of theirs, not an iOS restriction. Anyone know the truth?
I call BS but the tech guy was insistent that the iPhone can detect what plan I have and won't enable the feature and there's nothing they can do about it, short of selling me a larger data plan...robfromkelowna wrote:
Actually it does. It's wrong to lie to a customer. By blaming Apple, they shift the blame and make it seem like there is nothing they can do about it. If they admitted it was their policy, I could complain and try to get it changed or I could move to another carrier.
If a person killed someone and blamed it on a heart attack, the person is stil dead, does it matter? Either way they're dead, right... (extreme, I know, but illustrating a point)
Wow.
It is certainly Rogers policy and is not unusual at all among carriers.
Seems like a non-issue to me, but apparently being "lied to" ( perhaps the employee was simply mistaken, it happens) is a major deal to you. -
i'm using numbers for my students grades. the passing grade is 30 points. what i want to happen is that very students with a grade of less than 30 will have their points it red color. does the IF function can do this? how?
Hi efren
Conditional format will do this.
Select the Cells, then Menu > Format > Show Conditional Format Rules
Regards,
Ian. -
Only records of less than one day allowed for attendance/absence type 1002
Hi All,
I am getting an error while maintaining my sick leave absence type
"Only records of less than one day allowed for attendance/absence type 1002"
how to resolve this
SDBcz recently i made a change like this
For our sick leave
"First 14 days(1- 2 weeks) Full Salary
Next 14 days (3- 4 weeks) 75% Salary
Next 14 days (5- 6 weeks) 50% salary
Next 28 days (7- 10 Weeks) 25 % Salary
More than 10 Weeks no Salary"
so what i did is
I mantain one Sick leave type and counting rule as -
seq no 1 for "First 14 days(1- 2 weeks) Full Salary
seq no 2 for Next 14 days (3- 4 weeks) 75% Salary
like this for all the conditions
and in deduction rule I maintained deifferent Absence quotas
Plz suggest me this solution will work out
SD -
Only records of less than one day allowed for attendance/absence type COMP
Hi Friends
I configured all the process in IMG for compensatory off
ie ,Absence types,Attendance Types ,counting rules and assignment
but when I tried to create attendances on a particular public holiday in PA 30 then the system shows 'Only records of less than one day allowed for attendance/absence type COMP' (Compensatory Off)
Anyone pls help me to solve this problem
regards
LakshmiHi
In PA30 which infotype I should maintain and where I can see the result.
Eg If the person works on 25/12/2007(public holiday) ,he wants to take compensatory off on the next working day.
In this case How I can configure
Pls help
Regards
Lakshmi -
ADF how can i execute a query with parameters when the page renders
hi
i am using ADF web 11g
i need to execute a query with parameters when the page renders
thankshello,
I'm a fan of Java code, I really am.
But when you use ADF, you decided to move to a more declarative environment.
So why not do it declarative, the adf way?
In your pagedef insert a action binding.
This can be anything, a call to the application module, a call on the iterator(Like executeWithparams, etc.)
Create an invokeAction in your pagedef and set the condition.
This example refreshes(Action 2 is execute query) the data.
First the method binding:
<action IterBinding="PersoonIterator" id="Execute" InstanceName="LSAppModuleDataControl.Persoon"
DataControl="LSAppModuleDataControl" RequiresUpdateModel="true" Action="2"/>And the invoke action
<invokeAction Binds="Execute" id="refreshData"/>This always refreshes the data on page entry, but anything is possible, you can set condictions for the invokeAction.
-Anton
PS Yes I know that pagedefs become backing beans in the end and yes that is Java code, but if you wanna play the ADF way, the goal is the reduction of Java code and the increased performance of declarative programming. -
When executing query...in the result i want to display each row values
Hi All,
When executing query...in the result area i want to display each row values.
Example: query result is like this
Business Area Sales Material
kh02 1000 2000
2000 300
5000 400
6990 1000
Kh03 1400 700
200 500
50 60
but i need like this
kh02 1000 2000
kh02 500 600
kh02 400 300
kh03 1400 700
kh03 200 500
Why i need like this because am exporting to Excel spread sheet and i have to send as i show above ....i am doing manual but the file is very big like 95, 969 records i have to change manual...like this i have to change 8 files.
please advice me easy way
i willl be very gr8ful
Thanks
sidharthaHi,
that'S exactly what hide repeated key values does. If this option is on your result is:
Kh02 1000 1500
blank 500 456
blank 600 700
kh03 400 500
balnk 500 600
If you turn it off, the result will be:
Kh02 1000 1500
Kh02 500 456
kh02 600 700
kh03 400 500
kh03 500 600
Exaclty what you want. Try it, it should work
Regards,
Juergen -
Can I automatically submit a WebApp Search form (with javascript) so the results show up automatically?
yes. I also interested in how to do it.
-
How to send a ttl signal with a good exactitude less than 10ms?
i have a pci 6013 (8 input channel) and pci 6711 (4 outpout channel).Then i need to send a ttl signal to a camera ccd to take a photo when a waveform sinus is equal at zero (rising), but when i send this TTl signal with dasylab using generator pulse or combi trigger and readind this signal, i have difference between dasylab pulse(that is exactly) and measurement pulse that is approximate 40ms after.But i need to have less than 10ms is it possible?
Frequence rate =1000hz and block size=512 the waveform sinus is 0.2Hz.i have already try to increase the sampling rate but nothing happens.Thank for your help.Yes, it's possible.
You just have to reduce your block size to 10 !
For more informations, visit Forum Dasylab en français at http://forum.aceboard.net/?login=128657
Frédéric Miqueau
MD Electronic, France
http://www.mdelectronic.fr
French Dasylab Forum : http://www.dasylab-forum.de/forum/index.php?showforum=43 -
Simple Query with subquery returns the 'wrong' result
DB version: 11.2
We created about 27 schemas in the last 4 days. The below query confirms that.
SQL > select username, created from dba_users where created > sysdate-4;
USERNAME CREATED
MANHSMPTOM_DEV_01 12 Jul 2012 11:55:16
PRSM01_OAT_IAU 13 Jul 2012 01:51:03
F_SW 11 Jul 2012 17:52:42
FUN_CDD_HK_SIT 09 Jul 2012 15:33:57
CEMSCOMPTOM_UAT_01 12 Jul 2012 11:43:45
STORM02_OAT_IAU 13 Jul 2012 02:06:29
27 rows selected. -------------> Truncated outputFrom DBA_TS_QUOTAS.max_bytes column , we can determine the space quota allocated for a user/schema
SQL > desc dba_ts_quotas
Name Null? Type
TABLESPACE_NAME NOT NULL VARCHAR2(30)
USERNAME NOT NULL VARCHAR2(30)
BYTES NUMBER
MAX_BYTES NUMBER
BLOCKS NUMBER
MAX_BLOCKS NUMBER
DROPPED VARCHAR2(3)So, I wanted to see the allocated space for the users created in the last 4 days. The below query should return only 27 records because the subquery returns only 27 records. Instead it returned 66 records !
select username, tablespace_name, max_bytes/1024/1024 quotaInMB
from dba_ts_quotas
where username in (select username from dba_users where created > sysdate-4);Any idea why ? I know it is not a bug with oracle. Its just I haven't been eating fish lately.Hi,
J.Kiechle wrote:
So, I wanted to see the allocated space for the users created in the last 4 days.DBA_TS_QUOTAS doesn't give the allocated space but rather the maximum allowed for a given user.
J.Kiechle wrote:
The below query should return only 27 records because the subquery returns only 27 records. Instead it returned 66 records !What if your user John has Quotas on 3 tablespace TBS1, TBS2 and TBS3 ?
You cannot expect the outer query to only retrieve at most 27 rows just because the inner query returns 27 rows.
For allocated space by tablespace for recently created users, you'd better query dba_segments. something like :select owner, tablespace_name, trunc(sum(bytes)/1024/1024) alloc_mb
from dba_segments
where owner in (select username from dba_users where created > sysdate - 4)
group by owner, tablespace_name
order by owner, tablespace_name; -
Numbers '08 "If" with a greater or less than answer
Hi all - I have a cell with a sum D & E28 (merged cell) that I want another cell B30 to display a value based on what is in cell D & E28.
If cell D & E28 is 8 or less I want B30 to say 8. If D & E28 is greater than 8.001 but less than 12 I want B30 to say 12 and if D & E28 is greater than 12.001 but less then 18 I want B30 to say 18
Any ideas?
Thanks
Peterpdmjr,
=IF(ROUND(D28,3)<=8.001, 8, IF(ROUND(D28,3)<=12.001, 12, IF(ROUND(D28,3)<=18, 18, "Over 18")))
should do it for you.
The nested IF statements handle your logic. The ROUND statements handle internal math errors and your need to break at .001. You didn't say what to do with inputs of 18 or greater, so I suggested a text string for that case.
The form of the IF statement is: If (logical statement) is True, Then do this, Else do this. Your case requires three tests. You could quibble about a value that is, say, 12.0011 and rounds to 12.001, but I doubt you are concerned about that level of detail. If so let me know.
Does this help?
Regards,
Jerry
Message was edited by: Jerrold Green1 -
Stop Query if it does not match with Condtions & Control the result count
Dear All,
I have requirement in my Environment, I have to stop the Queries which compromises these conditions
1. If Query is running more than specified threshold (if it running more than 2 mins).
2. If Query is fetching huge data (rows more than 1000 for example)
Please note we have done enough study on resource governor, it works on compile time, we need to control the queries during run time. Also resource governor does not restrict the resources if they are free.
Answers are appreciated.Hello,
I would not advise you to do such things in your environment.2 mins is very less time how could you be so sure a 2 min query is bad. And your second point is totally baseless it wouldtake a query a fraction of secondto read 1000 rows.My answer would be please
dont implement.
If you want to test below query might achieve the first requirement, I have not tested it please treat this query as hint and optimize or add anything if required.
If you schedule this query through agent for every 2 mins or 5 mins .It can achieve.But some query takes more time to rollback than to finish scheduling this would lead to unstable environment
USE MASTER
IF EXISTS (SELECT * FROM TEMPDB.SYS.ALL_OBJECTS WHERE NAME LIKE '#KILL_CONNECTION')
BEGIN
DROP TABLE #KILL_CONNECTION
END
CREATE TABLE #KILL_CONNECTION
SESSION_ID INT
,TOTAL_ELAPSED_TIME BIGINT
,START_TIME DATETIME
INSERT INTO #KILL_CONNECTION
SELECT
SESSION_ID
,TOTAL_ELAPSED_TIME
,START_TIME
FROM SYS.DM_EXEC_REQUESTS
WHERE TOTAL_ELAPSED_TIME > 7200 AND SESSION_ID > 50
DECLARE @SESSION_ID BIGINT
DECLARE @CMD VARCHAR(1000)
DECLARE KILL_CONNECTION CURSOR FOR
SELECT SESSION_ID
FROM #KILL_CONNECTION
OPEN KILL_CONNECTION
FETCH NEXT FROM KILL_CONNECTION INTO @SESSION_ID
WHILE @@FETCH_STATUS = 0
BEGIN
SET @CMD = 'KILL ' + @SESSION_ID
EXECUTE (@CMD)
END
CLOSE KILL_CONNECTION
DEALLOCATE KILL_CONNECTION godrop table #Kill_connection
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Spooling the output of a Query with out displaying the rows
Hello All,
Is it possible to spool the output of
a query/dbms_output.put_line with out displaying
the Query output on the console.
In my case,list of rows in the output is huge, I want
to eliminate displaying the output of query
so that spooling will complete faster.
Thanks in advance.
-SriniYou can do:
SET TERMOUT OFFIn your script before doing the spool command.
You will have to write your query as a .SQL script and run it from SQL*Plus in order for it to work the way you expect.
sqlplus -s username/password @query_script.SQL
Maybe you are looking for
-
Emails with attachments won't send
Hi - I'm a new Mac user. I have set up a gmail account and set this account up on my Mac (10.6.4). I can send messages but as soon as there is an attachment (even very small ones of 50kb or so) the message doesn't send and I eventualIy get message a
-
Restricting to filling out form only once per person & knowing who filled it
Good afternoon, I have two quick questions (I am modifying the 360 feedback form for my feedback purposes): 1) Are the users only able to fill out the form once, and if not, is there a way to make it so they only fill it out once? 2) Is there a way t
-
Hi all, I'm using XI to push data to PSA table in BW according to the pdf "How Tou2026Integrate XI and BI in SAP NetWeaver 2004s" My problem is that the psa request remains yellow. Is it normal? Should I have only 1 request? or should I get a separat
-
I am attempting to figure out if Photoshop is the right program for a real novice. I need to resize and add text to some images for use in my career website. Any help would be greatly appreciated. Have a wonderful day. Stacey
-
Completely restore mac mini to factory
how do i completely restore a mac mini to factory settings and totally wipe out any casched info?