I want to know the difference between columns days and day 1

Hi all

I used this query:

SELECT to_char (return_date_time, ' DD/month/yyyy hh24:mi:ss') Test,

DECODE ('I', 'I', DECODE (1, NULL, NULL, 0, NULL, SYSDATE + 1)) days.

DECODE ('I', 'I', SYSDATE + 1) day 1

OF fm_curr_locn

WHERE patient_id = 'DU00002765. '

output:

Test Days Day 1
October 26, 2013 00:00:0026 OCTOBER 1326/10/2013-15:06:59

I want to know the difference between days and day column 1 column and why the days column did not show both

Please someone help...

Concerning

Nassik M

In which client tool (such as SQL * Plus, TOAD, SQL Developer, etc...) you run the query?

Could you please run the query in SQL * more and show us the exact result?

In some Client Tools, you have the privilege to set the DATE format, but should not be different level columnar.

I was wondering, how NLS_DATE format parameter can show different formats for different columns?

Tags: Database

Similar Questions

  • Hi I am new to Oracle forms and reports I want to know the differences between the Enter query mode and Normal mode?

    Hi I am new to Oracle forms and reports I want to know the differences between the Enter query mode and Normal mode?

    Welcome to Oracle Forms!  Out of curiosity, what do you mean by 'new '?  You are a student or new to an organization that uses Oracle Forms?  Or just play with Oracle Forms to learn something new?

    Let me start by saying that many of your questions designtime can answer by searching in the help of the constructor of the form library.  It's accessible, like most of the other products in the Builder menu > help.

    Regarding your question, ENTER QUERY mode, as the term implies, is when it is in a State where it is accept input for the execution of a query.  When in this mode, there are various restrictions.  Yet once, it will find more details in the Builder Help.  In this case, search help for these two subjects, "SYSTEM." MODE'and "built-ins comments that are not allowed in the input query Mode".  There are many other pages that contain information about the ENTER_QUERY method, but these two should help you get started.

    Normal mode, as its name implies, is when it is in a State of 'normal '.  Basically to do nothing in particular, but also not in ENTER QUERY mode.  In this State, you can move the shape, INSERT, UPDATE, DELETE, documents, etc..

    You will find additional information, as well as a lot of documentation on the product page of forms of OTN:

    http://www.Oracle.com/technetwork/developer-tools/forms

  • I want to know the differences between the conditions of subscription and use of Photoshop for photographers of the usual subscription?

    Nice day! I want to know the differences between the conditions of subscription and use of Photoshop for photographers of the usual subscription? And if I can buy then and for how Adobe Illustrator? What will be the beta of the Adobe XD for Windows? Thank you!

    If you ask what is the difference between photographic subscription and the subscription of stand-alone application, then the answer is both are essentially the same except for two ways. The photographic edition comes with Adobe Lightroom and 2 GB of cloud storage. The stand-alone Photoshop version comes on its own, but with 20 GB of cloud storage and is two times more expensive. If the 18 GB of cloud storage is an additional value, I would say probably no - put the money that you save on an external hard drive in place. The photographic edition was initially a temporary special offer caused a suggestion from one of the co-creators of Photoshop, but turned out to be very popular with fans, private and business and so we have a permanent plan to subscribe to Photoshop. There is no plan equivalent to Illustrator and who is available at a single price. With the subscription model, you can cancel at any time, but the contract is 1 year, if you cancel at the beginning there is a penalty clause which will ask you to pay extra this tax applies only if you pay your monthly subscription every year.

    You don't say where in the world you are, but the link below shows the available plans. There is a drop down box that allows the conversion in different currencies.

    Pricing plans and creative Cloud membership | Adobe Creative Cloud

    Hope that helps.

    Terri

  • you want to know the difference between authentic and cracked windows

    What is the diff between cracked and windows geniune?

    and also how know time my PC has windows cracked or original?

    The fact is that a cracked loader Windows 7 installation is reverse engineering unauthorized intellectual property of Microsoft. There is no property thereon, except you hacking and piracy of Microsoft software. If you want to run the genuine Microsoft software on your computer, buy a license:

    MS Windows 7 store price:
    http://store.Microsoft.com/Microsoft/Windows-Windows-7/category/102

  • How to know the difference between RDM physical and virtual

    Hello!

    How can I see if a RDM (RAW device) is physical or virtual?

    I can see it in the vmx file or easily elsewhere?

    I have a few servers running both VMFS and RDM disks inside the virtual machine, and when you use ESX Ranger and make an instant backup, they are ignored to be backed up.

    Grateful for a response

    When you change the settings of the virtual machine and choose the RDM - there will be a radio button selected for the RDM mode, it is - it is really obvious. She'll be selected for the physical or virtual.

  • What is the difference between gradle build and ant-build android in phonegap?

    Hello, I am new to android and phonegap. I just want to know the difference between the Ant-build and gradle build? What is good?

    I REQUEST THIS BECAUSE,

    I downloaded an apk on google store to play with the version code last month and google code version shown as game 1: 1 but when I updated my app with version 2, Google Watch version 20 code game code. I don't know why, it's showing 20 instead of 2. But in my file config.xml, I gave versioncode = 2. It has nothing to do with phonegap to build?

    And why it shows 20?  I used gradle android version?

    que.jpg

    There is a bug on the gradle build that changes the code of the version. I was set on cordova CLI, it will take a while until it reaches phonegap build.

    It is the question. https://issues.Apache.org/jira/browse/CB-8976

    It is always open, but from the comments it's fixed.

  • What is the difference between. MHT and. HTM?

    Original title: is anyone know about MHT files?

    What is the difference between. MHT and. HTM?

    Hi Sheryl,

    Welcome to the Windows 7 community!

    I understand that you would like to know the difference between file MHT and HTM file. I'm happy to help you.

    MHTML, short for MIME HTML, is a format to archive web page used to combine resources that are usually represented by external links (such as images, Flash animations, audio files, Java applets) as well as the HTML code in a single file. The content of an MHTML file is encoded as if it were an email message to HTML, using the MIME type multipart/related. The first part of the file is normally encoded HTML; subsequent parts are additional resources identified by their URL original and encoded in base64. This format is sometimes referred to as MHT, after the suffix .mht given to these files by default when created by Microsoft Word, Internet Explorer or Opera. MHTML is a proposed standard, distributed in an edition revised in 1999 as RFC 2557.

    HTML Web page that is used by Web browsers; contains the code markup that is stored in a plain text format; used to display and format the text and images in a Web browser.

    HTM files serve the same exact than purpose. HTML files. The extension ".htm" appeared with the use of the Web Microsoft, such as FrontPage, SharePoint Designer and Expression Web development software.

    HTM files are much less common than HTML files.

    It will be useful. For any other corresponding Windows help, do not hesitate to contact us and we will be happy to help you.

     

     

    Kind regards!

  • Find the difference between two date and time

    Hi friends,

    I wanted to find the difference between two date and time, but my qury is slightest error "invalid number."

    select sql_step_num,proc_name,run_seqno,start_date,end_date,(to_char(start_date,'HH24-MI-SS') - to_char(end_date,'HH24-MI-SS') ) as ed  
    from eval.EVAL_RUNTIME_DETAILS
    where trunc(start_date) = trunc(sysdate) 
    order by sql_step_num;

    You try to get the feel between two char strings.
    And more difference between two dates gives a NUMBER of days.
    Try this:

    select sql_step_num,proc_name,run_seqno,start_date,end_date,numtodsinterval(end_date-start_date,'DAY') as ed
    from eval.EVAL_RUNTIME_DETAILS
    where trunc(start_date) = trunc(sysdate)
    order by sql_step_num;
    
  • What is the difference between a model and an external style sheet?

    I try to understand what is the difference between a model and an external style? I finished doing my model and I know that want to base each page on that. Isn't it the same as the external style sheet?

    Since I've already gone ahead and created a model with a ton of styles, I should remove the styles from the model and recreate them so that they exist in an external style sheet?

    I recommend that, Yes.  This way if you want to add/remove/edit one of your CSS, you only download this single file, not all the files in the site.

  • What is the difference between Foglight JavaEE and Foglight JMX monitoring?

    Hello

    I have a plan to monitor the 6.1.0.17 WebSphere Application Server (32 bit) and 7.0.0.5 (64-bit)

    But I understand not all Foglight for JavaEE and Foglight for JMX.

    Foglight for JavaEE or Foglight for JMX is able to monitor WebSphere?

    What is the difference between Foglight JavaEE and Foglight JMX monitoring?

    Thanks in advance

    Jeans

    Just to add to the excellent answers already posted.

    We have 2 agents which allows you to monitor Java:

    1. a JavaEE agent that runs inside the JAVA virtual machine and the information of both JMX and instrumentation.

    This Agent will give you JMX information like information of JVM (use of the bunch, son etc.), of the Application and server availability information and other information of JMX/PMI (connections pools, pools of ejb, servlets, jsp, JCA and more).

    Java EE & # 039agent also gives you information of the instrumentation - RFA count and response time, exceptional output and timeout information, distribution of queries (App/DB, component technology, server, application failure), object tracking, transaction flow and stransactional between servers and data sources) and ask traces (the ability to see the trees of the RFA at the method level to know where things are slow/stuck).

    2 JMX agent is running outside the JVM but can run on the same computer or on a remote computer, this agent requires access active, JMX. This agent gives you information JVM, availability server/applications, as well as some data as the application server published using JMX (pools of connections, JCA, EJB, servlets, etc.). The JMX agent also gives you the ability to see a list of the mbeans, get the data they expose (javaEE agent gets only a predefined list (same list that is used as a template for the application servers in the JMX agent)).

    Hope this helps

    Golan

  • What is the difference between NET USE and MOUNT? Why do they work differently?

    What is the difference between NET USE and MOUNT?  Why do they work differently?

    Hello

    Thanks for posting your query on the Microsoft Community.

    According to the description, I understand that you have a query.

    I suggest you re-post your query on The TechNet Forums because we have experts working on this type of questions and for you help the better.

    Check out the link:

    https://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w7itpro

    You may consult:

    https://TechNet.Microsoft.com/en-us/library/bb490717.aspx?f=255&MSPPError=-2147217396

    Hope this information helps. Please let us know if you need any other help with Windows in the future. We will be happy to help you.

  • What is the difference between native SDK and Cascades/qt?

    Hi all

    Can someone tell me what is the difference between native SDK and Cascades/QT?

    When I need to go to NativeSDK and when I go to waterfalls?

    These two works in BB 10 or only Tablet?

    Please delete me, I can't live without knowing this.

    Thanks in advance.

    Hi Smiley,

    Yes, you need to install the two NDKs. They coexist and separate IDEs and install files.

    See you soon

    Swann

  • What is the difference between Unicast RPF and Reverse Path Forwarding?

    I am confused between Unicast RPF and Reverse Path Forwarding function.

    What is the difference between Unicast RPF and Reverse Path Forwarding?

    Because they have all two please check the address of the source of each package before sending it to the destination too?

    Reverse Path Forwarding is used only when the network want to build a tree shared multicast communication and then we must use Unicast RPF after creation of the shared tree?

    The mechanism of the RPF is mainly used to ensure no loop of routing traffic.

    As you probably already read, it does by ensuring that his route to the source address of a packet received is accessible via the same interface that the packet is entered in the. Think of the notion of "root port" in STP. all root ports are similar to the root, sunflower follow the Sun. Therefore, it is naturally a loop prevention mechanism.

    With multicast traffic, it is quite likely to create multiple loops of routing the nature of 'destination' traffic. For this reason, using a mechanism as the RPF to ensure you are on the "road to the root" (to say) to the source originating multicast traffic. Otherwise if you're not then you either receive this traffic route in a loop, or a suboptimal path.

    uRPF works essentially the same way, except that it is done for unicast traffic instead. Now with unicast traffic your flow is from a source and directs to a single destination. Given that, as the fact that you are using a dynamic routing algorithm (which allows to select the path to a destination), you can have loops of your network for unicast traffic flow routing; of course there may be exceptions to pitfalls of configuration route redistribution.

    However RPF when it is applied to traffic unicast can add another advantage, and it's verification IP source. That's why we can use it as a security mechanism to ensure that data are from where it is supposed to come.

    On the limit of the L2, you then have mechanisms such as guard source IP to ensure that the correct host is not usurpation of their IP address.

    By analogy RPF can be used for checking at source for multicast traffic, and it is intrinsically that however, the most important role is so that it can be used to guarantee without loop routing of multicast traffic.

    I hope that helped clear things upwards and not confused you any more with all this.

  • What is the difference between Cisco NAC and ACS?

    I am currently part of a new construction project and my Cisco account manager and sales engineer recommend Cisco NAC for our new MDF. I'm confused because I don't clearly know the difference between a Cisco ACS and the NAC. What is the difference?

    Thank you

    Chris

    Chris,

    The two are completely different, maybe the sales rep could present you with more information and application. Each offers a variety of services tailored to the specific needs. I think that we need to read more in depth on the proceeds of the NAC. NAC seems an excellent solution for authentication authorization but other regulatory compliance.

    When you see ask your representative to sales for more information/demo.

    ACS is more widely use as a central point to access control to network devices routers, an example is for acs accounting management and the authority to order on all devices on the network using acs as RADIUS server. Considering that the NAC is over a central point of safety inspection on earlier systems of access to your network by via LAN or outside, an example of these respected regulatory defined could be inspections could be virus definition checks before getting lan access thus preventing access to the LAN if the system does not have regulatory compliance defined in NAC access is denied. Another example could be the unknown local host connections etc... So, it seems that NAC is a much broader product that provides endpoint security internal, not only the authentication authorization as acs... ACS has been there for a long time, NAC is rather new product.

    NAC

    http://www.Cisco.com/en/us/NetSol/ns466/networking_solutions_package.html

    http://www.Cisco.com/en/us/solutions/collateral/ns340/ns394/ns171/ns466/ns617/net_qanda0900aecd800fdd6f_ns466_Networking_Solutions_Q_and_A.html

    ACS

    http://www.Cisco.com/en/us/products/sw/secursw/ps5338/index.html

    Rgds

    Jorge

  • What is the difference between a folder and a Briefcase. How can I create a new foler in a Briefcase?

    What is the difference between a folder and a Briefcase. How can I create a new foler in a Briefcase?

    This is just n his own when I wanted to create a new folder, right-click in an empty area and the icon associated with a Briefcase appeared. I'm not familiar with this notation or the form of file storage

    Thanks for the reply

    New folder is missing.
     
     
    How to remove and restore the default context Menu items 'New' in Windows 7 and Windows 8
    http://www.SevenForums.com/tutorials/28677-new-context-menu-remove-restore-default-menu-items.html
     
     

    Tip: When you save the text in Notepad, the default file format is .txt. Replace all files.
     
     
     

     

Maybe you are looking for

  • grabbing the mouse usb speed

    In brief: I want a usb mouse for it's X and Y of the speed of queries on a regular interval.  How do I? What I have: My current attempt is to configure the mouse as a device GROSS VISA and grabbing the data via a suspending VISA USB on the loop (atta

  • Reduced in Outlook after updates performance

    I recently noticed a subtle but annoying changes in the way that my email Outlook performs. As usual, it loads the messages when you first open the app. But now, it recharges (and therefore expected) when switching between files. Thus, for example, i

  • USB not port not working and card reader doesn't work is not on my desk.

    My usb port and built-in card reader does not work on my desk, also my external speakers do not work. stakeholders work with my laptop, it is not connected via USB.

  • How can I fix my office after he has been corrupted by the games.

    Windows fails to start, keep automatic reboot. When I restart and press F8 and select Safe mode it still won't start. I tried everything and it's still not started.

  • Problems using Pinball FX 2.

    I'm playing Pinball FX 2 and all I get is the message that it is trying to load my profile - check back later.  I come back later and the same message is there.  I come back a second time and the message is still there.  The problem seems to be by yo