even and odd numbers with level

Hi Master,

I tried to display numbers with level like that...

Select the level from dual connect by level < = 10;

1

2

3

4

5

6

7

8

9

10

How to display odd and even numbers with level. I tried with mod(level,0) but does not work very well.

Please notify.

Concerning

SA


Odd:

Select 2 * level - 1 from dual connect by level<>

/

2 * LEVEL 1
----------
1
3
5
7
9

Scott@ORCL >

Still:

Select 2 * double connection by level<>

/

2 * LEVEL
----------
2
4
6
8
10

Scott@ORCL >

SY.

Tags: Database

Similar Questions

  • Random number generator. Even and odd numbers

    I have a problem.

    I have a generator of random numbers, it goes from 0 to 20, I need to have two indicators, we show you how many numbers are pairs, and how much isn't.

    I tried to table D use the decimated 1, but as these numbers are random, it doesn´t works for me. I m new with LabView and I Don t know if there is another way to make it work, I need help, especially with a few examples.

    Thank you very much.


  • Help! Change to purge/margins of the even and odd pages in the same file?

    I'm outlining a children's book and the printer requires domestic files to be submitted in the unique layout (borderless). The binding margin side and bleed is different from upper, lower and the outer edges - essentially the pages reflect each other. How can I set up the document so even pages have a configuration option and odd pages have the mirror settings (without lining up as faced with pages in spreads)?

    When you make the book use facing Pages in the Document format. This will give you the Master Pages to a mirroring, called "facing pages".

    When you make the PDF using file > export and choose PDF but do not check the option 'Spreads '.

  • Identification of even and odd Page

    If possible, I need help please,

    Here is a script so resolute, simplified to show the basics I adjust to operate at a complete script.

    This script is totally insufficient, but I have no idea how do work, if the page is odd then alert 'Odd Page', and so even then alert 'Same Page'.

    pgNum = app.activeDocument.sections [0] .pageNumberStart

    If (pgNum == 1) {alert ('odd Page')};

    ElseIf (pgNum == 2) {alert ('same Page')};

    Must be running on unique Pages (and not facing Pages) so cannot use the 'PageSideOptions.RIGHT_HAND' or 'PageSideOptions.LEFT_HAND '.

    Thanks a lot for any help, Brendan

    Hi Brendan,

    According to the doc, the Section.pageNumberStart property is "valid only when continue the numbering is false," then you must rely on Section.pageStart instead.

    Now, given a Page, you have two useful properties,

    • Page.Name is a string that is the name of the page, which means usually only the page number (but it depends on the Section.pageNumberStyle.)
    • Page.documentOffset is the sequence of the page in the document index (while Page.index is the index within the spread, not relevant here.)

    Assuming that Page.name is correct for your project, simply interpreted as a number, then, to check if pgNum % 2 is 0 or 1.

    var pg = app.activeDocument.sections[0].pageStart,
        pgNum = parseInt(pg.name,10),
        side;
    
    if( isNaN(pgNum) )
    {
        alert( "Page name can't be parsed as an integer." )
    }
    else
    {
        side = (pgNum%2) ? "Odd " : "Even ";
        alert( side + " Page" );
    }
    

    @+

    Marc

  • CUCM 8.5 and "Secondary numbering" with phone SIP

    We have 8.5.1.x the standard Cicso CUCM 'skinny' phones all work very well. The problem is with SIP endpoints on a console to send Avtec. They work fine - BUT once a call is put no more of DTMF tones are sent through the line. I hear the release in the Atrium - but it does nothing at the other end. Example: Put a get call for a "tree of voicemail. Most entries are required to go anywhere. Pressing the button gives a release, but nothing happens. Looking at the Wireshark capture it appears that it is not enabled on the Cisco side (so the Avtec tech guys say). I don't know exactly what Cisco calling - I saw "Secondary numbering" once. What needs to be "activated" in the Call Manager to do. Help! Mark

    It seems that these phones are supported RFC2833. Without a view in your system and you have, it is hard to tell you in the forums where things need to be tweaked.  In this case, the TAC is a good call I think.

    Hailey

  • I have HP Deskjet 3050 a all-in-One Printer - J611g and need help with printing, please?

    I just bought the HP Deskjet 3050 all-in-one printer-J611g a. The manual has shown to do the printer double-sided printing odd pages then only print even pages only, and it works very well for one page on one side of the sheet. However, when I want to print two pages on one side of the paper and another of two pages on another aspect of the sheet, print the odd pages or even pages only just does not work! Ditto to print more than one PowerPoint presentation on one side of the page, if I click on print the odd pages only, then the printer will display the odd number of powerpoint slide instead of print odd number. I used to have another printer HP Officejet and never had any problems with two-sided printing. This printer comes with the function double-sided printeing at all?  If so, how can I do duplex printing?

    Thank you very much!

    This is a limitation of the software that you use and how the HP printers recognize the incoming files. When compress you multiple pages on a single "page" this page is actually two pages, with even and odd numbers. It is therefore difficult for the software to determine the page numbers 'odd' and 'even' when printing, because it is no longer applicable to the relevant pages, but the format in which they are being printed.

    I hope this information is useful!

  • Hi, XI - Win 7 64 bit.  AR prints only the even numbers when I allowed of the odd numbers only :-(

    Hi hope you can help.

    AC' reader XI (win 7 64 bit).   I expected that a series of pages of odd number only, but only prints even numbers.

    Tried several sets of tests, but still prints even pages.   It is a PDF of a new Casio keyboard manual from their site.  I can read

    the PDF on my computer and can print single pages, but the above problem is disconcerting.  ~ Thank you if you can offer any help.

    see you soon

    Thanks, MVP for your quick response.

    Yes, I tried now opt to print even pages only in the range of 1 to 8 and now it prints the odd numbers. Hey Hey

    Well, for the sake of my sanity, I'll take a break for some sponge cold and some chanting and then return refreshed.

    EDIT - SOME TIME LATER: well, thanks for any help, greatly appreciated.

    Now I see what the problem is, thanks for the explanation page numbers cordially.

    Looks like Adobe Reader made its own system of numbering pages before printing.

    Would have liked to wear to try, but did not want to destroy half of a forest.   Presented the PDF document on the local printer instead. quite.  :-)

    Very much appreciate your help. Think I'll stay for the simple printing of the page (no double-sided) in the future.  See you soon.

    Harold

  • Find and replace all of the odd numbered lines?

    Is their way to search for and replace or delete really, all the odd numbered lines in code view? I have about 12,000 lines of code but you don't need that things on the even lines.

    Thank you very much for the help!

    The odd lines contain random numbers and letters, that's why I can't just find and replace. If they were embedded in a tag, say a 34341 is the way for me to tell dreamweaver to remove all the interval and ? That would solve the problem.

  • Composition of the phone numbers with pauses and extensions?

    With the Pre, is it possible to insert pauses and extensions in phone numbers in your contacts list? And have the phone to dial them all at once when you compose?  What to do to have these numbers in your calendar for an event such as a conference call?  I would like to simply touch the number to the event and do all numbers with pauses and extensions to put me in the call.

    To insert a two-second pause in the dialing sequence, enter a T where you want than the break to appear. To include a stop in the numbering sequence, enter a P where you want to stop to appear. to call the next set of numbers after the stop, press the screen.

  • I have first 13.0 and updated elements at level Windows 8.1 to Windows 10. First 13.0 is not kombatibelt with Windows 10. How to do Prime 13.0 elements upgraded to first elements 13.1 so I can use it again? Tried to upgrade the usual way

    I have first 13.0 and updated elements at level Windows 8.1 to Windows 10. First 13.0 is not kombatibelt with Windows 10. How to do Prime 13.0 elements upgraded to first elements 13.1 so I can use it again? Tried to upgrade the usual way, but it does not help.

    Try direct updates

    https://www.Adobe.com/downloads/updates/

  • Hey... I have install CS5 on my new PC, Windows 8, and now some features do not work! example: in InDesign, I can't work with levels... Can Sombody help me?

    Hey... I have install CS5 on my new PC, Windows 8, and now some features do not work! example: in InDesign, I can't work with levels... Can Sombody help me?

    Please refer CS5 - Windows 8

    (Double post)

  • Hello, can you Send installation of Photoshop and Illustrator CC with serial numbers (3 licenses), car it's been a week that I placed the order! Thank you sincerely a.desplagnes@pisoni.fr Anthony PISONI ADVERTISING

    Hello

    can you Send installation of Photoshop and Illustrator CC with serial numbers (3 licenses), car it's been a week that I placed the order!

    Thank you

    Kind regards

    < deleted by the moderator >

    Anthony

    PISONI ADVERTISING

    Hello

    Please refer to the help documents below to download the application Adobe CC:

    Creative cloud to desktop

    Download, install, update or uninstall applications

    There is no serial number associated with Adobe CC. Please sign in with your Adobe to activate the software ID.

    Kind regards

    Sheena

  • I have Acrobat Pro on my computer and I work with the drawing that have been digitized in PDF format. The scanners are not aligned or place because of the poor scanning process. Anyway is to align the document even if it requires me to crop or lose

    I have Acrobat Pro on my computer and I work with the drawing that have been digitized in PDF format. The scanners are not aligned or place because of the poor scanning process. Is there anyway to align the document even if it requires me to crop or lose some on the edges?

    Hi brad.

    Yes. You can use the analysis tools to straighten and crop your document. Here is a link to a new tutorial. The key to activate the sliding options recovery is to choose the option of the camera Image in the drop to Enhance, and gives you tools to set the correct page for smoothing areas.

    fundamental https://helpx.adobe.com/Acrobat/How-to/scan-Paper-documents-Searchable-PDF.html?Set=Acroba--principes t - create a pdf file

    Donna.

  • When I type .bin in the finder and select a lot 'of this Mac"of files named with letters and numbers with .bin appear

    This happens to someone else? What created these files? I ran the scan, AVG Antivirus and AVAST antivirus with no result.

    I posted this question on reddit.com, but nobody answered.

    Thank you for the help

    First of all, get rid of the A / v software Uninstall it. This thing is useless on a Mac under OS X and this kind of software frequently causes problems.

    the .bin files are 'probably' created by the operating system software. Why do you care what gthey are? Having some kind of problem?

    Barry

  • How to disable the Macros Sidewinder X 4 (run even in safe mode and after reboot with keyboard not hung)

    Hello-

    I am now locked out of my pc because macros keyboard fill in my password.

    This happens in normal mode or without danger and without connected keyboard or pc remote access (rd or logmein and unplugged keyboard)

    Windows 7 Ultimate.

    I contacted support and they said that Windows 7 is supported legacy and would be a burden. They also mentioned that they could remote to my PC.  I would like to see that when I don't have access to give them access.

    Windows 7 end of mainstream support January 13, 2015<------This don't="" mean="" legacy="" to="">

    I have some ideas on how to fix it myself when I had the chance, I just want to see what other peoples thoughts are.

    Thank you!!

    Hi Phillips,

    Thanks for posting your question in the Microsoft Community forums.

    Let me try and help you with the problem.

    1. do you get an error message when you press ENTER after filling in the password box?

    2 did you face this problem after you assign the macro?

    3 have you tried to use a different keyboard?

    4. have you ever tried to use the on-screen keyboard?

    Check if are able to use the on screen keyboard and be able to use the remove the filled automatically password and enter the password.

    From the login screen, click on and choose the option Type without the keyboard (on-screen keyboard). Click OK.

    If this does not help, go to the Windows recovery environment and perform a system restore and check the number.

    http://Windows.Microsoft.com/en-us/Windows/what-are-system-recovery-options#what-are-system-recovery-options=Windows-7

    In addition, see the article:

    http://www.Microsoft.com/hardware/en-us/help/support/how-to/keyboard/macros

    Let us know the result. If you have any other questions, we will be happy to help you.

Maybe you are looking for