DELETING please help
Is there a quick way to select multiple Items in a list and select every other one without actually clicking them? I need to delete 9000 items that are duplicated.
Open the Script Editor in the /Applications/AppleScript/ folder and enter the following:
tell application "Finder"
set the_items to {}
repeat with this_num from 2 to 9000 by 2
set the_items to the_items & item this_num of window 1
end repeat
delete the_items
end tell
In the Finder, make the folder with the 9000 items the frontmost window, click on the Script Editor window, and press Run. Every second item in the folder will be moved to the Trash. The numbers used can be changed if the folder contains more than 9000 items.
(16203)
Similar Messages
-
Hi, Excuse my English, I'm using imovie 11, I want to delete a clip video at the end of the project, but keep the audio over the fade to black, everytime I delete the video, the audio is also deleted, please help!
I assume you are trying to end the clip/project with a fade to black, or something that just doesn't cut so instant.
One thing i'm thinking you can try is to Add a "Transition Clip" to the end, and try your first method. (with Detached Audio + Delete Selection. (Yellow highlight was deleted selection) Do you need something to end like this?
If you can, put screenshot up (Shift+Comm+4), if i'm not on the right idea. It seems like an easy fix, with a few ways of doing it. You can also add a blank image to end project, sub titles or Add,Cutaway fade +Opacity adjust. -
MY FAVORITE IPHONE 3GS WALLPAPER DELETED - PLEASE HELP !!!!
Hello All,
I'm desperately looking for an old iphone 3gs wet pink stemmed rose with water drops wallpaper which got deleted from my phone and now I see that the wallpaper is no longer in the wallpaper gallery of my phone either.
I have come to understand that older wallpapers are probably deleted when the ios is updated or something but that wallpaper was very very special to me - if any of you has the wallpaper, I beg you to e-mail it to me via email or send me a link where I can download it from.
I have seached the web extensively, but I've had no luck finding it. I've seen some collages of the wallpaper but not the wallpaper alone in itself in clear good res. It was a very common wallpaper used on most iphones in 2010.
Fortunately, I have a screen snap but it has writing and time over it so I can't use it as a wallpaper, but it will give you an idea of the wallpaper I'm looking for.
Here it is:
Waiting in anticipation.
Many thanks.In an odd turn of events, I still HAD my favorite wallpaper when I updated to the new iOS, and now it has disappeared. Can someone please help me get it back?
The earth wallpaper was set on my phone when I downloaded the update, and I've been able to view it ever since then. But all of a sudden, today, the earth is gone from my homescreen. It looks like a blue, very very foggy earth but the earth is not visible. When I went into settings, it still appears there in the thumbnail that shows how my homescreen wallpaper should look.
What gives? How can I fix this and get the original earth graphic to reappear?
Thanks! -
My library got deleted. please help me!!!
a couple days ago I plugged my ipod into my laptop and all of my songs got deleted in my itunes library. I knew that if I pluged it in again and updated it then I would no longer have songs on my ipod but I plugged it in in the hopes of transferring them from my ipod to the library and a message came up saying something like "this ipod is linked to another library would you like to replace all files" and I said yes thinking that the songs that were on my ipod would go back into my libray but it didnt work. I dont know how to get them all back. please help.
ipod miniAlthough your iTunes Library display is blank, your song files may still be on your hard drive.
Have a look at this article in the Apple Knowledge Base for some ideas on how to find them, changing file extensions in the search as is necessary (i.e. .mp3 or .m4a.)
If you find the files, you can add them back into your iTunes Library by your favorite method . -
Yesterday it was working fine, this morning I tried to open cs6 and I get the message above. Tried to put the file back in from my laptop ( copied on a thumb drive ) and when I close all the windows the files does not show up again, and ps6 shows me that same message above. I use an iMac 27" computer. I installed a plugin ( WhiteWindowworkaround.plugin1_0_6.zip ) for correcting my cursor problem. PLEASE HELP ME.......
The first thing I would try would be to manually reset the preferences. If that fails, try uninstalling the plugin and see if the problem goes away.
In case you don't know how to reset:
Reset Preferences
1) Close the program and press Ctrl+Alt+Shift (Win)/Cmd+Option+Shift (Mac) during startup (not reversible)
or
2) Move the Folder. See:
http://www.bugge.com/Family-and-friends/Illy/illy.html
--OB -
57 GB of Movie Files that I can't locate to delete, please help.
When I look at my storage, it says there is 57GB of movie files, however, I can't find those files. I have deleted all movie files that I can find and also emptied the trash can. But can't seem to find the 57GB of movies. Can someone help please.
If the Storage display seems to be inaccurate, try rebuilding the Spotlight index. Otherwise, the movies are most likely in the iTunes library. Look for them in All My Files in the sidebar of a Finder window.
-
I have iphone 4s sprint, i did update all for 4 apps and they got stuck, I have tried to hard reboot and did delete the apps from usage under settings but they came back and there is no way to delete and even if i try to install it says installing so can't do anything..
Please helpTodd, have you "thrown the switch" to tell Palm Desktop to direct the data to Outlook?
Start Button/All Programs/Palm/PIM Conduit Sync/Sync with Outlook.
You said you're "using the Outlook 2007 Conduit" -- does this mean you installed the Outlook 2007 Update on top of Palm Desktop 6.2.2? If so, that may be a problem as 6.2.2 comes with 2007 compatibility built into it!
I have read several posts recently where a user made the same mistake, and it caused some problems. If throwing the switch above does not fix things, I'd uninstall/reinstall Palm Desktop, but do NOT install the Outlook 2007 patch.
WyreNut
I am a Volunteer here, not employed by HP.
You too can become an HP Expert! Details HERE!
If my post has helped you, click the Kudos Thumbs up!
If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked! -
IPhoto deleted, Please Help!
Hi. I accidentally deleted iPhoto off my computer and I put in the snow leopard cd and went to optional installs, but iPhoto is under the applications. Is there a way I can get this back since I am licensed to use this?
To re-install iPhoto
1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
2a: On 10.5: Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
2b: On 10.6: Those receipts may be found as follows: In the Finder use the Go menu and select Go To Folder. In the resulting window type
/var/db/receipts/
2c: on 10.7 they're at
/private/var/db/receipts
A Finder Window will open at that location and you can remove the iPhoto pkg files.
3. Re-install.
If you purchased an iLife Disk, then iPhoto is on it.
If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
If you purchased it on the App Store you can find it in your Purchases List. -
Library of 81000 songs just got deleted -- PLEASE HELP ASAP! :(
Hi! I have (well, had) my itunes library on an external hard drive ... I started itunes like I always do (with the drive attached and on) and I got an error saying "could not import library .. renamed library damanged (or something like that)" Then, about 200 songs came up in the ipod library, with ALL of my playlists gone .. the songs/files are still on my hard drive, but is there ANY way to get all the playlists and everything else back???
Utterly frustrated,
EricYou could try a system restore point to before the date that it happened.
Do this by going to Start->Help and Support. Click on the button that says "Undo changes to my computer using System Restore."
If that doesn't work, then you might be out of luck. All of your songs and all of your ID3 tag data should still be there, but your playlists will be gone. Do NOT SYNC your iPod, as you can manually add all of the music to playlists on your computer just by looking at your iPod. It will take a long time, but it will work.
-Brian -
Bizarre Problem for table row deletion.please help
Folks
I am facing a most BIZARRE PROBLEM!!!
I have a table with a deleteButton by the side.
The table has 3 rows
ABC-----DELETE
BCD-----DELETE
VDG-----DELETE
I click on the delete Button of the first row,the record gets deleted from the table,
Now there are 2 records..
BCD-----DELETE
VDG--- -DELETE
I click on the delete Button of the first row,and I get the error
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
The table.getSelectedRow() becomes -1 automatically...
Now if I comment out the Table deletion statements, and I click on any delete Button
i get the correct messages
You clicked row : 1
you clicked row : 2
After deletion of the first record,i am unable to delete the 2nd record,i get the
error above.
any suggestions
ActionListener al = new ActionListener() {
public void actionPerformed(ActionEvent e) {
System.out.println("Table Row clicked is : " + table.getSelectedRow());
// Delete row from window.
((DefaultTableModel)table.getModel()).removeRow(table.getSelectedRow());
table.revalidate();
};after deleting the row call this method
fireTableRowsDeleted()
-Ashish -
Accidental deletion. please help.
today i decided to clean my keyboard and while in the midst of it i pressed some keys on accident and it deleted all my playlists. i dont really care about any other playlist except 25 most played. how do i get that back...? or is there no way....:/
Okay. Open iTunes, now either go to 'File> New Smart Playlist'. I think that's where it is.
If not, see the plus button in the bottom left corner? Hold shift and that becomes the 'New Smart Playlist' button. Click that.
Choose 'Most Frequently Played' in the Selected By window, and set the limit to 25. Name it 'Top 25 Most Played'. Click OK.
That should do it. -
Installer and disk utility deleted please help
I'm using an eMac 10.3.9 700mhz .The installer, terminal, and disk utilities have somehow been deleted from the utilities folder and I'm don't know how to replace them. I no longer have panther CD-roms, and did not think to back them up. Any ideas how I could get them back?
the installer shouldn't be in a folder with disk utility, or not the main installer anyway. what you should do at this point is get the install disks for the current operating system and do an archive and install of the operating system. http://docs.info.apple.com/article.html?artnum=107120 make sure you run disk repair beforehand and that you fix any errors that come up. you may have to reinstall some third party applications. good luck and let me know how you're doing. Sherry
-
What can I do to install back a iPhone 4s information , because I hit a wrong key to delete please help me out
did you back up your phone in itunes or icloud?
-
When i was reinstalling the OS in my Macbook, the MS office that i got with it got deleted, please help me that how to get it back..
Did you not get that MacBook at the Apple Store?
Regards,
bettyfromcalifornia -
Please help me with this query -- i am trying with Dense rank
version 10g
i received a quote for an account. if the same quote is received under different account then i should mark the previous account received as deleted.
please help me .
/* Formatted on 2010/06/28 14:13 (Formatter Plus v4.8.8) */
WITH temp AS
(SELECT '1-11TWQL' quote_id, 'COPS' ACCOUNT, 'Ordered' status,
TO_DATE ('12/23/2009 3:37:54',
'mm/dd/yyyy hh:mi:ss PM'
) captured_date
FROM DUAL
UNION ALL
SELECT '1-11TWQL', 'COPS', 'RFS',
TO_DATE ('12/23/2009 3:37:50', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-11TWQL', 'COPS', 'Rejected',
TO_DATE ('12/23/2009 3:37:52', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-11TWQL', 'COPS', 'Validated',
TO_DATE ('12/23/2009 3:37:51', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-11TWQL', 'D1', 'Ordered',
TO_DATE ('12/23/2009 3:04:24', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-11TWQL', 'D1', 'RFS',
TO_DATE ('12/23/2009 3:04:23', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-11TWQL', 'D1', 'Rejected',
TO_DATE ('12/23/2009 3:04:22', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-11TWQL', 'D1', 'Validated',
TO_DATE ('12/23/2009 3:04:23', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'RFS',
TO_DATE ('3/5/2010 12:04:24', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'RFS',
TO_DATE ('3/16/2010 7:55:50', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'RFS',
TO_DATE ('3/16/2010 7:55:51', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'Rejected',
TO_DATE ('3/5/2010 12:04:24', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'Rejected',
TO_DATE ('3/16/2010 7:55:50', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'Rejected',
TO_DATE ('3/16/2010 7:55:51', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'Validated',
TO_DATE ('12/23/2009 3:37:54', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'Validated',
TO_DATE ('12/23/2009 3:37:54', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'Validated',
TO_DATE ('12/23/2009 3:37:54', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'D1', 'Ordered',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'D1', 'Ordered',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'D1', 'RFS',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'D1', 'RFS',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'D1', 'Validated',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'D1', 'Validated',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8Z', 'COPS', 'Validated',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL
UNION ALL
SELECT '1-249A8Z', 'COPS', 'Ordered',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
FROM DUAL)
SELECT quote_id, ACCOUNT, status, captured_date,
DENSE_RANK () OVER (PARTITION BY quote_id ORDER BY quote_id,
ACCOUNT) rn
-- ,CASE DENSE_RANK () OVER (PARTITION BY quote_id ORDER BY quote_id,
-- ACCOUNT)
-- WHEN 1
-- THEN 'Y'
-- ELSE 'N'
-- END deleted_flag
FROM temp
ORDER BY quote_id, captured_date;output required
WITH temp AS
(SELECT '1-11TWQL' quote_id, 'COPS' ACCOUNT, 'Ordered' status,
TO_DATE ('12/23/2009 3:37:54',
'mm/dd/yyyy hh:mi:ss PM'
) captured_date, 'N' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-11TWQL', 'COPS', 'RFS',
TO_DATE ('12/23/2009 3:37:50', 'mm/dd/yyyy hh:mi:ss PM'), 'N' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-11TWQL', 'COPS', 'Rejected',
TO_DATE ('12/23/2009 3:37:52', 'mm/dd/yyyy hh:mi:ss PM'), 'N' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-11TWQL', 'COPS', 'Validated',
TO_DATE ('12/23/2009 3:37:51', 'mm/dd/yyyy hh:mi:ss PM'), 'N' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-11TWQL', 'D1', 'Ordered',
TO_DATE ('12/23/2009 3:04:24', 'mm/dd/yyyy hh:mi:ss PM'), 'Y' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-11TWQL', 'D1', 'RFS',
TO_DATE ('12/23/2009 3:04:23', 'mm/dd/yyyy hh:mi:ss PM'), 'Y' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-11TWQL', 'D1', 'Rejected',
TO_DATE ('12/23/2009 3:04:22', 'mm/dd/yyyy hh:mi:ss PM'), 'Y' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-11TWQL', 'D1', 'Validated',
TO_DATE ('12/23/2009 3:04:23', 'mm/dd/yyyy hh:mi:ss PM'), 'Y' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'RFS',
TO_DATE ('3/5/2010 12:04:24', 'mm/dd/yyyy hh:mi:ss PM'), 'Y' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'RFS',
TO_DATE ('3/16/2010 7:55:50', 'mm/dd/yyyy hh:mi:ss PM'), 'Y' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'RFS',
TO_DATE ('3/16/2010 7:55:51', 'mm/dd/yyyy hh:mi:ss PM'), 'Y' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'Rejected',
TO_DATE ('3/5/2010 12:04:24', 'mm/dd/yyyy hh:mi:ss PM'), 'Y' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'Rejected',
TO_DATE ('3/16/2010 7:55:50', 'mm/dd/yyyy hh:mi:ss PM'), 'Y' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'Rejected',
TO_DATE ('3/16/2010 7:55:51', 'mm/dd/yyyy hh:mi:ss PM'), 'Y' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'Validated',
TO_DATE ('12/23/2009 3:37:54', 'mm/dd/yyyy hh:mi:ss PM'), 'Y' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'Validated',
TO_DATE ('12/23/2009 3:37:54', 'mm/dd/yyyy hh:mi:ss PM'), 'Y' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'COPS', 'Validated',
TO_DATE ('12/23/2009 3:37:54', 'mm/dd/yyyy hh:mi:ss PM'), 'Y' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'D1', 'Ordered',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM'), 'N' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'D1', 'Ordered',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM'), 'N' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'D1', 'RFS',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM'), 'N' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'D1', 'RFS',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM'), 'N' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'D1', 'Validated',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM'), 'N' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8X', 'D1', 'Validated',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM'), 'N' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8Z', 'COPS', 'Validated',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM'), 'N' deleted_flag
FROM DUAL
UNION ALL
SELECT '1-249A8Z', 'COPS', 'Ordered',
TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM'), 'N' deleted_flag
FROM DUAL)
SELECT quote_id, ACCOUNT, status, captured_date, deleted_flag
FROM temp
ORDER BY quote_id, captured_date;try to wrap your query to become an in-line view. use a case statement or decode to your derived column RN from the analytic query of DENSE RANK. either way they both will work.
SQL> WITH temp AS
2 (SELECT '1-11TWQL' quote_id, 'COPS' ACCOUNT, 'Ordered' status,
3 TO_DATE ('12/23/2009 3:37:54',
4 'mm/dd/yyyy hh:mi:ss PM'
5 ) captured_date
6 FROM DUAL
7 UNION ALL
8 SELECT '1-11TWQL', 'COPS', 'RFS',
9 TO_DATE ('12/23/2009 3:37:50', 'mm/dd/yyyy hh:mi:ss PM')
10 FROM DUAL
11 UNION ALL
12 SELECT '1-11TWQL', 'COPS', 'Rejected',
13 TO_DATE ('12/23/2009 3:37:52', 'mm/dd/yyyy hh:mi:ss PM')
14 FROM DUAL
15 UNION ALL
16 SELECT '1-11TWQL', 'COPS', 'Validated',
17 TO_DATE ('12/23/2009 3:37:51', 'mm/dd/yyyy hh:mi:ss PM')
18 FROM DUAL
19 UNION ALL
20 SELECT '1-11TWQL', 'D1', 'Ordered',
21 TO_DATE ('12/23/2009 3:04:24', 'mm/dd/yyyy hh:mi:ss PM')
22 FROM DUAL
23 UNION ALL
24 SELECT '1-11TWQL', 'D1', 'RFS',
25 TO_DATE ('12/23/2009 3:04:23', 'mm/dd/yyyy hh:mi:ss PM')
26 FROM DUAL
27 UNION ALL
28 SELECT '1-11TWQL', 'D1', 'Rejected',
29 TO_DATE ('12/23/2009 3:04:22', 'mm/dd/yyyy hh:mi:ss PM')
30 FROM DUAL
31 UNION ALL
32 SELECT '1-11TWQL', 'D1', 'Validated',
33 TO_DATE ('12/23/2009 3:04:23', 'mm/dd/yyyy hh:mi:ss PM')
34 FROM DUAL
35 UNION ALL
36 SELECT '1-249A8X', 'COPS', 'RFS',
37 TO_DATE ('3/5/2010 12:04:24', 'mm/dd/yyyy hh:mi:ss PM')
38 FROM DUAL
39 UNION ALL
40 SELECT '1-249A8X', 'COPS', 'RFS',
41 TO_DATE ('3/16/2010 7:55:50', 'mm/dd/yyyy hh:mi:ss PM')
42 FROM DUAL
43 UNION ALL
44 SELECT '1-249A8X', 'COPS', 'RFS',
45 TO_DATE ('3/16/2010 7:55:51', 'mm/dd/yyyy hh:mi:ss PM')
46 FROM DUAL
47 UNION ALL
48 SELECT '1-249A8X', 'COPS', 'Rejected',
49 TO_DATE ('3/5/2010 12:04:24', 'mm/dd/yyyy hh:mi:ss PM')
50 FROM DUAL
51 UNION ALL
52 SELECT '1-249A8X', 'COPS', 'Rejected',
53 TO_DATE ('3/16/2010 7:55:50', 'mm/dd/yyyy hh:mi:ss PM')
54 FROM DUAL
55 UNION ALL
56 SELECT '1-249A8X', 'COPS', 'Rejected',
57 TO_DATE ('3/16/2010 7:55:51', 'mm/dd/yyyy hh:mi:ss PM')
58 FROM DUAL
59 UNION ALL
60 SELECT '1-249A8X', 'COPS', 'Validated',
61 TO_DATE ('12/23/2009 3:37:54', 'mm/dd/yyyy hh:mi:ss PM')
62 FROM DUAL
63 UNION ALL
64 SELECT '1-249A8X', 'COPS', 'Validated',
65 TO_DATE ('12/23/2009 3:37:54', 'mm/dd/yyyy hh:mi:ss PM')
66 FROM DUAL
67 UNION ALL
68 SELECT '1-249A8X', 'COPS', 'Validated',
69 TO_DATE ('12/23/2009 3:37:54', 'mm/dd/yyyy hh:mi:ss PM')
70 FROM DUAL
71 UNION ALL
72 SELECT '1-249A8X', 'D1', 'Ordered',
73 TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
74 FROM DUAL
75 UNION ALL
76 SELECT '1-249A8X', 'D1', 'Ordered',
77 TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
78 FROM DUAL
79 UNION ALL
80 SELECT '1-249A8X', 'D1', 'RFS',
81 TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
82 FROM DUAL
83 UNION ALL
84 SELECT '1-249A8X', 'D1', 'RFS',
85 TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
86 FROM DUAL
87 UNION ALL
88 SELECT '1-249A8X', 'D1', 'Validated',
89 TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
90 FROM DUAL
91 UNION ALL
92 SELECT '1-249A8X', 'D1', 'Validated',
93 TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
94 FROM DUAL
95 UNION ALL
96 SELECT '1-249A8Z', 'COPS', 'Validated',
97 TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
98 FROM DUAL
99 UNION ALL
100 SELECT '1-249A8Z', 'COPS', 'Ordered',
101 TO_DATE ('3/26/2010 12:32:27', 'mm/dd/yyyy hh:mi:ss PM')
102 FROM DUAL)
103 select vt.quote_id,
104 vt.account,
105 vt.status,
106 vt.captured_date,
107 case when vt.rn = 1 then 'N'
108 else 'Y'
109 end deleted_flag
110 from (SELECT quote_id, ACCOUNT, status, captured_date,
111 DENSE_RANK () OVER (PARTITION BY quote_id ORDER BY quote_id, ACCOUNT) rn
112 FROM temp
113 ORDER BY quote_id, captured_date) vt;
QUOTE_ID ACCOUNT STATUS CAPTURED_DATE DELETED_FLAG
1-11TWQL D1 Rejected 23-Dec-2009 3 Y
1-11TWQL D1 RFS 23-Dec-2009 3 Y
1-11TWQL D1 Validated 23-Dec-2009 3 Y
1-11TWQL D1 Ordered 23-Dec-2009 3 Y
1-11TWQL COPS RFS 23-Dec-2009 3 N
1-11TWQL COPS Validated 23-Dec-2009 3 N
1-11TWQL COPS Rejected 23-Dec-2009 3 N
1-11TWQL COPS Ordered 23-Dec-2009 3 N
1-249A8X COPS Validated 23-Dec-2009 3 N
1-249A8X COPS Validated 23-Dec-2009 3 N
1-249A8X COPS Validated 23-Dec-2009 3 N
1-249A8X COPS RFS 05-Mar-2010 1 N
1-249A8X COPS Rejected 05-Mar-2010 1 N
1-249A8X COPS RFS 16-Mar-2010 7 N
1-249A8X COPS Rejected 16-Mar-2010 7 N
1-249A8X COPS Rejected 16-Mar-2010 7 N
1-249A8X COPS RFS 16-Mar-2010 7 N
1-249A8X D1 Ordered 26-Mar-2010 1 Y
1-249A8X D1 Ordered 26-Mar-2010 1 Y
1-249A8X D1 RFS 26-Mar-2010 1 Y
1-249A8X D1 RFS 26-Mar-2010 1 Y
1-249A8X D1 Validated 26-Mar-2010 1 Y
1-249A8X D1 Validated 26-Mar-2010 1 Y
1-249A8Z COPS Validated 26-Mar-2010 1 N
1-249A8Z COPS Ordered 26-Mar-2010 1 N
25 rows selected
SQL>
Maybe you are looking for
-
Get_file_list to list content of UNIX directory
Hi all I am trying to list the files in a UNIX directory using the get_file_list action. Not getting anything back, but action is not reporting error. In the folder configuration box i have used all combinations of \ and / but none do anything. I can
-
Does the I phone 4s has the place for sim card
I wan know if the iPhone has the place for sim card thank u
-
Hi All forum members I am running a GUI based tool on windows platform which gives me a hexadecimel output and the same app is run on linux on command line (after having trasferred the jar file) the output obtained is same BUT here comes the diffrenc
-
70kbps download speed :(
Since around 10pm last night I noticed my connection getting horribly slow. Wep pages took an average of around 15 seconds to open and I was experiencing latency of between 2.5K and 10K during online gaming. The router has been restarted but hasn't s
-
CS3 on macbook pro 10.8.5
I have CS3 which was transferred onto a macbook pro 10.8.5. Photoshop is now acting independently, giving me grey when I select red, rendering all numbers in the type tool in italics. any advice? Thanks!