Solved

How do I add a double data type column to a table?

Posted on 2008-06-18
3
1,394 Views
Last Modified: 2010-04-21
I need to store double numbers into a table such as  "3.35E+178" , "5.88E+307", "1.5E-06 "what is the best data type to store them? I was thinking about double I am not sure ho to do it.
0
Comment
Question by:rbmacct
3 Comments
 
LVL 8

Accepted Solution

by:
Yiogi earned 125 total points
ID: 21817229
sql float. Thats equivalent to double. There is no double in SQL. Real is equivalent to float in C and float is equivalent to double in C
0
 
LVL 8

Expert Comment

by:sbagireddi
ID: 21817243
Float or real data type.

Check sql server books online depending on your range.
0
 
LVL 1

Author Closing Comment

by:rbmacct
ID: 31468576
Thanks.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
format nvarchar field as mm/dd/yyyy 4 71
Following an example - removing duplicate strings 4 55
Table create permissions on SQL Server 2005 9 41
Sql Server group by 10 29
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question