Question about ticks in time

I have a question about the number of ticks.

CREATE function abc (netTicks in number)

RETURNS THE TIMESTAMP

as

DATE date1: = '' 2010-11-01;

v_ticks_for_2010_11_01 NUMBER (19.0): = 634241664000000000; -I did not understand how this number came

v_ticks_in_a_second NUMBER (19.0): = 10000000; -THERE ARE 10 MILLION OF TICKS IN ONE SECOND

Start

utils. DateAdd ('SECOND', ((netTicks-v_ticks_for_2010_11_01) / v_ticks_in_a_second), date1); - what do what is this function?

end

/

Thank you

Hello

NewLearner wrote:

Hi, I have a data type of bigint type in SQL server. During the migration I changed it to number (19.0) in oracle. But how to have a variable equal to bigint in oracle that is coming as an input parameter. I can not give number (19.0) for the input parameter. His gift of syntax error. How to make this support in oracle?

In the function declaration, you give just the type of data (e.g., NUMBER).  Sizes, as NUMBER (19, 0) , are given to variables that pass to the function.  For example:

DECLARE

x_ticks NUMBER (19, 0): =...;

x_ts TIMESTAMP

BEGIN

x_tx: = abc (x_ticks);

...

When writing to abc, suffice to say that it will be passed a NUMBER.  When you call with a certain NUMBER (19, 0), then it will use this NUMEBR (19, 0) value.

Also in the Sub function return to_timestamp (' 2014-01-01') + interval '10' sec; instead of having fixed the value of 10 for the interval. I want to spend a dynamic value. example: something like v_interval: = (a - b) / c; return to_timestamp ('2010-11-01') + v_interval second interval;  Help, please

TO_TIMESTAMP call with 1 single argument is just begging for trouble.  Always use a 2nd argument, for example

TO_TIMESTAMP ('2014-01-01', "YYYY-MM-DD")

Rather than use a literal INTERVAL here, you could use a variable INTERVAL, use NUMTODSINTERVAL to convert a variable NUMBER of INTERVAL.

Tags: Database

