How can I convert Float numbers which are represented as 'E-05' to full precision

I have over 6,000 records which all have 'E-05' in the field.
It should actually be full precision, such as:  0.000046793055472781
How can I convert all of these?  There are around 600,000 records in the whole table, so I only want to convert the 'E-05' records.  For some reason these are incorrect, but all the others are totally fine.
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

If they are float values, they have the full precision you can get with a float value.
Keep in mind that what you see in management studio is a textual representation of the value. It is not the value itself. A float value is stored as 53 bits of mantissa and an 11-bit exponent which is a power of 2.
To view the value without the exponent, you can cast to decimal, although this will give you a slightly different value. You can also use the str function:
DECLARE @f float
SELECT @f = 0.000046793055472781
SELECT str(@f, 20, 18)
However, formatting of the value is best done in the presentation layer. You should not change the data you have in the table. But if the source is actually exact decimal values, maybe you should use a decimal data type instead.
Erland Sommarskog, SQL Server MVP, [email protected]

Similar Messages

  • How can I send scanned files, which are documents changed from doc to PDF, as documents that can be edited if the recipient doesn't have Adobe capabilities?

    How can I send scanned files, which are documents changed from doc to PDF, as documents that can be edited if the recipient doesn't have Adobe capabilities?

    Hi flaviusjack,
    If you still have the .doc files, it might be best to send those to your recipients so they can be edited. Otherwise, you can use ExportPDF to convert the PDF files back to .doc format. But, again, that step would be unnecessary if you have the .doc files.
    Best,
    Sara

  • Itunes was reinstalled on my MacAir and in the process my playlists disapeared. How can I sync theses playlists which are still on my Ipod back to the iTunes library? PS: these are not purchased from iTunes, they are my own cd's.Thanks.

    Itunes was reinstalled on my MacAir and in the process my playlists disapeared. How can I sync theses playlists which are still on my Ipod back to the iTunes library? PS: these are not purchased from iTunes, they are my own cd's.Thanks.

    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • How can i convert  my invoice which is in smart forms to xml file

    how can i convert  my invoice which is in smart forms to xml file.

    Hi Anil,
    Please go through this link:
    1. XSF stands for XML for Smart Forms. It is important to contrast XSF with .... The eDocx script engine can provide a script to convert the file format to an 
    http://www.ossincorp.com/Black_Box/Black_Box_4.htm
    please rewrds if found helpful.
    Regards,
    Alok

  • How can I find the profiles which are not in a role

    Hi all,
    how can I find all profiles which are not used in a role. Its important for a security check.

    Hi Stefan,
    you do one thing use the transaction SUIM
    SUIM>>Profile>>By Roles
    give all the role name and execute you will get roles with profiles
    and extract to excel sheet
    to get only profiles
    suim>>profile>>by profile name or text give * and execute
    and extract in excel sheet no compate profile coloumns get the profiles which does not there in any roles
    hope ds helps
    thanks
    kishore

  • How can we find delivery documents which are not goods issued?

    Hi All,
    How can we find delivery documents which are not goods issued?
    Thanks in advance

    hi,
    please check in VL06O.
    there will be plenty of options on the same.
    you are requested togo for push button FOR GOODS ISSUE from there u will go to VL06G only
    your requrient will be satisfied.
    regards,
    balajia
    Edited by: balaji timmampalli achari on Nov 11, 2010 12:39 PM
    Edited by: balaji timmampalli achari on Nov 11, 2010 12:40 PM

  • How can i restore the files which are important to me which i suddenly delete the files in download?

    i nid to restore the file which i suddenly delete in download.. i was about to delete the files which are not important but i suddenly delete the files which are important... how can i restore it??

    Check the Windows recycle bin, you may be able to recover the files from there. Right-click on the recycle bin icon on the desktop and select Open. This will open Explorer, if the files are listed there, right-click on them and choose Restore.
    If the files are not in the recycle bin, you can try a file recovery utility such as recuva - http://www.piriform.com/recuva

  • How can I convert a Numbers '08 spreadsheet to Numbers 3.0 without purchasing Numbers '09?

    I have a spreadsheet that I created in '08 when I purchased my first Macbook Pro.  I'm a truck driver and through the forum, individuals help me create a spreadsheet that I use for calculating pay.  My previous MB is down and out.  Just had barely enough energy on my battery that won't hold a charge to power up and save the spreadsheet to a thumb drive to move over onto my NEW MB.  Numbers will not open it stating the spreadsheet is to old.  Is there any way I can get the old spreadsheet saved to a newer version of numbers without purchasing Numbers '09.  I just bought a NEW MB YESTERDAY!!!  Now I have to fork out more money for an app that I have, but, don't have...  I didn't have issues of this sort with Microsoft, thus I would have not even considered an issue like this with Apple...  SMH

    El Capitone wrote:
    Thx Jerrold for responding...  I purchased it from Best Buy...  I contacted Apple Support and they said to "purchase" iWorks 09...  Researched some more after I posted my question, and found that individuals are having problems even with purchasing iWorks 09 and saving the old files to 09 to convert to Numbers 3..
    El,
    I've not heard of this problem. This is what Wayne just did fort you, and I've done it for others. It is important to run Software Update immediately after installing iWork '09 from disk, even before launching the program because Mavericks won't run it without the updates. If I were you, I'd get iWork '09 even if I had to buy it because it's the more capable version of the app.
    Jerry

  • How can I copy mp3 files which are already located by itunes to the actual itunes folder?

    Dear all,
    I would like to transfer my whole itunes library to a new computer. I know that this can be done by copying the whole itunes folder on the old computer (if you want to keep all the data of the itunes files). However, I have a little problem. Since I had a long period in which I did not download music from itunes or I got music from others, most files are not in the itunes library folder. I kept them in many different folders all over my hard disk, because it is a quite big collection from the past decade orso. In that time, I just dragged the files to itunes, so itunes can now locate them. They are not in the actual itunes library folder though. Is there a possible way to let itunes locate the files (it already has the locations) and put/copy them in the itunes library folder?
    Thanks in advance!!

    With these options selected in Edit > Preferences > Advanced:
    select File > Library > Organize Library...  When you get this prompt:
    check the Consolidate files box and - if not greyed out - the Reorganize files ... box, and click OK.  iTunes will then copy any media files that are not stored in the iTunes Media folder structure into it, so that you can then copy the complete iTunes folder to your new computer.

  • How can I convert a numbers' file from iPad to an excel file on macbook pro?

    When I try to open a numbers file from my ipad mini in macbook pro, it appears unformated. How can I solve this situation? I don't have numbers on Macbook pro...is it necessary?

    I havne't had this problem myself, so I can only guess, but my first suggestion, if you haven't already, is to try sending it to yourself via email from the ipad & when it asks you for the format, choose excel.

  • How can i check the devices which are connected with my AirPort Express?

    I saw an unknown device in the app 'Who Uses My Wifi?', how can i check it through AirPort Utility and can i remove this device by the app?

    Open AirPort Utility
    Hold down the option key on your Mac while you double click the picture of the AirPort router
    Currently connected wireless ciients will be displayed
    Don't forget about the wireless printer you might have, baby monitor, wireless thermostat and other items that connect using wireless. They will appear on your check.....not just computers or iPhones, etc.
    If you have 3 wireless devices, and you see 4 devices connected, you may have an unwanted guest.
    If you are using good wireless security, like WPA2 Personal, and a good password, it is extremely unlikely that another device will be on your network

  • How can I convert a numbers spreadsheet into a dynamic web form?

    Id like to convert my numbers spreadsheet to a dynamic web form. Can't seem to see a way.

    Not possible with Numbers.  You may submit feature requests to Apple by using the menu item "Numbers > Provide Numbers Feedback"

  • How can I separate 2 ipads which are on the same account?

    I have an ipad and my husband also recently bought one.  Unfortunately my son set my husband's ipad up on the same account as mine so we now have exactly the same music and photos on both plus my Gmail account is sending the messages to both.  How can I separate these now but still carry on using the same laptop?

    You will have to transfer the ringtones from the phone that has them to your iTunes library.
    File>Transfer Purchases.
    Then you can sync them to the other phone.

  • How can I convert Bigint value which produced with Timespan?

    Below from MS SQL, tResultTime's datatype is Bigint
    Below from my C# project's UI and I need to get a result like "Elapsed Time".  How can I get that?

    CREATE TABLE Timing (
    StartTime DATETIME
    ,EndTime DATETIME
    ,ResultTime BIGINT
    ,ElapsedTime VARCHAR(20)
    insert into Timing (StartTIme, endtime) values
    ('2014-11-20 14:35:42','2014-11-28 14:36:15')
    DECLARE @MyNullTime TIME
    SET @MyNullTime = '00:00:00'
    SELECT StartTime,EndTime
    ,DATEDIFF(MILLISECOND, starttime, EndTime) AS 'tResultTime (MS)'
    ,cast(DATEDIFF(HOUR, starttime, EndTime) / 24 AS VARCHAR(5)) + 'day(s) '
    + cast(DATEADD(SECOND, - DATEDIFF(SECOND, EndTime, StartTime), @MyNullTime) AS VARCHAR(8)) AS 'Elapsed Time'
    FROM timing
    -Vaibhav Chaudhari

  • How can I fetch the deliveries which are PGIed but not invoiced.

    Hi
    I want to search for the deliveries for which post goods issue has been done but are not invoiced.
    Kindly guide with you valuable comments.
    Regards,
    Satish.

    Hi,
    Use the T.Code:VF04.
    Goto T.Code:VF04
    Enter the Sold-to-party.
    Select Delivery related tick mark and uncheck all.
    Execute.
    It will give all the deliveries which are PGIed but not invoice.
    Regards,
    Krishna.

Maybe you are looking for