Problem on 10g Express using the join (+), but works on the standard of 10 g

Good day to all,

I'm having a problem with the following query:

Select srds.specific_date, l.DayCntr
from (select rownum add_months (sysdate-1) + * 5 as Specific_date of object where rownum < 35) RRD.
(select rownum as DayCntr object co where rownum < 35) l
where < 32 l.DayCntr
and l.DayCntr = (to_number (to_char (srds.specific_date (+), 'DD')))
and ((srds.specific_date between add_months(sysdate,-1) and sysdate)
or (srds.specific_date is null))
order of daycntr;

On 10g express, not all rows are returned as expected, minimum of 31 lines, sometimes getting 20
whereas on 10g Standard it doesn't, any ideas?

Thank you

If your application runs on your 10g standard, then the problem is not fixed the problem, it's that your standard version of Oracle 10 g... for me your initial query works 10.2.0.3 or XE...

But I think that this application can help you,

@XE> select srds.specific_date,l.DayCntr
  2  from  (select specific_date
  3        from (select add_months(sysdate,-1)+ rownum * 5 as Specific_date
  4        from all_objects where rownum < 35) s
  5        where (s.specific_date between add_months(sysdate,-1) and sysdate)) srds ,
  6        (select rownum as DayCntr
  7        from all_objects oc where rownum < 35 ) l
  8  where l.DayCntr < 32
  9  and   l.DayCntr = (to_number(to_char(srds.specific_date(+),'DD')))
 10  order by daycntr
 11  ;

SPECIFIC_DATE          DAYCNTR
------------------- ----------
                             1
                             2
                             3
                             4
05/11/2008 16:19:25          5
                             6
                             7
                             8
                             9
10/11/2008 16:19:25         10
                            11
                            12
                            13
                            14
15/11/2008 16:19:25         15
                            16
                            17
                            18
                            19
20/11/2008 16:19:25         20
                            21
                            22
                            23
                            24
                            25
26/10/2008 16:19:25         26
                            27
                            28
                            29
                            30
31/10/2008 16:19:25         31

31 rows selected.

This is the output you want?

Published by: dask99 on November 21, 2008 16:20

Tags: Database