Similar Questions

  • Question about CPU Ready time %

    Hello Vmware experts.

    Small question about time loan cpu in esxtop. I have a couple of the virtual machine that has been entrusted to 4 vCPU. When you view their stats in esxtop they indicate the highest term of loan from CPU. I was wondering if this figure is the result of adding the ready time of each vCPU? For example, a 4 x vCPU VM with ready time of 10%, does it really mean 2.5% by vCPU? Should I be concerned about ready time of 10%? I read that the multiple assignment of vCPU can unnecessarily cause time CPU ready. How others decide on how many vCPU they must assign to VM here?

    OK, just realised that was more than just a small question... anyway, would be great if someone could make all this a bit clearer for me.

    Thank you

    BTW, my hosts CPU usage to sit at an average of 25%.

    In vSphere they eased the scheduling of multiple vCPU co even more so that only the vCPU who got ahead of the rest is stopped.  It is always advisable to start with a single vCPU and work your way up if necessary.

    In esxtop you can use the e command to extend the CPU statistics.  In several vCPU machines this will let you see the playing time of each CPU (which should add until you have seen earlier) and it will also allow you to see the % used for each processor.  This should allow you to see if the two vCPU are properly used in a box of vCPU multi.   I had also the CSTP % field shows which is the stop of co and will give you an indiciation of how often vCPU on the machine stopped to allow the other CPU to stand.

    Great pdf on the CPU scheduler in vSPhere can be found here http://www.vmware.com/files/pdf/perf-vsphere-cpu_scheduler.pdf

    If you have found this device or any other useful post please consider the use of buttons useful/correct to award points

    Twitter: http://twitter.com/mittim12

  • Question about a repair time

    Hi all
    I bought satellite M40 of Toshiba HK (06/14/05) and go back to my country "Egypt".
    and facing problem for her, in Egypt and sent to the agent of toshiba of the Egypt they said need new motherboard, this was done on 25/07/05
    and until now, they don't give me any back feeding on the scheduled date to receive my laptop once again (one month, 2 or 3 months)
    and I don't know who I should talk to, so I can get my laptop always set
    anyone has idea... > pls answer me at [email protected]
    Thank you

    Hi Elijah,

    You will need to contact the Service Agent in Egypt to whom you have sent your laptop. It is possible that they had to order a new card of mother since your M40 was bought in another place if can have a different specification.

    I'm sure that if you contact them, they will be able to give you an estimate of when you should expect to receive your laptop.

    Good luck

  • I have a question about the time machine. I recently updated my Quicken 2015 and there was something wrong with the update. Can I go back in just the Quicken file and restore it until I downloaded the update do I have to restore the entire

    I have a question about the time machine. I recently updated my Quicken 2015 and there was something wrong with the update. Can I come back in all the Quicken file and restore from time Machine before I downloaded the update to do, I need to restore the entire computer?

    Yes, you can just restore this file or application. Use Time Machine to back up or restore your Mac - Apple Support

  • A question about the insertion of the localTimeStamp returned the value into a timestamp with time zone column

    Hello

    Oracle version: Enterprise Edition Release 12.1.0.1.0 - 64 bit

    OS: CentOS 4.6 X86_64                  

    I have a question about the localTimeStamp function. According to the documentation for this function is
    the same thing as current_TimeStamp except that the returned value does not include the time zone.

    Consider the following example:

    SQL > create table tmptab (colval timestamp with time zone not null);

    Table created.

    SQL > insert into tmptab (colval) values (localTimeStamp);

    1 line of creation.

    SQL > select t1.colval, tmptab from t1;

    COLVAL

    ---------------------------------------------------------------------------

    24 JANUARY 14 09.45.42.253732 H + 01:00

    SQL >

    Why introduce the foregoing did not fail? the data type of the column in my table colval expects a timestamp with time zone

    during each which inserts as I understand (correct me if I'm wrong) is not provided by the localTimeStamp function.

    Could someone kindly tell me what I misunderstood?

    Thanks in advance,

    dariyoosh wrote:

    Hello

    Oracle version: Enterprise Edition Release 12.1.0.1.0 - 64 bit

    OS: CentOS 4.6 X86_64                  

    I have a question about the localTimeStamp function. According to the documentation for this function is
    the same thing as current_TimeStamp except that the returned value does not include the time zone.

    Consider the following example:

    SQL > create table tmptab (colval timestamp with time zone not null);

    Table created.

    SQL > insert into tmptab (colval) values (localTimeStamp);

    1 line of creation.

    SQL > select t1.colval, tmptab from t1;

    COLVAL

    ---------------------------------------------------------------------------

    24 JANUARY 14 09.45.42.253732 H + 01:00

    SQL >

    Why introduce the foregoing did not fail? the data type of the column in my table colval expects a timestamp with time zone

    during each which inserts as I understand (correct me if I'm wrong) is not provided by the localTimeStamp function.

    Could someone kindly tell me what I misunderstood?

    Thanks in advance,

    Then, when you do

    create table t (neck DATE);

    Insert into t (to_date ('1st January 2014', ' mon-dd-yyyy "");)

    Are you surprised that it works? After all a DATE column contains a time component, you do not provide: but he

    works and gives you 00:00:00 as the component "hour".

    Similarly, the timezone component is being developed to automatically with, I think, time zone of your system.

  • Question about OWA scripts - how much time do need to run or not at all

    Just a question about OWA on Exchange 2010 scripts. I have a site and unique Exchange Server. I noticed that we have a powershell script scheduled in the Task Scheduler running daily that defines all the mailbox OWA strategy. This policy is defined in the EMC access client/organizational Configuration (EMC) tab.

    My question is... If the policy is already configured in the access client/organizational Configuration tab, should this powershell script run at all?  Not all new users get this strategy by default (since we have only one policy OWA) If you enable Outlook Web access on the mailbox of the user in the appearance of the mailbox tab?  My thought is that the powershell script and the calendar was just a postponement of the old Exchange 2003 for strategies for the OWA...

    Thank you.

    Hello

    Your question is beyond the scope of this community.

    I suggest that repost you your Question in Exchange for TechNet Forums.

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

    Or here:

    https://social.technet.Microsoft.com/forums/Exchange/en-us/home?Forum=exchangesvrgeneral

    See you soon.

  • Question about the interruptions and priming

    Hello

    I had a few questions about the startup and interruptions in a virtualized environment

    Assuming that, plenty of virtualization (no material assistance to virtualization of memory ).

    1 initialization: in an ordinary PC, the boot process starts with the BIOS, to expansion ROM, back to the BIOS and MBR secondary boot record, then grub (is it) and finally the operating system. In a virtualized environment with VMM running directly on top of hardware (Native VMM), how is the initialization of the different process, as I understand it takes BIOS-> Expansion ROM - > BIOS-MBR-> other record secondary-> VMM-> OS--> applications >. Am I right on that?

    2 breaks: VMM examines the source interruptions prior to the interruption, so in a multicore environment, assuming a 2 processor core, how the VMM decides on the kernel for which the interruption in intended, prior to shipment of the interruption. Interruptions are tag ID, said core ID?

    Thanks in advance

    -SC

    sidc7 wrote:

    1 initialization: in an ordinary PC, the boot process starts with the BIOS, to expansion ROM, back to the BIOS and MBR secondary boot record, then grub (is it) and finally the operating system. In a virtualized environment with VMM running directly on top of hardware (Native VMM), how is the different boot process, if I understand correctly to -> BIOS-> Expansion ROM BIOS-> MBR-> other documents-->--> OS--> requests VMM. Am I right on that?

    It is simplistic but essentially correct.  A metaphor would be a little better thinking that the hypervisor/vmm is an operating system, except that the process on this operating system are requests or comments OSes.  If the BIOS-> OPROM-> BIOS-> MBR-> hypervisor-> init process of the hypervisor-> reviews of fork () s operating systems.  This can become blurred by the design choices (for example Xen/Hyper-V init start a coded parent hard partition that makes hypercalls privileged to fork() guest OSes; ESXi init runs a very limited subset of applications directly on the hypervisor and ESX Classic is somewhere between these approaches).

    There is a subtle distinction between "hypervisor" and "www."  The "hypervisor" is the operating system of single root (e.g. ESX) who interacts directly with the hardware and has access to everything; a hypervisor is not to be used to run virtual machines.  When we talk about a "hypervisor", the tendency is to describe something which is a BONE (although usually a minimal OS designed only to run virtual machines).  The "www" is the layer that allows a virtual machine run: it provides the interposition, virtualization and emulation services and can be plural (for example a vmm by guest operating system).  Architecture of VMware deal with these two separate components, while most other virtualization platforms merge the two.

    sidc7 wrote:

    2 breaks: VMM examines the source interruptions prior to the interruption, so in a multicore environment, assuming a 2 processor core, how the VMM decides on the kernel for which the interruption in intended, prior to shipment of the interruption. Interruptions are tag ID, said core ID?

    Strictly speaking, the interruption is not transmitted to a guest operating system - receives the hypervisor (or rather the VMM it transmits to the hypervisor), the hypervisor drivers interpret the interruption (for example reading package of NIC, I/O process of HBA, the timer tick completion), then after a new appropriate break in the guest OS.

  • About a month ago I posted a question about iMovie and not being able to "share". I solved the problem thanks, so no more emails!

    About a month ago I posted a question about iMovie and not being able to "share". I solved the problem thanks, so no more emails!

    Hi Michael,

    If you want to stop receiving notifications by electronic mail, in the thread, that you have created, then I suggest that you follow the steps below:

    One time connected to the Apple Support communities, visit your mini profile and select manage subscriptions.

    Content

    To manage this content, you are currently subscribed and changing your preferences, select the content.

    Select next to see what content you are currently following.  Note that any thread you are responding you subscribe you automatically to this thread.

    You can select to terminate a subscription to a thread.

    Learn how to manage your subscriptions

    Take care.

  • A few quick questions about the Satellite P300 - 18 M

    Hello

    I am about to order a Satellite P300 - 18 M and have just a few questions about this:

    (Although these may apply for other similar Satellite/Equium P300.)

    Is the touchpad made by / to use the Alps or Synaptics driver?

    It has the Wireless N network card, is the map made by Intel or Realtec?

    And also, someone has experience with face recognition software to connect?

    If so, does it take a lot of time to initalise?

    Thanks in advance,
    Jack

    Hello

    The P300 - 18M belongs to the PSPCCE series.
    It uses the two touchpad drivers. Synaptics & Alps Electric
    There is an Intel 802.11agn minicards WLan installed

    The face recognition is a nice tool but local to be illuminated and you must take your face the right of the post sometimes it of not very easy

    But if you face is recognized correctly that the connection should work properly

    See you soon

  • Satellite L650-11R - a few questions about this

    Hello there :-)

    I have a few questions about my new L650.

    I've never had Toshiba notebook before so I apologize if some of these "quirks" are actually quite normal on this laptop. I really want to hear the views of other users L650.

    1)
    First of all, by the time I turned it on I saw gradient thin (1-2 mm) along the right edge of the screen that goes from the bottom up. Maybe "degraded" isn't the right word, but it seems that since two or three pixels are kind of discoloration or lose brightness/sharpness to the edge along the straight bezel. It is not really that visible, looks like the colors are desaturated a bit here or brightness is a bit lacking. He can be seen everywhere (bios or no color in Windows, but better in the lighter background).
    The left side (or other) seems ok, all this along the right edge is somewhat suspicious. If one can compare? I don't know if it's something to worry about or is just supposed to be like that.

    2)
    The other thing I noticed heating of the processor (Intel i3 330M) and GPU (ATi Mobility Radeon 5650). It's pretty hot here right now (I would say that the temperature is around 28 degrees Celsius when using cell phones). He is sitting on the hard surface (table) and nothing is blocking the vents.
    However, at "rest" (surf the web & regular light stuff), average CPU temp hovers around 58 ° C. It usually goes from 45 to 62 in just a few minutes after starting, and then I can hear and see (Toshiba PC Health Monitor) evacuate the kicks in. Temp goes back to 50 +, event stops and then the temp rises to 60 + until the vent is used again.
    During load full (Prime95 or some games), CPU is going all the way up to 75 degrees (the highest being 77). Fan runs at 75 to 77% during this time, never go faster.

    GPU idling is usually around 5 degrees above temp CPU (62-65). During full load (for example. Benchmark of Far Cry 2), I see a lot of stuttering with the latest drivers Catalyst and DX10 (not sure if the stuttering has something to do with heat), otherwise it is ok (no artifacts or anything like that). Temp of GPU during the loading goes up to 74-75, fan speed is locked at 30%, the frequency of the heart 5650 is 450 MHz. left side of the laptop (vent and below) is pretty hot, while the keyboard is warm (or slightly warmer who who).

    These time seems correct and safe in the long term? I'd rather events works all the time (they aren't really very strong) and keeping time less than 50, but there are just wishful pious bios control events and I can't control not the bios. :-)

    3)
    This is just General related products. :-)
    Official specifications of Toshiba L650 say ATi 5650 (between other low range GPU), but I saw a few specifications calling for there 5730 (same model 11R). Is there really a Satellite L650 with ATi 5730 GPU models?

    Sorry for the long post, I tried to include the best possible description that I could do. :-)

    Thank you in advance.

    Thanks for the additional info!

  • Question about temperature internal Satellite A300 ND1

    Hello

    I have a question about the temperature of the standards it of ok for my laptop and what is the normal temperature and how can I keep it low?

    Thank you.

    Hello

    It's not easy to say what a normal temperature could be.
    The temperature is not always the same and it depends on the use of the laptop.
    Usually, the temperature would increase while gaming or running applications high performance. Why? Because all devices such as the CPU and GPU would focus the heat dissipation and this leads to a higher temperature.

    > How can I keep it low
    Very simply, you can keep still low level, but you can make sure there is enough free space around the laptop to ensure good air circulation.
    Also don t use the laptop on your knees etc in order do not obstruct cooling fans.

    It s also advised to clean the fans from time to time using the jet of compressed air. These sprays are really useful and could buy in the stores of different computers.

  • Question about partitions on Equium A100-027

    Hi all!

    I'm new to the forum but have been hidden for a while and he thought at the time that I said "Hello".

    This and the fact that I have a question about my laptop Satellite A100-027.
    The hard drive on my laptop seems to be divided into three partitions = Vista (c) / data (E :) / WinRE (d) with the WinRE (D :) is quite small but others, quite large.))

    My C drive is up to 3 that GB free with about 35 GB of free data (E :) is possible to merge these two to give me a big drive? And if so, how?
    Please excuse my ignorance, but it seems impossible to me to "get my head around" this thing hard drive and would split the a large hard drive.

    Any help would be greatly appreciated and once again, Hello to all.

    Hello

    As the user previous already said, you can manage HARD drive partitions in disk management settings.

    If you n t want to have a data partition (e) then you can try to delete it in disk management.
    Then you can add this empty space of the HARD drive for other partitions on the HARD drive.

    But note; the empty space will be placed at the end of the HARD drive. I don't know if your C partition is placed as a second HARD drive partition, but if so, then it should be no problem to add empty space to partition C (System) of m.

    Concerning

  • Re: Several questions about the recovery of the Satellite L750 features

    I have several questions about the recovery of Satellite L750 features available to it. Any help and answers would be useful.

    (1) when I started the laptop first, he asked me to create a recovery CD incase I need to reinstall the operating system. But he also said that he built in the recovery partition, so therefore, I have to make a recovery cd or not?

    (2) will be the recovery CD is exactly the same as the recovery on the system partition?

    (3) is the partion of CD or recovery includes all the integrated software pre-installed with the laptop?

    (4) also in the device manage management it shows watch partion recovery but it is empty, is it true?

    (5) in the second partition (drive D) system, he has a record with what looks like the recovery of files and folders. Is it safe to move/remove it?

    Hello

    I'll try to provide answers:
    1 - to ensure that everything works perfectly you don t need these discs, but if something goes wrong with the HARD drive you will not be able to do anything. When you have the recovery DVDs, you will still be able to install the recovery image and once again the factory settings. So my advice to you is: create these discs as soon as possible. Use only on DVD-R media and buy products of high quality (TDK or Verbatim).
    2 - Yes.
    3 - Yes.
    4 - No. Don t be confused with this.
    5. in a first time create restore DVD, and later you can do what you want. I put t know which files mean you but don t touch anything before that of the recovery disks to be created.

    In the past, many people have been experimenting with the structure of HARD drive and partitions and later was surprised when installing disk recovery HARD has been damaged. Don t make the same mistake.

    If you have any other questions you are welcome.

  • Question about "Windows 8.1 DG to Windows 7 Pro 64-bit" and Windows product key

    I have acquired a recnet ThinkPad T450 fdrom a retialer online (NCIX) and I hav ea a few questions about the installed Windows operating system.

    Before I just go further, HRE are some information about my particular system.

    Lenovo ThinkPad T450

    Model: 20BV00BUS

    CPU: Intel Core i5-4300U

    RAM: 4 GB

    Under the product description, it was stated "Windows 8.1 DG Windows 7 Pro 64." My understnading, the ThiknPad has been installed with Windows 8.1, but downgraded to Windows 7. There is also a Windows 8 Pro badge sticker at the bottom of the matchine.

    Is it possible, at the end of the user/consumer, to alter the functioning ti repressive back Windows 8.1?

    Can I create a recovery with Windows 8.1 disk?

    A separate but related matter relates to the Windows product key.

    I noticed the Ultrabook do not come with a sticker / label with the Windows product key (i.e. COST). Some quick research indicated that the Windows key is programmed into the BIOS.

    This indeed true (I wish an audit)?

    The key is visible in some way (for when you need to reinstall the operating system. I have not tried to enter the BIOS at the moment)?

    Thank you for taking the time to consider my question.

    Kind regards

    Victor L.

    Hi Victor,

    I'm in the same boat as you type, but want to keep the facilities of Windows 7 rather than pass them to 8. Just like you, I buy our Lenovo from different retailers and they come with windows 7 installed through the Windows 8 lower upgrade program.

    We had one or two laptops come with a recovery media (for windows 8/8.1 only) but have noticed that all laptops now come with no physical media or codes for the recovery. WIN8 stickers, you described is more came with the license key on the sticker (it comes to stop you using the same license again and again, microsoft will get more money if you buy another license etc.). I also saw that the key is essentially located in the BIOS but were not able to test what we use any of windows 8. I use it even at home!

    To answer your question, you can get a recovery of Lenovo for Windows 8 media!

    Go to the following link: https://support.lenovo.com/us/en/lenovorecovery

    (It help you understand why this method is used on this page as well)

    Select Start,

    Please have your serial number of your laptop, (to find it go to this link: https://support.lenovo.com/us/en/find-product-name)

    If you qualify (which you will very probably) Lenovo will ship for free, recovery disks give it a go, took me 2 minutes.

    I hope this helps.

    Best regards, Max.

  • Questions about Satellite P10 554

    Hello

    I have 2 questions about my P10-554. I read on this forum but can't find anything that helps out me.

    First of all:
    When I try to turn the unit off after working, using even the closing of xp function or the power button, windows normally quit, but when it needs to turn off just reboot again. If I repeat the closing down directly after this restart, normally it turns off.
    This problem occur only when I use the power supply in battery mode.
    I can't say that to me...

    Second:
    I have a mini PCI Wlan card for my unit, works very well, but I wonder if it is possible to get the Wlan switch switch work whith it? Or is it only possible whith some special maps? It is not so important, but it would be nice to know if there is a trick or something to get the switch used.

    Best regards
    Gabbagandalf

    Hello

    Regarding your first question;
    I'm a bit confused of m are sure you n t use the restart option?
    I never noticed anything like that on my laptop

    Usually, if I use the Shut down option, I can choose between standby, hibernation, restart and shutdown. If I use the stop that the laptop turns off as it should.
    Maybe it's time to s for a reinstallation of the OS?

    On the second question.
    The switch on the left side for laptop was designed and developed to pass on the WLan card antenna.
    Usually, you should be able to use this switch and to toggle WLan card functionality

    Don t understand why it should not work?  :|

Maybe you are looking for

  • ITunes recent upgrade problem

    Since my last update to iTunes on my PC Windows 7 v12.3.3.17, I lost all my links to iTunes Libraries i.e. my music (all the imported music from CD;) All my purchased Apps and books; no longer displays none of my game lists for several iPhones and de

  • Satellite M30X-161: Pro House

    Dear gentlemen/ladies, I just bought a laptop Satellite M30X-161 (yesterday). The installed operating system's default Windows XP Home Edition.Now I have 2 questions:(1) do I need a Windows XP Service Pack?(2) I have Windows XP Professional too. Is i

  • Satellite A100 - WXP Recovery DVD Installation via USB

    Hello I have a laptop Satellite A100 and the DVD drive no longer works. I don't want to waste money on an external DVD drive. I want to install the recovery from a USB device. I copied my recovery disk image and saved as ISO. My window of recovery of

  • Need help to upgrade graphics card on HP Pavilion A262N

    This office has a 8 x AGP port and supplied with a video card NVIDIA FX 5200 which still works fine but was eager to put performance before AGP cards level reach hard to find.  Bought a card Visiontek Radeon HD2400 PRO AGP from Newegg that my so-call

  • Problems loading the updates of Windows 7 Home Premium

    Hi, I'm new to this Yes please forgive my ignorance. I was very happy user of Windows 7 Home Premium for quite awhile and updates of the software always loaded without any problems. Recently, I made a BIG mistake by taking advantage of the free upgra