What are the best practices for creating only time data types, and not the Date

Hi gurus,

We use 12 c DB and we have a requirement to create the column with datatype of time only, if someone please describe what are the best practices for the creation of this.

I would strongly appreciate ideas and suggestions.

Kind regards



How do you intend to use the time?

If you are going to combine with DATEs or timestamps from a other source, then an INTERVAL DAY TO SECOND or NUMBER may be better.

Will you need to perform arithmetic operations on time, for example, increase the time to 20%, or take an average?   If so, the NUMBER would be preferable.

You are just going to display it?  In this case, DAY INTERVAL in SECONDS, DATE or VARCHAR2 would work.

As Blushadow said, it depends.

Tags: Database

Similar Questions

  • Using PowerPoint and Captivate together - what are your best practices?

    HI - here are my two questions...

    (1) it seems that when you insert PowerPoint slides in CP7 and duplicate a slide - slide 2 is not a fresh new creation.  It is always related to the original slide & all changes to one of them in PowerPoint, a direct impact on other related slides.  I realize now that I can go back in PP and duplicate it... But it just seems like extra which steps.  Am I missing something here?

    (2) I would like to hear how others approach developers creating a new project of CP, using PowerPoint as a starting point.  Go you back or do you create new themes based on the drawings of PP and then copy and paste the content?  I guess I'm looking here for best practices.

    I appreciate your help!



    If you start from scratch, PowerPoint is a terrible thing to consider. Don't get me wrong it's a great tool for what it does. But the reason we see even any possibility for Captivate shoot in a PowerPoint presentation is because there are still masses of people out there who have hundreds of thousands of PowerPoint presentations they want to reallocate in e-learning. So it is to get this way managed job 'quick and dirty '.

    The process of importing a PowerPoint performs a conversion of the PowerPoint slide in Flash SWF file. Then, the SWF file is configured as the subject of the slide background. That's why when you duplicated the slide, you have seen the behaviour you have done.

    Here is that if you start from scratch, start with a blank Captivate project. Use PPT if you wish, but only as a design tool. Copy the images of PPT, then insert into Captivate.

    See you soon... Rick

  • Best practices for creating data warehouses

    I have 10 iSCSI LUN (all on the same device), each 1.8 size to which I want to introduce ESXi to create data warehouses.  Are there all recommended for how I divide these LUNS to the top, or should I just do a giant data store?  Maybe there are performance factors to consider here?

    If I had to do 10 1.8 data stores to I can see a problem on the road when I need to expand a vmdk but cannot because there is not enough free space on the data store, it would be less of a problem if I had a giant data store at first.

    Thank you.

    First of all, it's one of those type questions "how long is a piece of string.

    It depends of course of the VMDK number you're going to be running, the available storage, the type of storage, IO, storage, type of virtual machines etc. etc. etc.,

    Things to consider are for example, you have a storage that deduplication and storage cost a major factor (and so on)
    Of course. . almost always, a cost reduction is equivalent to a drop in performance.

    In any case, a rule very loose, I have (in most cases), among which I size LUN somewhere between 400 and 750 GB and rarely (if ever) have more than 30 VMDK per LUN.

    Almost always, redirect the request to the following resources:

    first of all, the maximum rates of configuration:

    http://SearchVMware.TechTarget.com/Tip/0, 289483, sid179_gci1350469, 00.html

    (although Post-andre above covers most of them)

  • Best practices for creating a new project from an existing WebHelp

    I am currently working to WebHelp Pro (version RH is

    I have a WebHelp project that currently supports the 2012 version of one of our projects. What I had to do was to create a separate project for 2013, using files of 2012 as a starting point. I couldn't find a way in HR to create a new project by importing an existing project of WebHelp, so I copied the files of 2012 in a new directory, open the project and renamed it.

    What drives this issue is that, as a result of this exercise, all seemed well, for once. However, I recently had to create new topics in the 2012 version. However, when I imported these subjects to the 2013 and compiled project, they disappeared - even if the htm files still appear in the appropriate folder of the file 2013 (when we look at with Windows Explorer).

    After reading a few posts on the forum, I thought I might have corrupted my database by creating the incorrectly the new project-, but if what I've done, it's the wrong way to go about this, I don't know what is the right way. I will be grateful for any suggestion.

    The easy way to do this is to create a copy using Windows Explorer.

    Open the project and click file > rename.

    Then you have your project is ready in 2013.

    See www.grainge.org for creating tips and RoboHelp


  • What is the best practice for creating Volumes


    I have storage SAN Dell Equiliser PS 6000 model. configured with RAID 50. and FEPs 4TB

    1. I want to present the server 2 hosts 2 TB and 2 TB Volumes. is it good to put it this way or

    2. can I submit each Volume separately to each Vertual Machine... ???

    My friends said that method 1 is good practice.

    3 and I use the IP address of the host to present volumes it's correctly.

    4. If I use host NIC to present Volumes. so can I use the same NETWORK card like switch virtual or not.

    Please give me the urgency to answer.

    Thank you.


    Re: 1

    If you have a table of 4 TB, use all the available space on the table.  This will reduce performance long-term.  The table needs unallocated free space.  If you use replication or snapshots.

    Re: 2

    If you do not use a file system capable of cluster, then do not connect several servers the same volumes.  Each server has access to its own volume.  You can connect either using the hypervisor (AKA Raw Device mapped LUN) or directly from the virtual machine.  Which is known as the "Storage Direct".  If your server is running Windows, with this configuration, you can use the Host Integration Toolkit / edition of Microsoft (HIT / ME) to provide improved MPIO and better integration with SharePoint, MS SQL and MS Exchange.

    Addresses using IP is fine to control access.  It's a personal preference.  It is possible to make a mistake and allow multiple access to the server when using just IP addresses.  Or an address can be spoofed as well.  A safer option is to use a CHAP username / password combination.

    About your last two questions, I'm not sure that I completely understand.

    The iSCSI network must be on its own.  If each virtual machine or a physical host linking would have their own network interface cards.  Whether it's virtual network adapters or the physical network interface cards. With virtual switches, it should have devoted HW NIC and iSCSI traffic.  But those that can be shared by multiple virtual machines.

    Kind regards


  • What is a best practice for objects created and literals

    If I have to run a method several times, is it better to do this:
    int i = 0;
    public void test(){
         i = rand.nextInt();
    Or is it better to do:
    public void test(){
         int i = 0;
         i = rand.nextInt()
    Assuming that the variable 'i' will NOT again the program, considering that I have will take place probably this method a hundred times or more, I just want to know which is faster or better.

    And if it was an object rather than a literal? -What changes it?

    What happens if the method is static? -What changes it?

    It is best to declare variables in the lowest scope possible. So, given the choice between these two pieces of code and other assumptions you mention, the second part of the code is better.

    (By the way the rule is true because it makes your code easier to understand. In the second part of the code you posted, it is obvious that variable 'i' isn't used everywhere except in the "test" method In the first part of the code, the reader cannot tell. Less the player should reflect the code you write, the better code.)

    However if the second part of the code is what you want, then it is too long. Why you initialize the variable to zero, and then in the next line assign another value to it? Why not simply initialize this another value in the first place?

    It's a line too.

    Then, if you are going to assign a value to a variable and then print the value of this variable, why not just print the value directly? Why have the variable at all?

    This is so two lines too.

    It is usually best to write less code, and no more code. Most code you write more code must contain errors. Beginners used to write a lot too much code. However, it is possible to go overboard with the idea of writing less code; It is possible to write a long and unreadable 'one-liners', which do the work, but when some other poor decoration needs to change to something else, it's impossible.

    You will notice that I have not address the issue of the "faster" at all. This is because that things like when you declare variables are a triviality in terms of speed things run.

  • Best practices for ViewObjects when inserting data through pl/sql procedure

    My applications is form of oracle database level enterprise application and developing now the new module of ADF 11 g but there is restriction that all insert, update, and delete data will be through procedures oracle pl/sql. Now my question is that adf pages should be linked with ViewObjects based on the entity object or Viewobjects not based on entity / sql query. Currently, I have pages with programmatic ViewObjects that don't rely on entity objects, or on the sql query. In these display objects, I create transient attributes and then used to create pages in the adf. Click Save, I extracted the data of the current line of ViewObject and pass it to the procedure. It's works well but I was wondering if this approach is ok or it is better for it. Ideally, I would like to create from EntityObject ViewObjects but don't have not find a way to sync entityObjects with the data inserted through procedures.


    I have create an EO for database view and replace the doDML () - method. For insert/update, and delete, I call the pl/sql functions.

    See "38.5 basis an entity on a Package PL/SQL API object" in the merger Oracle® Fusion Middleware developer for Oracle application development Guide

  • Best practices for dealing with Exceptions on members of storage

    We recently encountered a problem where one of our DistributedCaches was closing himself and restart due to a RuntimeException is thrown from our code (see below). As usual, it's our own code and we have updated to not throw a RuntimeException in all circumstances.

    I would like to know if there are some best practices for Exception handling, other than catching Exceptions and their record. We should always catch the Exceptions and ensure that they do not spread back to code that is running from the pot of consistency? Is it possible to configure consistency so that our DistributedCaches are not completed even when filters custom and other throw RuntimeExceptions?

    Thank you, Aidan

    Exception below:

    2010-02-09 12:40:39.222/88477.977 Oracle coherence GE < error > 3.4.2/411 (thread = DistributedCache:StyleCache, Member = 48): a (java.lang.RuntimeException) exception occurred reading Message AggregateFilterRequest Type = 31 for Service = DistributedCache {Name = StyleCache, State = (SERVICE_STARTED), LocalStorage = active, PartitionCount = 1021, BackupCount = 1, AssignedPartitions = 201, 204 = BackupPartitions}
    2010-02-09 12:40:39.222/88477.977 Oracle coherence GE < error > 3.4.2/411 (thread = DistributedCache:StyleCache, Member = 48): DistributedCache ending because of an exception not handled: java.lang.RuntimeException

    We have reproduced you problem in the House and it looks like a global filtering does not
    the correct thing (i.e. having caught a processed) when moving from a runtime exception.
    In general runtime exceptions should simply be exploited and returned to the application
    without compromising the cache server, so we will be solving it.

  • What are the best practices for a new employee to learn inside the instance of their business of Eloqua as efficiently as possible?

    We have companies everything changed at some point in our lives. And we all go through the process in the first weeks, where you feel new and are just trying to figure out how not to get lost on your way in the mornings.

    On top of that, trying to familiarize yourself with your new company Eloqua instance can be a daunting task, especially if it's a large organization.

    What are the best practices for new employees to learn as efficiently and effectively as possible?

    I am in this situation right now. Moved to a much larger organization. It is a huge task trying to understand all the ins and outs not only society, but also of the eloqua instance, especially when she is complex with many points of integration. I find that most of the learning happens when I really go do the work. I spent a ton of time going through the programs, documentation, integrations, etc., but after awhile, it's all just words on a page and not absorbed.

    The biggest thing that I recommend is to learn how and why things are made the way they are currently, ask lots of questions, don't assume not that things work the same as they did with your previous employer.

    Download some base in place level benchmarks to demonstrate additional improvement.

    Make a list of tasks in the long term. As a new pair of eyes, make a list of things you'd like to improve.

  • What are the best practices for use of GLOBAL Variables


    Please guide how Global Variables can be declared and how they can be initialized.

    Further please guide what are the impacts of the Variables(if any) world on the memory of the CLIENT or the SERVER, if they are not initialized or released after use.

    Thank you.

    Kind regards.

    There are 255 characters (fixed) - or a less than before, don't know if they still are that length.
    My preference is not to use and use the settings or package variables. There is no real control of globals, so you may find yourself with an applications which has a good number of them which is used only once but which persists during the user's session.

  • What is easier and best program for creating and designing the Web site to Server2008R2?

    What is more simple and the best program for creating and Server2008R2 for FrontPage Web site design is no longer available? Or FrontPage is still available.  Thanks in advance.

    There is no more simple and best. You could get as many different answers as there are a people.

    Expression is the successor to FrontPage. Also take a look at SharePoint Designer if you're Leroux Microsoft product. And, they are not the easiest and probably not the best.

  • What are the best practices framework OA customizations autour?


    We make many customizations in our case.

    What are the best practices around customizations.

    How to document?

    What is a good practice to make all the customizations by using functional Adimistrator?

    Kind regards


    Best place for this question would be OA Framework

    What are the best practices around customizations.

    What do you mean by that? There is one way you can do customization. But the functionality can be achieved differently, in this case, it will be very specific in what you want to achieve.

    If you reference how to do customization, such as aid of the functional administrator or go to the page and clicking in the Customize link in the page or by using the xml file and using XMLImporter, it is not really important.

    If ask you questions about the migration of customization, you can either export to leave an instance and import them into another instance using functional administrator or XML importer. Or do it manually again.

    The XML importer is usually easy and need less documentation from the point of view of migration.

    How to document?

    If you migrate manually, could better document the steps with screenshots.

    If not, document changes in the screen as well as the reference to the downloaded file customization.

    What is a good practice to make all the customizations by using functional Adimistrator?

    This is one of the option.   I don't see anything wrong with that.

    By accessing the page could be more easily test the change.

    See you soon


  • I use PE 13, what are the best settings for viewing a slide show on a TV

    I set up a slide show of my drawings for display on a TV.   The images are color JPEGs.   What primary settings work best for the project when it comes to watching a slideshow of images on an HDTV?   I know how to change the properties of the project, but I don't know which of the formats and options will work best to turn slideshow into a video clip.


    First 13 items on what operating system? You have 13 to 13.1 updates, using Help Menu/updates to date of an open project?

    Your question immediately... assuming you have a NTSC installation...

    1. What are the dimensions in pixels of your JPEG files, and how many of them are there? Depending on the resources of the computer, how many JPEG files, and what pixel dimensions, try to use 1920 x 1080 format JPEG and the project preset elements 13/13.1 first is NTSC, DSLR, 1080 p, DSLR 1080 p 30.

    2. what type of player is has your HD TV?

    (a) if only one DVD, then your destination drive is drive DVD/record/Publish + share with preset = NTSC_Widescreen_Dolby DVD. Video set for display at 872 x 480 after encoding.

    (b) if player Blu - ray, then the publish + share/disc/AVCHD (which are a DVD disc)... can be 1920 x 1080 @ 23,94 progressive frames per second (H.264 1 920 x 1080 NTSC Dolby)

    (c) if the Blu - ray player, then publish + share/Disc/Blu-ray disc... can be 1920 x 1080 @ 23,94 progressive frames per second (H.264, 1920 x 1080 p NTSC Dolby).

    I assumed you wanted a product of disc? If your HD TV player takes support other media of the video file, what are the formats on which media supports?

    With this information, I will propose Publish + share/computer/specificities for export to files.

    Please review, study and give more details.

    Thank you.


  • What is the best practice for a 'regular' Server VMware and VDI environment?

    What is the best practice for a "regular" VMware Server and VDI environment?   A single environment (ESXi and SAN) can accommodate two if it is a whole new configuration?  Or even better to keep separate?

    Enjoying inputs.

    Quick and dirty answer is that "it depends."

    serioulsy, it depends really two things budget and IO.  If you had the money for two without then buy two and don't have to host your server environment and the other for VDI desktop, their IO profiles are completely different.

    If this is not the case, try to keep each type of use for their own dedicated LUN.

  • What are the best settings for host when PPTX is looping continues

    With the help of Jorma is was able to realize my PPTX in continuous loop, and change the number of seconds a slide was shown see How to let a pptx presentation run on its own

    There is only one question left. What are the best settings. I find that to let him run, I need to press the sync button, but then participants may choose (inadvertently) to stop the presentation of the execution of the loop.

    What are the correct settings, so that a participant sees only the slides (no side bar etc) and the loop is running?

    Your response is much appreciated

    You should not need to press the Sync button. In the options menu Pod for the sharing, with the loaded PPT module, you'll see an option to view the presentation bar. Use that to get the part for the hosts and presenters in the room, then press the button play. The presentation will be now play in a mode loop for everyone in sync mode. You can also hide the PlayBar to keep other hosts and presenters to stop playback and Participants will never see the PlayBar or have the option to stop the presentation.

    In addition, if your door essentially on the sharing module (highlight a focus), you can use the 'P' button to start playing the presentation without revealing the PlayBar to just anyone. Adobe Connect 9 * accessibility features

Maybe you are looking for