473,406 Members | 2,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to decide optimum type

Hi,
I use sql server 2005. I want to store values into a field. The values are floating point numbers. A value in the field can only be in the format of #####.### like 12345,678.

So i want to learn which type i should use for this field to provide better performans and memory improvement. Should i use decimal(5,3), float, number or anything else?
Aug 20 '09 #1
1 1223
ck9663
2,878 Expert 2GB
Depending to a number of factors, including max and min value of your content, the number of records of your table, to assess your table size, etc...

You can start from here

Good luck!!

-- CK
Aug 22 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Boris ©avc | last post by:
What would be the optimum code for replacing string "xxx" with "yyyyyyy" in a file? (maybe with str_replace function?) Thanks, Boris Savc
13
by: usgog | last post by:
I need to implement a function to return True/false whether String A contains String B. For example, String A = "This is a test"; String B = "is is". So it will return TRUE if String A includes two...
0
by: Nicolas STAMPF | last post by:
Hello, I've just read documentation for both packages, and I can't seem to decide which one to use. I have some simple database things to do, but I'd like to have my code prepared for...
14
by: Sanjay Minni | last post by:
What is the datatype to be used for Primary Key columns for most optimised access given that - There will be a single column primary key only - The values will only be integers (but as...
0
by: Used Cisco at Optimum Data | last post by:
9-29-04 Thank you for this opportunity to work with you again, I really appreciate it. Here is a list of our current specials: 3662 128DRAM, 16 Flash, AC $4900.00 3640 32DRAM, 8 Flash, AC...
4
by: firegun9 | last post by:
Hello, I have a design problme in my project. The abstract is below: class Container{ Base* p_base; void create_child(int type, argu1, argu2...) { switch(type){
3
by: Anurag | last post by:
Hi, (1) Wish to find out what size should I set "util_heap_sz" to for optimum backup performance. Environment: DB2 8.1 FP4 on AIX (Will not be using COMPRESS option as it stores both the...
3
by: Rob Nicholson | last post by:
(PS. Please suggest another newsgroup for this if not really applicable here) I recently came across the following article which really sums up an issue that's been niggling me for a while: ...
0
by: dankyy1 | last post by:
hi all i got a problem ....as there are a bill pool.all bills have a cost $ and the last date . from this pool i want to get optimum selection that near to equals to money and the date that...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.