Query not showing the desired result
Hi allDB:-10.2.0.3
I use the backuppice, which is located between the dates specified by the query after query to extarct. I am really surprised, why it is not giving me the expected results.
select handle, to_char(start_time, 'dd-mon-yy hh24:mi:ss') "start_time" , to_char(completion_time, ' dd-mon-yy hh24:mi:ss') "end_time" from
v$backup_piece where
to_char(start_time,'dd-mon-yy hh24:mi:ss') >'27-oct-10 23:00:00'
and
to_char(completion_time,'dd-mon-yy hh24:mi:ss')<'28-oct-10 04:20:53'
Results truncated, just to fit in this window.
23:02:25
/data/oracle/LNEVRPP1/backup/database/c-465769364-20100927-0c 27-sep-10 23:02:39 27-sep-10
23:02:40
/data/oracle/LNEVRPP1/backup/database/LNEVRPP1_ctl_l1_t730854174_s32554_p1.rmn 27-sep-10 23:02:58 27-sep-10
23:02:59
/data/oracle/LNEVRPP1/backup/database/c-465769364-20100927-0d 27-sep-10 23:03:02 27-sep-10
23:03:02
/data/oracle/LNEVRPP1/backup/database/LNEVRPP1_arc_l1_t730854220_s32556_p1.rmn 27-sep-10 23:03:41 27-sep-10
23:03:44
/data/oracle/LNEVRPP1/backup/database/c-465769364-20100927-0e 27-sep-10 23:03:51 27-sep-10
23:03:51
/data/oracle/LNEVRPP1/backup/database/LNEVRPP1_dbf_l0_t733532449_s33531_p1.rmn 27-oct-10 23:00:50 27-oct-10
23:36:00
/data/oracle/LNEVRPP1/backup/database/LNEVRPP1_dbf_l0_t733534566_s33532_p1.rmn 27-oct-10 23:36:07 27-oct-10
23:48:38
HANDLE start_time end_time
------------------------------------------------------------------------------------- --------------------------- -----------
-----------------
/data/oracle/LNEVRPP1/backup/arc2adsm/LNEVRPP1_arc_l0_t733536053_s33534_p1.rmn 28-oct-10 00:00:54 28-oct-10
00:01:13
/data/oracle/LNEVRPP1/backup/database/c-465769364-20101028-00 28-oct-10 00:01:22 28-oct-10
00:01:23
/data/oracle/LNEVRPP1/backup/database/LNEVRPP1_dbf_l0_t733535322_s33533_p1.rmn 27-oct-10 23:48:43 28-oct-10
00:20:06
/data/oracle/LNEVRPP1/backup/database/LNEVRPP1_dbf_l0_t733537209_s33536_p1.rmn 28-oct-10 00:20:10 28-oct-10
00:33:44
/data/oracle/LNEVRPP1/backup/database/c-465769364-20101028-01 28-oct-10 00:33:47 28-oct-10
00:33:48
/data/oracle/LNEVRPP1/backup/database/LNEVRPP1_ctl_l0_t733538041_s33538_p1.rmn 28-oct-10 00:34:04 28-oct-10
00:34:04
/data/oracle/LNEVRPP1/backup/database/c-465769364-20101028-02 28-oct-10 00:34:06 28-oct-10
00:34:07
Hello
Try:
handle Select to_char (start_time, 'dd-mon-yy hh24:mi:ss') 'start_time', to_char (completion_time, 'dd-mon-yy hh24:mi:ss'), 'end_time '.
v $ element_sauvegarde
where start_time > to_date (27 October 10 23:00 "," dd-mon-yy hh24:mi:ss'")
and completion_time< to_date="" ('28-oct-10="" 23:00:00','dd-mon-yy="">
/
Kind regards
Tycho
Tags: Database
Similar Questions
-
Why "bgp bestpath missing-as-worst med" command does not produce the desired result?
Can dear all, someone tell me why "bgp bestpath missing-as-worst med" command does not produce the desired result?
And I use GNS3 to this practice, the IOS Version: 12.4 (3)
TKS...Back to the beginning:
192.168.23.0/24 192.168.12.0/24
RA(F0/0)-(f0/0) RB (s2/0) - RC (s2/0)
[AS1] [AS2] [AS3]Configuration:
* RA *:
A #do sh run (config - router). b r b
router bgp 1
no synchronization
The log-neighbor BGP-changes
1.1.1.0 netmask 255.255.255.0
192.168.12.2 neighbor remote-2
setmed map of nearby route 192.168.12.2 out
No Auto-resumeIP route 1.1.1.0 255.255.255.0 Null0
setmed allowed 10 route map
the metric value 20* RB *:
B (config - router) #do sh run | b r b
router bgp 2
no synchronization
BGP always-compare-med
The log-neighbor BGP-changes
BGP bestpath missing-as-worst med
neighbor 192.168.12.1 distance-1
neighbour 192.168.23.3 distance-3
No Auto-resume* RC *:
C (config - router) #do sh run | b r b
router bgp 3
no synchronization
The log-neighbor BGP-changes
1.1.1.0 netmask 255.255.255.0
neighbour 192.168.23.2 distance-2
No Auto-resumeIP route 1.1.1.0 255.255.255.0 Null0
But when I checked out table RB bgp, as below:
B (config - router) #do sh ip bgp
BGP table version is 2, local router ID is 192.168.23.2
Status codes: deleted, cushioning d s, history of h, * valid, > best, i - internal.
r SIDE-failure, stale S
Source codes: i - IGP, e - EGP,? -incomplete
Network Next Hop path metrics LocPrf weight
* > 1.1.1.0/24 192.168.23.3 0 0 3 I
* 192.168.12.1 20 0 1 iThe prefix is assigned a MED of 0, but also the best path value when I use "bgp bestpath missing-as-worst med" in how to configure bgp... :-(
Please take a look at the discussion on the configuration of drugs to an eBGP neighbor:
https://supportforums.Cisco.com/thread/343397?TSTART=0
Note that BGP MED is set to 0 even if the injected BGP route from a connected route.
The first time I came across this problem sending MED was there in a picture of 5-6 years service provider. Routes were injected into BGP with the command 'network', has been validated by OSPF routes or static to null0. Involuntary consignment of drugs was mess with load balancing between 2 links of our inbound traffic from the same upstream service provider.
Also note that if a route is learned via iBGP, border router removes MED before the road to advertising for an eBGP peers (i.e. the above comments apply a when a route is injected locally into the border and then router BGP sent to an eBGP peer).
I don't know what the cause of the problem that you said in your last post. It delivers last for a long time or that it does not change after a while?
p.s. Sorry, I edited post because I said "iBGP" instead of "eBGP" at some point.
-
its ridiculous... I asked for the plan a month and cloud it recharges on a monthly basis and now when I try to cancel the membership that it does not show the desired option...
Cancel your membership creative cloud
To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...
Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache. If he continues to not try to use a different browser. -
Confirmation of dashboard does not display the desired results
Hello
I have confirmation created using this condition. But it does not show me the results. The code seems to be correct.any help please...
-case when TimeStampDiff (SQL_TSI_DAY, "TB1". CL1, CURRENT_DATE) between 0 and 30 or TimeStampDiff (SQL_TSI_DAY, "TB1". Cl2, CURRENT_DATE) between 0 and 30, then 30 days
When TimeStampDiff (SQL_TSI_DAY, "TB1". CL1, CURRENT_DATE) between 31 and 60 or TimeStampDiff (SQL_TSI_DAY, "TB1". Cl2, CURRENT_DATE) between 31 and 60 then "60 days".
When TimeStampDiff (SQL_TSI_DAY, "TB1". CL1, CURRENT_DATE) between 61 and 90 or TimeStampDiff (SQL_TSI_DAY, "TB1". CL1, CURRENT_DATE) between 61 and 90 ' last 90 days.
another end '> 90 and max 100 days '.Hello
Create a dummy column for the code below
case when TimeStampDiff(SQL_TSI_DAY,"TB1".CL1,CURRENT_DATE) between 0 and 30 or TimeStampDiff(SQL_TSI_DAY,"TB1".CL2,CURRENT_DATE) between 0 and 30 then '30 days' when TimeStampDiff(SQL_TSI_DAY,"TB1".CL1,CURRENT_DATE) between 31 and 60 or TimeStampDiff(SQL_TSI_DAY,"TB1".CL2,CURRENT_DATE) between 31 and 60 then ' last 60 days' when TimeStampDiff(SQL_TSI_DAY,"TB1".CL1,CURRENT_DATE) between 61 and 90 or TimeStampDiff(SQL_TSI_DAY,"TB1".CL1,CURRENT_DATE) between 61 and 90 then 'last 90 days' else '> 90 and max 100 Days' end
filter as is invited for this column after that giving filter as it is prompting you can hide this column or remove it.
Save the report
Award points and to close the debate, if your question is answered.
See you soon,.
Aravind -
SQL query to get the desired result
I have the array with the following values
Account Functional currency Billing currency Amount Header 5 101 USD USD 10 h 00 101 USD CAD 12 h 00 102 JPY USD 9 h 00 102 JPY CAD 3.00 102 JPY SGD 2.00 If the account has one different inv_currencypar that the functional currency and then
I have to summarize the amount in this account by viewing the billing currency
If the account has more than one other inv_currencypar that the functional currency and then
I have to summarize the amount in this account showing the functional currency as the currency of invoicing
I need output like this:
Account
Functional currency Billing currency Total amount Header 5 101 USD CAD 10:00 pm 102 JPY JPY 2:00 pm Can we get over output in sql without writing pl/sql program?
Hello
According to your specific needs, here's a way:
SELECT account
functional_currency
CASE
WHEN 1 = COUNT (DISTINCT NULLIF (invoice_currency
functional_currency
)
)
THEN MAX (NULLIF (invoice_currency
functional_currency
)
)
Of OTHER functional_currency
END AS invoice_currency
The SUM of (amount) AS total_amount
header5
FROM table_x
GROUP BY account
functional_currency
header5
;
If you would care to post CREATE TABLE and INSERT statements for your sample data, and then I could test this.
Is it possible to have 2 (or more) of different functional_currencies in the same account?
-
Group query do not give the desired results
Hello
I have a requirement minimum months based on the State to find:
The following query is in error:
SELECT
b.APP_NAME,
DECODE (a.status,
'C', 'closed ',.
'O', 'open ',.
'F', 'Future',
"W", "pending."
', 'Not open') decode_status
MIN (a.period_name)
TABLE,.
table b
WHERE a.app_id = b.app_id
AND b.app_name = 'name1 '.
A.book_id = & book_id
AND a.status = 'o'
B.app_name GROUP,
DECODE (a.status,
'C', 'closed ',.
'O', 'open ',.
'F', 'Future',
"W", "pending."
', 'Not open') decode_status
for ex: in the above query if I have four records with the status 'o' and period_name ' may-12', ' Jun-12', ' Jun-12', ' Aug-12', then I need to choose 'may "".
Thank you
KiranMaybe
SELECT b.app_name, DECODE (a.status,'C','Closed','O','Open','F','Future','W','Pending','N','Not Opened') decode_status MIN(to_char(to_date(a.period_name,'Mon-RR'),'RRMM')) period_num FROM table a, table b WHERE a.app_id = b.app_id AND b.app_name = 'NAME1' AND a.book_id = :book_id AND a.status = 'O' GROUP BY b.app_name,DECODE(a.status,'C','Closed','O','Open','F','Future','W','Pending','N','Not Opened')
Concerning
Etbin
-
Search app not showing the expected results
I have a brand new iPad 2 Air and I am on iOS later. During the common research applications in the App Store like Alaska airlines, Southwest Airlines or Costco or Castlight health, search results do not contain these common applications. The only way that I could find is the google search on safari and go to app results which will then take me to the correct application of the App Store. Needless to say, it's frustrating. I'm doing something wrong? Anyone else with this experience?
HI I can help you
-
Query to achieve the desired result
Hi all
Am happy to post my first question in this Forum. Please guide me to get the output as shown below using oracle - sql.
C1 c2 c3 c4 OF THE amt
a d c b 50 exp
a, b, c and d nonmed 60
The data above should be modified as shown below.
C1 C2 C3 C4 OF THE amt OF THE amt
a d c 50-60 nonmed b exp
How can achieve us this, Pls Help.
Thank you
Harish
PIVOT is the way to go.
But just for fun, while relying on the input you provided, there may be another approach like that... (questionable solution because of the ambiguous order by clause)
-------
WITH dataset (c1,c2, c3, c4,DES,amt) AS (SELECT 'a', 'b', 'c', 'd', 'exp', '50' FROM DUAL UNION ALL SELECT 'a', 'b', 'c', 'd', 'nonmed', '60' FROM DUAL) select * from (SELECT c1,c2,c3,c4,des,amt,lead(des) over(partition by 1,2,3,4 order by null) col3,lead(amt) over(partition by 1,2,3,4 order by null) col4 FROM dataset) where col3 is not null and col4 is not null;
Output:
C1 C2 C3 C4 THE AMT COL3 COL4 one b c d exp 50 nonmed 60 See you soon,.
Manik.
-
Original title: green screen
my windows Vista Home Basic Edition does not show the Office when I log in. it shows only a green screen. I tried all the options in F8 mode with no result. How can I fix it without losing any information on the hard drive?
Hello
1 - do you mean that you get the green screen even in safe mode?
2 did you recent hardware or software changes to your computer before this problem?
If you are unable to start desktop even in safe mode, then you try to perform the verification and startup repair.
Reference: http://windows.microsoft.com/en-US/windows-vista/Startup-Repair-frequently-asked-questions
-
In the column of table when the values are grater that maximum linear axis it does not show the bar
Hi guys,.
In the column of table when the values are grater than there maximum linear axis it does not show the Bar.But I want to display the bar up to the maximum limit of the axis is linear without changing the limit max.
Consider following the example:
The values are 80 90 200 300
and here is the result:
Left: when I don't put maximum property of linear axis.
Right: when I put in maximum property of linear axis to 200.
Law 4th bar is not visible because the value of this bar is 300 which is excedding maxium. But I want the 4th bar to appear identical to 3 bar.
How can I do this?
Thanks in advance.
Then you should change the value of Y to the maximum value.
Another option, you should consider is changing the Render item column to reflect that the value is greater than the specified maximum value.
-
Can Notes show the number of records with each folder?
Can Notes show the number of records with each folder?
No it can't. It would be nice tho.
-
Recently my account iclould miss his payment to make, and I add another mode of payment by credit card. The monthly amount of iclould has benn already debited from the credit card... but do not show the storage that I would buy for...
< image published personal information >
Low contact left link.
-
Windows 10. installed iTunes version 12.4.0.119. I have several iTunes libraries. On most of them display-> ' display as ' does not show the grid option. A library of fact. It's all music, with no video media. By default seems to be a list that is unchangeable.
Select the sidebar if hidden. View options > view as may depend on which of the options for the song, artist, album, etc. are selected in the sidebar.
TT2
-
map does not show the routes and directions
This feature is not yet supported in India.
http://www.Apple.com/in/iOS/feature-availability/#maps-directions
In addition, your phone may be overheating for a number of reasons. The most common of which is low service area.
Your attributes from battery to the majority of the production of heat, then adjust settings to put less load on the farm in general will help some.
-
When I download an image with Firefox than time, it shows only the Microsoft word logo but do not show the logo of the photo, so when I open the download file it show only the Microsoft word file. and I don't see my folder. but now what can I do?...
What file extension, these files get when save you them?
If they do not have a file extension valid for a picture as a .jpg or .png then try to rename the files and give them an extension of .jpg file to see if that helps.
If Windows hides the file extension and then use quotes ("image.jpg") around the name.
You can check the type of file using the context menu > properties.
Maybe you are looking for
-
Info on my PC is below:Model name: iMac G5 Model Identifier: PowerMac8,1 Processor Name: PowerPC G5 (3.0) Processor Speed: 1.8 GHz Number Of CPUs: 1 L2 Cache (per CPU): 512 KB Memory: 512 MB Bus Speed: 600 MHz Boot ROM Version: 5.2.2f2 Serial Number
-
I removed the toolbars and you can't get back them. I use Windows 7 OS
I can't get back my toolbars, and I don't have the option to choose "display". I clicked on each of them to remove to do a screen capture and thought I should be able to get back them when done, but I'm not finding something that will allow me to do.
-
I do not know what I changed, but now I have a black border of 1 "around my screen. Ground of the screen is set to 1920 x 1080, which is the native resolution of the display. I can't find a sizing option from the menu of the monitor or in the optio
-
The context of the menu hard drive problems - cannot remove the point of garbage
When right click on a drive (icon in the Explorer...) upwards appears familiar context menu. The mine this counts as an item listed in the menu: \REGISTRY\]USERS\S-1-5-21... (many more numbers and letters). I tried all the obvious stuff, including t
-
I have the text is missing when I print HP PSC 1315
When I print a word document, all the text is there