Just stuck in the last step

someone asked me to extract the alphabets replacing the chain. Now the thing is I extracted the alphabets replacing but I'm getting a space between them, could someone provide me with a better solution or trim spaces in my outermost query.

I get the output: a g, c, e I k m o q s u w y
Desired output: acegikmoqsuwy

SELECT max (sys_connect_by_path (b.letter,' '))
Of
(select a.letter, rownum curr, prev rownum-1
Of
(select rownum count, SUBSTR('ABCDEFGHIJKLMNOPQRSTUVWXYZ',rownum,1) Letter
of object
where rownum < = LENGTH ('ABCDEFGHIJKLMNOPQRSTUVWXYZ')) a
where mod(a.count,2) = 1) b
Start with b.CURR = 1
Connect prior b.curr = b.prev


Concerning
Rahul
SQL> select REPLACE(max(sys_connect_by_path(b.letter,'.')),'.')
  2  from
  3  (select a.letter , rownum curr , rownum-1 prev
  4  from
  5  (select rownum count,SUBSTR('ABCDEFGHIJKLMNOPQRSTUVWXYZ',rownum,1) letter
  6  from All_Objects
  7  where rownum <= LENGTH('ABCDEFGHIJKLMNOPQRSTUVWXYZ')) a
  8  where mod(a.count,2)=1) b
  9  start with b.CURR = 1
 10  connect by prior b.curr = b.prev;

REPLACE(MAX(SYS_CONNECT_BY_PATH(B.LETTER,'.')),'.')
------------------------------------------------------------------------------
ACEGIKMOQSUWY
select REPLACE(max(sys_connect_by_path(b.letter,' ')),' ')
from
(select a.letter , rownum curr , rownum-1 prev
from
(select rownum count,SUBSTR('ABCDEFGHIJKLMNOPQRSTUVWXYZ',rownum,1) letter
from All_Objects
where rownum <= LENGTH('ABCDEFGHIJKLMNOPQRSTUVWXYZ')) a
where mod(a.count,2)=1) b
start with b.CURR = 1
connect by prior b.curr = b.prev

Published by: Johan 20 Sep, 2010 01:42

Tags: Database

