What is the oracle function should be used?

Hi all

I use oracle 10g.

create the table:
 
create table testing (
modalnumber  number)
Insert:
insert into testing values (-144.99)
insert into testing values (-44.99)
insert into testing values (44.99)
insert into testing values (144.99)
insert into testing values (449)
insert into testing values (3)
insert into testing values (-3)
select * from testing;
output
MODALNUMBER
-144.99
-44.99
44.99
144.99
449
3
-3
power required:
* the output field should be 14 bytes
* '-' should be at the top if the line contains a negative value
* two digit decimal needed
-0000000144.99
-0000000044.99
00000000044.99
00000000144.99
00000000449.00
00000000003.00
-0000000003.00
Thanks in advance
select to_char(modalnumber, '0000000000.00') from testing;

Tags: Database

Similar Questions

  • My laptop stopped recognizing wireless function. What drop-down list function should I use to get it to recognize wireless again?

    My laptop stopped recognizing wireless function.  What drop-down list function should I use to get it to recognize wireless again?

    Hello

    What is the brand and model of your laptop?

    Follow the suggestions and check out them.

    Method 1

    You can follow the procedure in the article.

    Enable or disable a network adapter

    http://Windows.Microsoft.com/en-us/Windows-Vista/enable-or-disable-a-network-adapter

    Method 2

    Windows wireless and wired network connection problems

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    See also:

    Network adapter problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-adapter-problems

  • LastPass is offered by Firefox more? Is MaskMe the new suggestion? These two Add ons do the same? What is the best, or should I use both?

    When I generate a password in last Pass a window of MaskMe asking if I would like to generate a password. I was used to using the last past MaskMe was suggested by Firefox, so I added it. Is - this redundant? Is it better or should I continue to use last Pass? With all the concerns about security, I want to do the best.
    Thank you

    Hey - I'm Abine, the company that makes the MaskMe. Micro got it right, but I thought I would chime too.

    LastPass and MaskMe have very similar characteristics when it comes to the storage account, auto-fill, and passwords. We have also enhanced security where the company cannot see or access your master password because it is stored locally on your device.

    However, MaskMe has a set of features more wide that goes beyond the management of the accounts and connections to let you use the web without giving your real contact information.

    • It allows to create aliases (or hidden) email addresses that advances in your actual Inbox, allowing you to block spam in 1 click
    • You can also create alias phone and credit card numbers, so you can buy things or give your telephone number without dealers or traders who your real info

    It all comes down to what you're looking for. LastPass is great at what he does, and so is MaskMe, but MaskMe covers several areas of privacy online if you are worried about it.

  • What is the right plan should I choose? Individual or a company?

    I'm a freelance graphic designer, entered in the register of companies in my country. I work alone and I want to sell my creations to my clients without violating the laws. What is the right plan should I choose? Individual or a company?

    Sorry for my ignorance, but I want to be sure before you pay anything.

    Is someone can answer me? Please

    All plans (including teachers and students) can be used for commercial work.

    Solo freelancers may register at the individual level. You get 20GB Adobe Cloud storage (optional if you use it or not. It is not mandatory. I have not). You get a license (up to two activations) by Adobe ID.

    Really plans to conveniently, to deploy and manage multiple licenses of seat from a central console. If employees come and go, you can cancel and to redeploy their license easily.

    In addition, you get 100 GB of Cloud storage and premium support. If none of this is important to you, try first the individual plan.

  • How and what are the steps we should take to WFERROR trap notifications?

    In applications of R12.

    How and what are the steps we should take to WFERROR trap notifications?

    Please see these documents.

    How to purge WFERROR (System: error) the elements of workflow? [804622.1 ID]
    How to remove the list of tasks [ID 357904.1] error Notifications
    Speed up and purge Workflow [ID 132254.1]
    A further review of the competitive program Purge Workflow Runtime obsolΦtes [337923.1 ID]
    The SYSADMIN user gets thousands of Notifications WFERROR [ID 1299167.1]

    In addition, please see old threads that deal with the same subject - http://forums.oracle.com/forums/search.jspa?threadID=&q=Purge+AND+Workflow+AND+Error&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001

    Thank you
    Hussein

  • What are the supported items when you use multiple suites?

    Hi all

    I created a plugin that sends the current path to a url,

    his work very well with debugging in Visual studio 2005 and then it is added to the Adobe Illustrator work only once.

    Its transmission, the path is that for a single file. While I was trying for the second time its does not work

    I use more costumes in my plugin

    AIDocumentSuite

    AIFilePathSuite

    AIActionManagerSuite

    AIUnicodeStringSuite

    AIURLSuite

    I use the "'AIURLSuite ' to call the url and calls the url several times while its used only and its only works once with multiple suites. "

    What are the supported items when you use multiple suites? It is necessary to release all the variables and the suites after completing the task?

    Should they come out in the same order in which they are acquired?

    Thanks in advance

    Farida kaid

    As far as I know, there is nothing forcing you to unleash in the same or in front of the order in which you have acquired in. Frankly, in our plugin gain us once, then lock the plugin to prevent it from unloading and don't release suites when we finished. That said, as far as I know, you should be fine to learn/work/output several times.

  • What is the best HDMI switch for use with Apple tv 4

    What is the best HDMI switch for use with Apple tv 4. I heard some do not work and the automatic switch has problems because Apple tv is still using power?

    I installed on a cutting and not because the automatic switch works because it isn't always. It came with a remote control that is almost as good, so don't mind the fact that automatic switching does not work well. The reason why I chose cutting is because it was the first device that gave me the good picture and sound quality with my AppleTV, the Xbox 360 and the PS4. (Don't ask!)

  • What are the advantages and disadvantages of using iCloud drive (or other Cloud services) compared with iTunes game against external hard drive, Solid State etc. to store my songs iTunes, playlists, ratings etc?

    First question: what are the advantages and disadvantages of using iCloud drive (or other Cloud services) compared with iTunes Match against Solid State external hard drive etc to store my songs iTunes, playlists, ratings etc?

    Please let me know what are the alternatives for storage of my songs, playlists, song etc. other than iTunes game ratings ($ 24.99 / year)?  Is there a way to store all my songs with my song ratings, playlists, etc. with a CD song quality? Most of my (currently 130 GB) songs on my computer are CD quality that I prefer to keep as well as my notes of each song (i.e. 5 * vs. 4 * etc.), playlists, groups (music, classical, popular, country etc.).  What are the advantages and disadvantages to store my iTunes songs while CD quality with my personal notes, reading lists, groupings in the cloud?  ICloud of Apple Drive ($ 2.99 per month or $36 / year for 200 GB) would be the best way to automatically update and maintain my rankings iTunes personal including the future editions of the song etc or using Amazon, IBM, Microsoft etc cloud or an external hard drive SSD would work as well and maybe cheaper?  I currently have my iTunes on a PC of 2007 with vista (I use a 1 8T Western Digital external upward by car for my personal info all over HP, songs, photos etc. which is currently close to 170 GB) but also have an Apple i-phone 6 & I Air cushion.  Although I did not need to have all of my music with all their sides, etc. available on all of my devices at all times as iTunes game, I still would have easy access to information on both my PC and my iPhone or iPad?  Thank you.

    In my opinion?

    I back up my data to an external drive for several reasons.  The first is my data - if I put on the cloud, someone else has control over it, they can see what I have and change the preferences to what they see of marketing.

    Almost as important as that - if I had to rely on the cloud whenever I wanted to update my playlists on my phone, I need a better internet connection I have now (working at sea).  To get the best out of the cloud, you need a solid link to home, work or mobile.

    As a spin-off - I hate the fact that Apple take away a feature in their software updates and then allow an app to be sold in their store to replace this feature - or worse still, some features that were available before the updates are now "cloud only."  And Yes - you have to pay for the cloud.  I like most of the people do not appreciate the 'accomplished fact. "

    From the back of the external hard drive ASI downside, is that to be safe, you need to store outside in a separate computer place.  If keep you them together, if one is lost, probably, they are both.  That is to say for me a full backup before you travel, then a new upward as soon as I go home.  Downside is how much data may be lost between the two back ups if I needed to restore.  For me, its worth the risk.  If I was away and say had bought a ton of new music and couldn't go home anytime soon, I can always head to the store and buy a new external drive, they are massively expensive.  Even if my computer has to go for repair and my remote is to halfway around the world - I want to buy a new one.

    Now, some will say that once you buy a new external, you spend more than you would on a cloud subscription.  It's true, but in the 6 years following the purchase of Mac that I've only had to buy a new external once - so with a little luck and planning - it works.

    I left took well - I am not a subscriber of cloud, nor do I want to be.

  • What is the best Instagram app to use on a Mac book pro

    HHey guy

    What is the best App Instagram for use with MacBook Pro I downloaded two and they do not have the possibility to edit and publish on your profile

    Which two you already have, jackie?

  • What are the best export settings to use for a video posted on facebook

    What are the best export settings to use for a video posted on facebook?

    I used the H.264 > Vimeo HD presets in Media Encoder with excellent results.

    Thank you

    Jeff Puler

  • What is the best operating system to use adobe creative cloud?

    Hello

    I would like to know if the windows operating system can be use as mac for adobe creative cloud or the suite. What is the best, or if there are functions that cannot be done by MS-Windows or Mac

    Thank you

    Hi Michel,.

    You can use creative Cloud on the two platform (Mac/Windows), it can be used on cross-platform.

    He just your system should meet its requirement.

    Please check the link below to see the system requirements for cloud creatives-

    System requirements | Creative cloud

    Creating cloud 2015 OS Support

    Kind regards

    Sandrine

  • What is the best piano keyboard to use with a macbook air?

    Hi all:

    I would like to know what piano keyboards do you recommend to use with Garageband AND recording via my Macbook Air. I would have preferred a keyboard with many features - modulation of pitch, a good Bank of sounds, at least 6 titles, etc. I know I should have a MIDI output to work. I think maybe a CASIO, YAMAHA or maybe a BERRINGER. Can help you guys?

    Thanks a bunch!

    Rachael

    I have no preference, but try to get a compatible keyboard class requires no drivers to install, or there's plenty wrong with each update of the system on your Mac.

  • What is the picture size should be for slider full screen

    What is the size in muse is an image must be at work to go to the page on the slider full screen.

    You should optimize the size of the image accordingly, there are no definitive rules for image resizing, but it depends on how you use those.

    Please see this:

    http://TV.Adobe.com/watch/learn-Adobe-Muse-CC/optimizing-graphics-assets-in-Muse/

    Thank you

    Sanjit

  • You must return the value of the Oracle function in VB Code

    Hi all

    I have the oracle APPTIDFUN (WHO RETURN NUMBER) function, I need to call in the VB Code. (Here's the code)

    --------------------------------
    If Msg2 = 6 Then
    Dim RS As New ADODB. Recordset
    Dim SQL As String
    RS. Open "appointments", CN, adOpenDynamic, adLockPessimistic
    RS. Find ' patient_id = ' "& str1 &" "'". "
    If RS. When the EOF
    RS. Find ' Appt_start_Date = ' "& str3 &" "'". "
    If RS. When the EOF
    RS. AddNew
    RS ("patient_id") = str1
    RS ("Appt_type") = str2
    RS ("Appt_start_Date") = str3
    RS ("Appt_end_date") = str4
    RS ("Num_days") = str5
    RS ("Total_Amount") = str6
    RS ("Inv_Number") = str7
    RS ("Approval_status") = str8
    RS ("NUM_WATCHER") = str9
    RS. Update

    ------------------------------------------------------------
    I want to call the function from oracle here that in the above code

    RS ("Appt_id") = < value of function >


    Please do the needful.

    Abdul,

    You need to change the line

    RS("Appt_Id") = RS1
    

    TO

    RS("Appt_Id") = RS1(0)
    

    Kind regards

    Manu.

    If my answer or the answer to another person has been useful or appropriate, please mark accordingly

  • I want to manage my web isa with isa server management.help me how do I make and the port that should be used?

    I have an isa Server 2006
    I want to use the vpn connection and and limit internet access bandwidth:
    1. suggest a pdf for learning about this
    2 - to use web isa management utility which port should I use?

    Ask in the forum ISA Server:

    http://social.technet.Microsoft.com/forums/en-us/Forefrontedgegeneral/threads

Maybe you are looking for

  • Firefox won't open - taskbar icon looks active but won't display

    Firefox does not open on the screen. The icon in my tray tasks shows a window, but the window does not open the monitor. I can RT. Click the icon and select Refresh, or maximize but no help. I'm under Win10. It also will not open on the screen when y

  • Problem with my Hp G42

    Hi, I have a HP G42, processor i5 and 4 GB of RAM. I was faced with these 2 problems lately and I would like to know if there is anything I can do to solve it. 1. the laptop like computer souds a turbojet is will take off ~ surprisinbly force. When I

  • Office documents are not on My Documents not recent since Visio 2010 Beta install

    I installed Microsoft Office Visio 2010 Beta for testing.  Since I did, Office No. documents on my Start --> Documents (Classic) or Start --> my recent documents list.  No other files, such as PDF and images (.jpg and .gif) are listed, just no Excel,

  • want to 5530: electronic address assigned to my printer was not found

    Hello This is a crazy question, but I'm new to this... I've just hung up my new printer and in the process, I assigned an email address to it. It works very well. But I can't remember what was the address, does anyone have an idea where to find? I ch

  • Cross fades lassen sich nicht copying und einfügen EIB .mts clips

    Hallo,EIB .mts Clips und vereinzelt EIB .mov Clips (vor allem bei clips, welche cut wurden) lassen sich nicht und einfügen unter Bearbeiten Punkt ist der copying cross fadesEInfügen dann ausgegraut!Warum?Welche Gesetzmassigkeiten liegen dem copying /