How to prevent the Automatic Conversion of TIMESTAMP Format column (0) WITH ZONE VARCHAR2

Hello

I created a view of my table and columns with the date format is automatically converted to varchar type...

How can I avoid this?

Create view V_T2 as

Select

MAX (DECODE (RESULT_TYPE, THE FROM ', DECODE (BACKUP_LEVEL_ID, 'F', LAST_START, NULL), NULL)) LAST_SUCCESS_FULL_START,.

MAX LAST_SUCCESS_INC_START (DECODE (RESULT_TYPE,' TO DECODE (BACKUP_LEVEL_ID, 'F', NULL, LAST_START), NULL))

of backup_log;

the first 'LAST_SUCCESS_FULL_START' column format remains TIMESTAMP (0) WITH ZONE SCHEDULE, but the other changes to VARCHAR.

the LAST_START column in my table in the source format is also TIMESTAMP (0) WITH ZONE SCHEDULE.

Thank you for helping me.

user649075 wrote:

Create view V_T2 as

Select

MAX (DECODE (RESULT_TYPE, THE FROM ', DECODE (BACKUP_LEVEL_ID, 'F', LAST_START, NULL), NULL)) LAST_SUCCESS_FULL_START,.

MAX LAST_SUCCESS_INC_START (DECODE (RESULT_TYPE,' TO DECODE (BACKUP_LEVEL_ID, 'F', NULL, LAST_START), NULL))

of backup_log;

The NULL value is treated as a VARCHAR2 since she does not have a real data type.

Try to CAST as the appropriate data type.

cast( null as timestamp(0) with time zone)

MK

Tags: Database

Similar Questions

  • How to prevent the automatic updates

    How to prevent the automatic updates which closes the window and restart the computer in Windows 7, Vista OP?  I'm usually right in the middle of something when this happens.

    Hello

    change how to get updates to allow you to choose what you and when you install to stop it happening again

    http://www.bleepingcomputer.com/tutorials/tutorial140.html

    Download updates but let me choose whether to install them - if you select this option, Windows will download the updates on your computer, but not install them automatically. If you want to install updates, then you must install them manually. You should only select this option if you have a reason to not install updates automatically. Only advanced users should use this option.

    Check for updates but let me choose whether to download and install them - if you select this option, you'll be alerted when there are new updates available for download and install. You can then choose to download and install the updates that you want. This option should really be reserved for people who know exactly which updates they need, or those who have little access to the Internet.

  • How to prevent the automatic upgrade for Windows 10

    Press reports say that Microsoft will 'soon' 10 Windows upgrade recommended for Windows 7, leading to the automatic download and installation.  I don't want that.  I have upgraded to Windows 10, then returned to 7 (leaving an extra 100 GB of something on my hard drive).  I intend to hold out until the last minute, and perhaps later.

    So, how to prevent this scheduled automatic upgrade?  Do I have to turn off updates in Windows 7 and manually review every update?  What I read who cannot help because Microsoft does not offer as much detail about the upgrades as in the past.

    Computers were a hobby for me in 1980.  After 35 years the computers are now a tool and their maintenance is a chore.  I'll learn Windows 10 when I need to and not before.  I really don't want to use 10 at home and at work 7.  When my employer upgraded, so I will.

    Hello DilbertFan,

    For the first year that Windows 10 is out, he will be free to users with a license for Windows 7 or 8.1.

    If you don't know that you do not want to update then please copy the text following that I have which is in italics below and paste it into Notepad.

    The Publisher of the registry Windows Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Gwx]"DisableGwx"=dword:00000001

    Once you have that then go ahead and save it to your desktop and save it under "block 10" or something like that. ""

    Return to your desktop and locate this file and change the extension from .txt to .reg file

    Save it, and then double-click the file. It is to modify the registry to block the upgrade of Windows 10. I use a lot.

    Thank you

  • How to prevent the automatic import of Photos

    I plugged my camera into my computer, and the pictures immediately began to import images. How can I stop this? I see nothing in the preferences to achieve this.

    When the Import Photos Panel opens, you should see a check mark in the toolbar 'Open pictures for the device'.   Clear this check box and Photos should not open again for this device (until you reformat the card).

    The automatic launch can be disabled for each camera separately.

    You can try this fix: this Terminal command allows to disable auto-start for any photo application, not just Photos.

    • Photos of quit smoking and unplug any camera.
    • Open a Terminal and paste this command and press return:

    defaults write currentHost - com.apple.ImageCapture disableHotPlug - bool YES

    • Restart the Mac. It is not necessary, but it worked for me after the reboot.

    I found this fix in a post of JadedEye ( leonie)

    https://discussions.Apple.com/message/29506561#29506561

  • How to prevent the automatic updates of Windows with XP?

    Starts the download each time I start up the PC and takes a lot of resources, I can not any work for 20 minutes or more.  You want to check the updates manually. The latest running service pack.  Cannot find an option to turn off updates in Windows Update.  I swear I saw a place where you can check the updates manually instead of automatically download.

    Hello

    In Control Panel - System.

    Shortcut: hold down the Windows key (between ctrl and alt) and then press the Pause break key. And then click the Automatic Updates tab.

    Tricky

  • How to prevent the automatic launch at windows startup 10 itunes

    I have the latest version of Windows 10 and the latest version of iTunes on laptop Lenovo 2015 of 64-bit model.

    How can I prevent iTunes from launching at startup of the system?

    Try this...

    1. Right click on the taskbar.
    2. Select the Task Manager.
    3. Click the Startup tab.
    4. Click the iTunesHelper app.
    5. Click the button disable.
    6. Close the Task Manager.
  • How to prevent the automatic detection of Google News location

    Is there a setting in Firefox that provides the approximate geographic location to Google News and similar web sites? Can I adjust this setting and if so, how? I do 'change location' and 'save' in google news, but it seems to "forget" this setting whenever I have quit firefox

    This information is stored in a cookie, so make sure that you keep such a cookie.

    • Create a cookie exception allow (Tools > Options > privacy > Cookies: Exceptions) to keep such cookies, especially for sites Web secure and if the cookies expire when Firefox is closed.

    Make sure that you run not Firefox in private browsing mode.

    Do not use clear recent history to erase "Cookies" and "Site preferences".

    Compensation of the "Site Preferences" clears all exceptions for cookies, images, windows pop up, installation of software and passwords.

  • How to prevent the creation of 15000 files for 300 MB each day Firefox

    Firefox creates files of 'file' in C:\Users\LeRicain\AppData\Local\Mozilla\Firefox\Profiles\dnm04rk5.default\cache2
    There are about 10,000 and 20,000 files I have to remove to get about 300 MB of space each day

    How to prevent the creation of these files in Firefox

    Here are the files from cache. Basically, it takes Web sites that access you a lot and records bits of them so they'll load faster the next time you visit them. FOR EXAMPLE if you visit Google.com much, Firefox will save some elements of this page in the cache so that the next time visit you Google.com, it will not have to re - download.

  • How to prevent the add-on compatibility checking whenever he opens Firefox?

    How to prevent the add-on compatibility checking whenever he opens Firefox?

    Which can be a problem with the compatibility.ini file in the Firefox profile folder.
    Try to rename (or delete) the file compatibility.ini in the profile folder of Firefox to see if that helps.

    You can use this button to go to the Firefox profile folder currently in use:

    Alternatively, you can check for problems with preferences.

    Delete possible user.js and files numbered prefs-# .js and rename (or delete) the file prefs.js to reset all the prefs by default, including the prefs set via user.js and pref which is no longer supported in the current version of Firefox.

  • How to remove the automatic locking of the IPad 2

    How to remove the automatic locking in the iPad 2

    Are you talking about the time it takes the device "go to sleep?

    Settings > general > auto lock > set to 'never '.

  • lovely better does not work with windows vista home Premium what another program removes LSO and HOW to prevent the trackers?

    Question
    better privacy does not work with windows vista home Premium that another program removes LSO and HOW to prevent the trackers? Edit
    Details

    In current versions of Flash you can also do this via the control panel.

    • Control Panel > Flash Player, click on remove and erase data
  • How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    Thank you very much for your help, if necessary.

    Quite a few questions, send, but I will do what I can to answer them.

    I recommend first to buy a router, even if it's one you won't connect to internet and it network with others your PC and printer. This will give you the best features and the results of what you're trying to do.

    In addition, the automatic stop of the printer function can be disabled and is not affected by the type of connection. Usually, you can go through the configuration Menu and select tools to change the options there on the energy saving features.

    Finally, the auto off function on your computer is a Windows question, but one easy answer. If you're on a laptop, you can right click on the battery in the tray (lower right corner) and change the settings for energy conservation.

    You might be better off installing the printer via the USB cord and alternately inspiring when you use it, but which is not optimal if you are printing only a few documents on an irregular basis. A network connection is the easiest to manage across multiple computers, honesty, but you have certain requirements for this connection and limits as well.

    I hope this information is useful!

  • How to enable the automatic configuration service in Windows XP

    How to enable the automatic configuration service in Windows XP

    Hi SamuelOkon,

    Are you facing any problem on your computer?

    You can follow the steps in this link & check if it helps.

    How to activate the Wireless Auto Configuration startup type?

    Hope the helps of information.
    Please post back and we do know.

  • How to use the automatic configuration wizard and where can I FIND?

    How to use the automatic configuration wizard and where can I FIND?

    Hi TannySmedt,

    To activate the Configuration service automatic wireless so it starts automatically, click the Start button. Select settings , then select Control Panel. If you use Windows XP display, select the performance and Maintenance category, and then select Administrative Tools. If you use Classic view, and then select Administrative Tools. In the left pane, click the Services icon. Click the automatic Wireless Configuration icon in the right pane, and change the box Startup Type to Automatic. This parameter will be defined the service starts automatically at boot time. Then click on the Start button to start the automatic Wireless Configuration service zero wireless and click on the OK button.

    The automatic Wireless Configuration can also be started and stopped from a command prompt. To start the automatic Wireless Configuration, run the following command:

    net start wzcsvc

    To stop the automatic Wireless Configuration, run the following command:

    net stop wzcsvc

  • How to disable the automatic locking of the screen of the computer with windows XP

    How to disable the automatic locking of the screen of the computer with windows XP? so many people responded on windows 7, but NOT a SINGLE spoke of XP.  I have this problem.  screen goes into sleep mode and I have to wake up even if NO PASSWORD is selected.  I changed the POWER SETTINGS. Nothing helps.  NEED HELP. Thank you

    Well since it is already assigned, and a mod has not moved this somehow already in the XP section:

    On your desktop, right-click right properties, under the screen saver are of course "on Resume, display logon screen" is NOT checked. You can also disable screen saver.

Maybe you are looking for

  • Tecra R10 - 10W - crashes with the nVidia display driver

    Dear Sirs, Two days ago, I bought my new Tecra R10 - 10W. I used the recovery disk to put Windows XP. However, I get a blue screen randomly. I turned on the 'Check' tool and I got: error of e/s in wmiaci.sys system. Error 20th in B9B8752F. I figured

  • Photo sharing Via MMS

    I saw one or two mentions of this in the public forum as well: When you try to share a picture by MMS, I'm not being invited to the required image resizing, and messages are apparently not sent accordingly.

  • Need help with table 2D

    Hi all I work with a 2D array that stores numerical values. Let me explain my problem with an example. Consider a 2D table as shown in the picture (input.png) attached. elements of the 2nd row are already present in the 1st row. How can I get a new 2

  • Get the 5 error: the file is open

    I'm having a problem with my VI. I want to create a file every minute and write at a high resolution for this minute. Then after the minute is made and im writing to another file, delete the file I wrote it just to. I can create files very well, but

  • Connect Live Family Safety Windows appears frequently, how to disable the option to appear?

    Login page Windows live family safety keeps popping up and showing "ask your parent to sign in so family security can get the last parameters. Please let me know how to disable this popup option?