Similar Questions

  • After upgrade from Vista to Windows 7 Ultimate home, no problem connecting to the internet when logged as an administrator, but cannot connect to the internet using the standard account. How to fix this?

    After upgrade from Vista to Windows 7 Ultimate home, no problem connecting to the internet when logged in as an administrator,

    but unable to connect to the internet using the standard account.  I have the latest version of the Solution Explorer.

    How to fix this?

    Glad to hear it.

    If the problem is resolved, mark the message as response, then it'll be useful for people with similar/identical problem.
  • I need to use the standard to a legal document Courier font, but it is not in my list of fonts

    I have Vista and had to use the Standard Courier, not courier new font, but the standard is not in my options.  How can I do this quickly for a legal document?

    In practice, Yes. But they are not the same.

    http://en.Wikipedia.org/wiki/courier _ (cast)

    http://www.tech-archive.NET/archive/Word/Microsoft.public.Word.docmanagement/2008-05/msg01740.html

    "davidhk129" wrote in the new message: * e-mail address is removed from the privacy... *

    I have Vista and had to use the Standard Courier, not courier new font, but the standard is not in my options.  How can I do this quickly for a legal document?

    Courier New is your Courier Standard policy, AFAIK.

    Source: http://help.lockergnome.com/office/Word--ftopict995898.html

  • the adobe reader of adobe purchased but installed standard first pro. now, the 'pro' trial has expired and I can't use the "standard" functions

    I bought the adobe reader from adobe but installed standard first pro. now, the 'pro' trial has expired and I can't use the "standard" functions How can I solve this in order to use Adobe Standard - one that I bought?

    Hi Jodie,

    There is no standard to pro versions of Adobe Reader.

    You have downloaded the Acrobat version which is paid instead of Adobe Reader software.

    As the trial has expired, then you won't be able to use it unless you have purchased the product.

    However, you can download Adobe Reader for free using this link Adobe Acrobat Reader DC install for all versions.

    Kind regards

    Nicos

  • Now that the utility install cleanup is no longer available, what are my options to uninstall a program that cannot be uninstalled using the standard method?

    I have three programs which cannot be uninstalled using the standard method (Control Panel > Add / Remove Programs); they are Adobe Reader 9.3.4, update of Java 6 and Java 6 update 24. What are my options for removing these programs from my system? I did a search on the internet and all the answers say to use the standard method, or they point to the Microsoft Installer Cleanup (msicuu2.exe) utility. I found sites that claim to have the software available for download, but I am wary of loading the software of a site, that I don't know.

    I have three programs which cannot be uninstalled using the standard method (Control Panel > Add / Remove Programs); they are Adobe Reader 9.3.4, update of Java 6 and Java 6 update 24. What are my options for removing these programs from my system? I did a search on the internet and all the answers say to use the standard method, or they point to the Microsoft Installer Cleanup (msicuu2.exe) utility. I found sites that claim to have the software available for download, but I am wary of loading the software of a site, that I don't know.

    Revo Uninstaller (free): http://www.revouninstaller.com/revo_uninstaller_free_download.html

    The MS Installer Cleanup Utility is available at http://majorgeeks.com/Windows_Installer_CleanUp_Utility_d4459.html , that it is a safe to download site from.  Based on warnings from Microsoft on the cleanup utility, however, you might well advised to make a backup disk image or at least a backup of the registry before using it.  C:\WINDOWS\ERUNT is an easy to use free registry backup tool.

  • It is possible to sort by using the standard XmlDataModel?

    My subject pretty well covers the question: is it possible to sort using the standard XmlDataModel class? I have an XML source that inverts the order of the elements in virtually all applications, quite annoying for the user, if he decides to update.

    It is not support sorting. Convert the data in GroupDataModel or wrap XmlDataModel in a custom DataModel:

    http://supportforums.blackberry.com/t5/Cascades-Development-Knowledge/Using-a-Custom-DataModel-to-Fi...
    
  • If you use the standard base or base optimized in Photoshop?

    If you use the standard base or base optimized in Photoshop?

    !@

    Optimized reference reduces the file size and is compatible with modern browsers.

    That's if you are designing Web pages. Personally I like it for cutting down on the size of the file. 300 KB in one case.

    JPEG save opptions

  • 10g Express to the Apex 3.1.2 update problem

    I have Oracle Database 10 g Express Edition Release 10.2.0.1.0 installed on windows XP. I want to develop an application using oracle express (apex), so I thought it would be a good idea to upgrade the apex (of the 2.0 default apex supplied with 10g xe) at the latest, free 3.1,2 before you start. I tried to update twice & it failed. Without going into a ton of details, from errors in the paper that I saw every time, it seems that the installation script, apexins.sql, expects 1 parameter to be the default tablespace instead of the password. Any ideas on this subject?
    My other questions are:
    1) before moving on to rel 3.1.2 can I first create the user/passwd apex? The doc did not initially create the account. (so I did not). It is said apexins are the followiing, but errors in the newspaper that I seem to disagree:
    @apexins < password > < tablespace_htmldb > < tablespace_files > < tablespace_temp >
    < images > < connect >

    (2) I'm following the instructions for apex rel 3? From what I read, I think I can go directly from apex rel 2.0 to 3.1.2. I found 2 different install docs for module 3 and they were different. The two documents supposed to run change passwd script (apxchpwd) after installation, but a doc editing had 2 additional scripts (which I did not work). Can someone tell me please for the right installation instructions?

    (3) after research I found an old 2.2 installaction apex tutorial that says you have to install HTTP before the APEX. Apparently I misinterpreted the doc 3.1 install it says http was already included in oracle 9.2 or later. I guess I don't have no need to install HTTP since oracle xe is rel 10. Now, I think I have to install HTTP from the accompanying CD first before moving on to APEX 3.1.2. Is this correct?

    (3) it is said that it takes in the SYSTEM tablespace for apex 3 85 M. the size of the system tablespace is 76800 (default).
    Should I increase it before attempting to upgrade again? (I've waited the defect of being large enough since the apex is delivered with the db)

    (4) suggestions/advice for starting more are welcome! Again, I've seen 1 > doc on the way to a bad installation of cleaning. Both said to drop the flows_0300 user, but I told exec wwv_flow_upgrade.switch_schemas, I did until I tried the 2nd install. Am I supposed to run the switch_schemas or not to bad cleaning install? In addition, in the troubleshooting doc I don't see an option to call switch_schemas for my apex release (2.1) so I just followed the examples and by the following 'FLOWS_020100 '. for the parameter "FLOWS_020200". Was it a good or bad idea?

    (5) is there any other software (i.e. application, server?) that must be installed before or after the apex 3.1.2? Anything else I missed? The documentation is unclear and has omissions.

    Thank you.

    Hello

    I guess you do this on a Windows-based computer and Apex 3.1.2 has already been downloaded from the Web Application Express page and will use the http port 8080.

    NOTE: Make sure your Oracle XE database does not automatically start when Windows starts. If this is the case, then remove gently Oracle Database XE before proceeding with any of these steps.

    Step 1: Unzip Apex in an appropriate place (preferable "c:\oraclexe\apex").

    Step 2: Start a session SQL more than c:\oraclexe\apex and connect as a 'sysdba '.
    sqlplus / as sysdba

    Step 3: Install the Apex.
    SYSAUX SYSAUX TEMP/i +@apexins / +.

    Step 4: Reconnect the server Oracle XE.

    Step 5: Assign/Set PATH to APEX of the images in the APEX_HOME folder where we decompressed APEX that is c:\oraclexe.
    + @apxldimg. SQL APEX_HOME +.

    Step 6: Assign / define credentials administrator to the APEX.
    + @apxxepwd. SQL votre_mot_de_passe +.

    Step 7: Restart the Oracle XE database.

    Step 8: Top configuration completed. The availability will be as follows:
    Availability of apex: http://localhost: 8080/apex
    Administrator of the apex: http://localhost: 8080/apex/apex_admin

    Follow these steps and let me know if it works for you or not.

    Kind regards
    Naveed.

  • Airport Express, Time Capsule and Airport Express using the same network

    Just moved into a new House and this is what I install.  I have 7 Port wired into the House.

    Closet of network in the Garage:

    • Cable modem
    • Airport Express
    • netgear switch 8 ports
    • It works pretty well.  All my wired connections work fine.  Wireless is quite good but cove not enough of space in my house.

    Think about adding my airport express capsule of time in my office - plugged into one of the hard wired connections.  Who works AND let me wish the WIFI?

    Thank you!

    Yes fine, assuming that first test you the Ethernet port in the office by connecting a computer (with WIFI disabled on the computer) using a spare Ethernet cable runs to ensure that the computer can get a good connection in this way.

    Put the airport Time Capsule to create a wireless network that uses the exact same wireless network name and password in your existing network. Apple installation "Wizard" automatically configure airport Time Capsule in the correct setting of the Bridge Mode for the device.

  • Problem streaming of videos on Bold 9700 using java API but works on browser

    Hi all. I'm new to the BlackBerry development and having some problems streaming videos on the BlackBerry Bold 9700 by using RTSP.

    BlackBerry JDE: 5.0.0.14

    BlackBerry smartphone: BlackBerry Bold 9700 v5.0.0.296 (Platform 5.1.0.83)

    Streaming server: Darwin Streaming Server

    Connection: WiFi business

    File format: H264/3GPP/400 Kbits / s / 30 fps

    When I load the app in the BlackBerry device, it seems that nothing happens. But when I type the URL in the blackberry browser, he immediately start blackberry player and play the video.

    Here is a code snippet that I use:

    try {
          String videoFile="rtsp://172.24.7.115:554/dmc/3GPP_H264_400kbps_30fps.3gp";
          player = Manager.createPlayer(videoFile);
          player.start();
    } catch(MediaException me) {
    } catch (IOException io) {
    }
    

    I appreciate your help.

    Thank you.

    Your code does not work at least, because you tell the operating system to use the cell interface for access to the server that has a non-public IP address. You must add '; interface wifi ="at the end of the URL. This will tell the OS to connect via WiFi.

  • problem when navigate page using the link

    Hello

    I created a jsf page where I create a form using the viewObject. which is opened in mode createInsert (using workflow and drag drop operation for page CreateInsert)

    It is very good.

    but when I want to navigate from this page by using the Home link to home.jsf page without details of Web form filling does not happen.


    What is the problem? is it right to do this?

    Manish

    Are there error messages corresponding to one of the form fields appear? If yes try allowing immediate = true for the link that will jump the validations and go to the home page.

    Thank you
    TK

  • Problem passing parameter by using the call to the JS function

    I was wondering if someone could help me with the following problem > I'm trying to pass the parameter fdd_lot_id of the index.php page in popup.php

    I can't make it work and I have tried for 6 hours now. I can pass the parameter very well when I work with normal pages but am unable to get it to work using the method below

    I only conditioned all the code that I'm fairly certain that the problem lies in my syntax on the starting window.open line

    This bit is contained between the head of <>< / head > tags

    < SCRIPT language = "JavaScript" >


    function newwindow()
    {
    Window.Open ('popup.php? id = <? php echo $row ['fdd_lot_id'];? > jav ',' ',' width = 300, height = 200, resizable = 'Yes);
    }

    < /script >

    The call to the function above is contained between the < body > < / body > tags:

    < a href = "Javascript:newwindow ()" > '. $row ['fdd_lot'].'    < /a > < table >

    In the header of the document:

    
    

    In the body of your page:

    )">
    
  • Some problems with Toshiba 40LV933G using the Serbian language settings

    Hello

    I have Toshiba 40LV933g TV a few months already.
    The firmware version is finally a 1.00.08.
    And I have some problems with it, which I think can be corrected in some of the new firmwares (if there is one).

    First of all, when I select Serbian language 'Move' in media player is not translated.

    Secondly when I select the Serbian country in the menu I can't automatically scan for DTV and ATV ATV just of channels.

    Third and the greatest problem is medial Player do not support these last Serbian latin in subbtitles as:? šŠ?? žŽ
    and there is no possibility of changing the size of this last subbtitle. Things like this other brands are already supported.
    * also the time between changing channels is long enough *.

    Best regards.

    I noticed the same problem with subtitle on my TV Toshi when I use the media player (movie recorded on USB key). These Latin letters are not displayed correctly.

    I also hope that this can be corrected with new firmware.

    By the way: do you know where you can download the latest version of the firmware?

  • I am facing problem in my laptop using the USB copy/delete files

    Dear Sir

    I am facing problem while using the USB in my lap top to delete/copy files

    Hello vasarao,

    What is the problem you are having?

    You receive error messages?

    Please provide us with more details and we will continue to solve this problem.

    Best regards

    Matthew_Ha

  • How to use a regular expression using the model concept and match for this scenario?

    Hi guys,.

    I have a string "we have 7 tutorials for Java, 2 tutorials for Javascript and 1 tutorial for Oracle.

    I need to replace the numbers based on the condition below.

    If more then 5, replace with many

    If less than 5 then replace by a few

    If it is 1, replace by "only one".

    Here is my code, I'm missing the part equates to replace the numbers could one of please help me solve you this.

    private static String REGEX = "(\\d+)"; "

    private public static String INPUT = "we have 7 tutorials for Java, 2 tutorials for Javascript and 1 tutorial for Oracle."

    String pattern = "(.*) (\\d+)(.*)";

    private static String REPLACE = "replace with many";

    Public Shared Sub main (String [] args) {}

    Create a model object

    Model r = Pattern.compile ("REGEX");

    Now create object match.

    Matcher m = r.matcher (INPUT);

    Change the value to 7 by the replacement string

    How to assimilate (\\d+) greater than a number and use the code below.

    ENTRY = m.replaceAll (REPLACE);

    Print the final result;

    System.out.println (Input);

    Thank you and best regards,

    Hello

    Try the following makes use of 'appendReplacement"instead with the methods 'start' and 'end' to locate and check the search string"regExp"before dynamically set the string"replace ":

    String regExp = "\\d+";
    String input = "We have 7 tutorials for Java, 2 tutorials for Javascript and 1 tutorial for Oracle";
    String replace;
    Pattern p = Pattern.compile(regExp);
    // get a matcher object
    Matcher m = p.matcher(input);
    StringBuffer sb = new StringBuffer();
    while (m.find()) {
       Integer x = Integer.valueOf(input.substring(m.start(), m.end()));
       replace = (x >= 5) ? "many" : (x == 1) ? "only one" : "few";
       m.appendReplacement(sb, replace);
    }
    m.appendTail(sb);
    System.out.println(sb.toString());
    

    HTH.

    Kind regards
    Rajen

    PS: Please mark as answer/useful if it solves your problem to the benefit of all members of the community.

Maybe you are looking for

  • Poor quality of Macbook or iMac streaming

    My 3rd generation recently bought Apple TV has caused some grief. Basically, the streaming quality is terrible - choppy playback and sound distortion. This happens when a Macbook or an iMac (the current two El Capitan 10.11.6 enforcement) are used to

  • Cellular data out of all THE updates.

    My cellular data turned on in general, but it is DISABLED for all updates. Brand new, no email, no applications IPhone. This morning AppStore used 260MO on its own while I was sleeping! What is happening on Apple?

  • Can I remove by Satellite X 200 wireless WLAN hardware?

    Hi all. Is it possible to physically remove the hardware wireless lan of my satellite x 200? I know this is a strange request, but I may have to prove to work I can not convey all the data before they will allow me to use the computer. Any help at al

  • HP OfficeJet pro 8610: new software update for HP OfficeJet pro 8610

    Dear HP guys! I'm officially confirm that I used compatible cartridges for my MFS and don't need no guarantee for this. Please just return old version of the software for my device so that I can use it. I bought this unit for my private needs and acc

  • HP integrated malfunction in Lap top web cam

    I have a webcam built-in to a computer hp laptop g60. I get a "cannot find device" when trying to use it. The web cam is a hp100 (?) How to operate