Similar Questions

  • Firefox does NOT start, the removal and resettlement will start as the last step, but once Firefox is closed, it does NOT restart.

    Both browsers (Firefox 21 & IE) installed on my Widows XP 64-bit office refuse to start or click the icon on the desktop, the start menu bar or the executable files themselves. What happens is that all the icons disappear from the screen for 15-30 seconds, then the icons appear on the screen, and the last information message displayed from the system tray at the beginning upward is repeated.

    Firefox deleting and reinstalling will start the browser as the last step, but when the new copy is closed, it will not start. Also just restart the download installation without removing Firefox will be 'Upgrade' and start in last step, but when the new copy is closed, it cannot be restarted. Restore running on the new copy has apparent effect on the ultimate inability to restart after closing.

    I've only tried the Internet Explorer browser after being unable to start Firefox (its only usually used by States to update procedure) and have not studied either reinstall or repair.

    Did you use programs that I listed? All anti-malware programs to detect different things.

  • I am trying to reinstall vista on another laptop and when I get to the last step (end Installation...) it stops, about 70% of the way through. Now what? I tried to repeat the process about 6 times now!

    I am trying to reinstall vista on another laptop and when I get to the last step (end Installation...) it stops, about 70% of the way through.  Now what? I tried to repeat the process about 6 times now!

    Sorry for the confusion.  I must be useless to English.

    Forget the two laptops.
    I have a problem with a laptop that I tell you all (the Inspiron 1720).
    The disc that I use is labeled as a Windows Vista reinstall disk and provided with the computer when I bought it.  I'm not trying to use it on another computer.

    Reference Dell it is a problem with a process of recovery of Windows and, therefore, a problem of Microsoft.

    See you soon

    Problems with the Dell restore process, contact Dell.
    Dell wrote their recovery process and provided you with this DVD, NOT Microsoft...

    It is their software.

    Ask them for a different recovery DVDs.

    You say that the hard drive has failed.

    He could have more than just tough that failed.
    You can have other hardware issues.

    Hardware issues are beyond the scope of these Forums.

    Good luck with Dell.

    See you soon. Mick Murphy - Microsoft partner

  • LaserJet P1006: Installation Wizard of the drivers/Laserjet P1006 stopped the last step!

    Recently I tried to clean my computer by deleting unused files and programs.  I don't know if I accidentally deleted the dirver, but it not there no printer in the control panel more.

    I have downloaded the driver and tried to install it by following the exact instructions.  Everything was fine until the "last step" when it asked me to plug in the USB cable and turn on the printer.  "A wizard, he is only"

    Hi @chuehh,

    I see that you are having problems reinstalling the printer. I'd love to help you.

    If you has not fully run an uninstall of the software of the printer, the printer is probably still detected in the Device Manager, which is originally the printer is not being recognized again.

    Verify that connections in Device Manager for the entries of the printer, under Bus USB controllers look for a USB print media or anything with an exclamation yellow, storage device or an unknown device. Right click and uninstall the device. Here is a document with the steps to access the Device Manager in two Solution: troubleshooting software. "The device has not completed" or the "Unknown device" Message appears in Windows USB Installer...

    Do not take into account the title. Then follow the steps from the beginning of the document. If the printer is not listed in the Device Manager window, let me know.

    If you appreciate my efforts, please click on the "Thumbs up" button below.
    If there is anything else I can help you, let me know. Thank you.

  • Printing problems with XP and Lexmark-documents are just stuck in the print queue

    Original title: printing problems with XP and Lexmark

    Until yesterday, I was able to print OK using Windows XP and a Lexmark Printer series 3500-4500 with wireless capabilities.  Reported network test wireless (on printer) and report indicates that there are no reported problem, also did the diagnostic test and which shows no problem either.  I can't print and documents are just stuck in the print queue - please can someone help, it drives me crazy because it's probably a very simple solution.

    I guess you do not have all of the error messages.

    It is possible that comes to mind that your printer has received a new IP address of your router (this could easily happen if you have several computers and other devices that connect to your wireless network).

    Find the IP address of the printer of his network diagnostic page.
    Click Start > printers and faxes, right-click the printer and select Properties
    Select the Ports tab, then click on the button "Configure Port" (be careful NOT to click anywhere in the list of ports)
    Make sure that the IP address in 'Port settings' is identical to that shown on the diagnosis of your network printer page.

    To avoid this problem in the future, you must configure the printer to have a static IP address.  See your printer User Guide for instructions.

    Choose an appropriate subnet address (i.e., has the first 3 groups of numbers the same as the other addresses in your network) but who is not in the range of addresses assigned by the DHCP server on your router.  See the User Guide of your router for more details.

  • Upgrade in Place attached to the last step

    I'm trying to fix a problem in MS Explorer by an upgrade in Place for my Vista Home Premium 32 - bit with a Vista DVD provided by SM. He went even until the last step and is now hooked to 64% (3 hours). I don't see no choice but to cancel and to expect a catastrophe.  Any help on this?

    Unplug everything except the monitor, keyboard and mouse.
    If necessary, uninstall your anti-virus.

    Here are the tips on how to do it:

    Read this tutorial on how to do a repair installation:

    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    See you soon.

    Mick Murphy - Microsoft partner

  • migration to Vista to W7 stops and more at the end of the last step

    I am a Vista Home Premium to W7 Home Premium upgrade in place and he got to the last step, had transferred more 800 000 1107100 files when he stopped, restarted and regularized at the vista installation. The SETUPACT log file was the last lines. I am on an HP
    Pavillion w / Vista SP 2, duo P7350 CPU, 4 GB RAM 64 bit OS

    Any help appreidated

    2012-03-08 21:30:52, info [0x0a0024] run UI ProgressInfo\MigMachineApply task: EndProgress
    2012-03-08 21:30:52, info [0x08059e] MIG leaving Callback_ApplyNewSysMachineSpecific (success)
    2012-03-08 21:30:52, info MIG entering Callback_FirstBoot_Upgrade_Done
    2012-03-08 21:30:52, info [0x0806e5] MIG entering Callback_Rollback_PrepareForReboot
    2012-03-08 21:30:52, ToggleRollbackBootEntryAsDefault IBSLIB Info: [Setup] default boot entry has been properly set up
    2012-03-08 21:30:52, info [0x0806e6] MIG leaving Callback_Rollback_PrepareForReboot (success)
    2012-03-08 21:30:52, info [0x0900c6] PANTHR SEQ EVENT_SERIALIZE received
    2012-03-08 21:30:52, info [0x0900b7] PANTHR SerializeToFile: C:\Windows\Panther\MainQueueOnline2.que
    2012-03-08 21:30:52, info [0x0900b8] PANTHR backup main event queue
    2012-03-08 21:30:52, info [0x0900b9] PANTHR Saving queue permanently
    2012-03-08 21:30:52, info [0x0900c5] PANTHR serialization queue succeeded
    2012-03-08 21:30:52, UI CallbackShowFinishOnline info: enter
    2012-03-08 21:30:53, CallbackShowFinishOnline UI Info: output
    2012-03-08 21:30:53, info [0 x 090095] PANTHR called WdsExitImmediate!  The execution stops and the queue will not be saved.
    2012-03-08 21:30:53, CallBack_RestartSetup IBS Info [0 x 060357]: all restart settings have been correctly set up.
    2012-03-08 21:30:53, info MIG leaving Callback_FirstBoot_Upgrade_Done (success)
    2012-03-08 21:30:53, info [0x09008c] PANTHR SeqExecute - stop, since WdsExitImmediate() has been called
    2012-03-08 21:30:53, info [0 x 090086] PANTHR pWorkerThreadFunc - stop
    2012-03-08 21:30:53, info [0 x 090086] PANTHR pWorkerThreadFunc - stop
    2012-03-08 21:30:53, info [0 x 090086] PANTHR pWorkerThreadFunc - stop
    2012-03-08 21:30:53, PANTHR DeleteCriticalSection info to pExecQueue-> csLock;
    2012-03-08 21:30:53, info [0x0500bd] of THE Module_Term_DU called
    2012-03-08 21:30:53, info [0 x 050081] of THE WaitAndCleanUp of THE...
    2012-03-08 21:30:53, info [0x0500a1] OF THE fact with THE... DUMgr cleaning
    2012-03-08 21:30:53, info [0 x 050082] with WaitAndCleanUp BECAUSE of THE...
    2012-03-08 21:30:53, info UI CallbackWin32UITerminate: removed WizardUI
    2012-03-08 21:30:53, info [0x0605a6] IBS requested UI to hide pages selection of language and regional settings.
    2012-03-08 21:30:53, Module_Term_Productkey IBS Info [0x06010d]: the valid product key in the table, see the property hide the value.
    2012-03-08 21:30:53, info [0 x 090081] PANTHR destroying any source not cited modules! (SEQ6)
    2012-03-08 21:30:53, info [0x0601d8] IBS InstallWindows: machine to restart.
    2012-03-08 21:30:53, info [0x0601e0] IBS install: reboot machine during the first phase of startup.
    2012-03-08 21:30:53, info [0 x 090009] PANTHR CBlackboard::Close: c:\windows\panther\setupinfo.

    1 disable any security software before attempting to upgrade

    2. make sure that your computer is updated (devices and applications)

    3. disconnect all external devices before installing.

    4. check your hard disk for errors:

    Click Start

    Type: CMD, according to the results, right-click CMD

    Click on "Run as Administrator"

    At the command prompt, type: chkdsk /f /r

    When you restart your system, your computer will be scanned for errors and will try to correct them.

    1. click on start, type msconfig in the search box and press ENTER.

    User account control permission

    If you are prompted for an administrator password or a confirmation, type the password, or click on continue.

    2. in the general tab, click Selective startup.

    3. under Selective startup, clear the check box load startup items.

    4. click on the Services tab, select the hide all Microsoft Services check box, and then click Disable all.

    5. click on OK.

    6. When you are prompted, click on restart.

    7. after the computer starts, check if the problem is resolved.

    Also run the Windows 7 Upgrade Advisor:

    http://www.Microsoft.com/Windows/Windows-7/Upgrade-Advisor.aspx

    If you have compatible hardware and your computer still stops responding, disable any unnecessary material. Remove (USB) universal serial bus devices. Remove or disable network cards, sound cards and cards of the series; and then restart the installation.

  • Hi, I'm rookiee and I just started with the first steps of creating a Web site. the katies-coffee-building file is on my desk and uplouded in the library. That has worked well. Now I'm putting the button in Photo Shop (banner), I have pull down on file/pl

    Message "Hi, I'm rookiee and I just started with the first steps of creating a Web site. the katies-coffee-building file is on my desk and uplouded in the library. That has worked well. Now, I'm putting the button in Photo Shop (banner) in. I pull down on the file Photo Shop button instead and try to select the Banner.psd file. Unfortunately all of the (active) folder is not accessible to all. One is not visibel. Please - need some help here. Thank you.

    @Ach ja, meine Muttersprache ist Deutsch

    You must use the file > Place Photoshop button (Cmd / Ctrl + B).

  • I got stuck in the 5 step program to get access to the creative cloud

    I bought teachers students version and saved with the right sign in the code. Then the system fell down somehow because Adobe could not verify my information of credit card for billing of the next year. I got to my account, does the work, but still I do not seem to go further in the stages. (The last step is to install or work with creative cloud). I have a chatsession. Support guy advised me to install creative cloud and that I probably would find in the programs on my system (Imac). Now, I'm back home and trying to... but not way... nothing like creative cloud on my machine. Anyone know what to do? Maybe I'm not a tech brain, then it's very simple? Thanks for any response!

    If you want to install Creative Cloud App then refer

    Using creative cloud | Install, update, or uninstall applications

    If you experience any problems during installation or activation, please indicate the exact error

  • I just ordered and downloaded 13 items, but now I'm stuck on the next steps.  What is the .exe to start the rest of the installation process

    I just bought and tried to download the product via the zip file.  Now I don't know what are the next steps.  Where are the instructions to get one in the product to complete installation?

    you need both the 7z (1 of 2, archive files) and the exe file (file 2 2, the extractor).

    Download both, put in the same directory and double-click on the exe file.

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

    window using the Lightroom 3 link to see these "important Instructions".

  • Vista to 7 ultimate; Hangs at 62% on the last step, even with the Microsoft Fix tool.

    Hello
    I'm currently upgrading my Windows Vista Home Premium SP2 to Windows 7 Ultimate edition. The entire dose has been smooth, except on the last stage, the progress hangs at as records of XXXXXX/XXXXXXX (62% to be exact). I came here and I tried The Microsoft Fix it (No. 50319) that has been proposed, without success. Currently I just make it run the time will hopefully fix. It was about 2 hours with no luck. I have not tried the difficulty It Yourself option, but I get woozy when messing around with records. Is there anyone else who is having the same issue, or better yet, a possible solution?

    In case it can help you, here is my system log;

    Model/carton: Gateway GT5477E
    CPU: Amd Athlon X 2 4400 + 3.2 Ghz 32 bit
    HARD drive: 400 (312 free) GB 7200 RPM
    VIDCARD: GALAXY 9500GT PCI-E 512 MB (single card) (removed for the upgrade)
    RAM: 4 GB DDR2 (4 X 1 Kingston mini-dimm)

    All my external USB, printers etc. Are of the United-pluged Nations and off. I have very little emission, which none would prevent more than likely that this progress, and a lot of free on my HARD drive.

    I was very surprised that the Fix tool It was not able to solve the problem. I'll let it run to see if time allows he rock forward, but it is on the same file from a certain time and its not not Lookin ' swell so much for me. Wish me good luck or grant me the knowledge. -Michael G.

    Hello

    You can wait for the difficulty he has done and if the progresses installation more than 62% then the issue is resolved.

    If the automatic fix does not resolve the issue then, try the manual steps to fix the problem.

    To fix this problem yourself, follow these steps:

    (a) restart the computer. Then, your computer will roll back to Windows Vista.

    (b) click Start, right-click computer, and then click Properties.

    (c) in the Advanced tab, click Environment Variables.

    (d) under System variables, click new.

    (e) in the name of the Variable of type MIG_UPGRADE_IGNORE_PLUGINS field.

    (f) in the value of the Variable of type IphlpsvcMigPlugin.dll field.

    (g) click OK three times to close the dialog boxes.

    (h) restart the upgrade installation.

  • Windows Vista is stuck on the 3rd step of the step 3 update

    Original title: UPDATE STUCK IN LOOP CANT LAPTOP USE. HELP PLEASE.

    Windows vista is stuck on the 3rd stage of the update from step 3 and continuously restarts my laptop acer of nephews, we cannot not beyond this point to use the laptop. Any suggestions?

    Hi Jol1,

    You can try the troubleshooting provided in the link below steps to fix the problem.

    An update is not installed successfully when you try to install the update in Windows Vista and Windows 7

    http://support.Microsoft.com/kb/949358

    Let us know if that helps.

  • Cannot scan to desktop or any location. Analysis is complete but not the last step.

    Everything works fine. I see the scan in the preview window. The window of the scanner said that analysis is complete. However, the final step in my computer desktop or any folder on my computer can't. The only thing that has changed is my recent update to the Maverick - MacBook Pro 0 X 10.9.2. Very frustrating. Any help would be greatly appreciated. Thank you!

    Hi ADHD.

    Thanks for getting back to me. Try the following steps, and then try to start a new search.

    Reset the printing system

    1. Click on the Apple icon ( ), then click on System Preferences.
  • Should not have spent the last step of the installation.

    I plugged the router as described in the instructions step by step on the installation disc, but it won't get past step 4.  He says that I don't have electricity but the light is on and the computer is plugged into the same outlet.  Help, please.  The model number is WRT54GS.  Thank you.

    Do not use the installation CD.  Connect to the router by going to 192.168.1.1 with your browser and configure it manually.

  • Computer locked up during the last step of the upgrade from windows xp to windows vista

    During the last stage of upgrade from xp to vista, "complete upgrade" my computer locked up: monitor frozen, unable to move the cursor, cannot close the window of upgrade. Green progress bar shows the upgrade about 3/4 full. How to unlock the computer without losing the progress of upgrading?

    Hello

    I doubt if you can

    have you checked the requirenents system before the upgrade?

    http://Windows.Microsoft.com/en-us/Windows-Vista/products/system-requirements

Maybe you are looking for