Click here to Skip to main content
15,890,527 members
Home / Discussions / Database
   

Database

 
QuestionSQL 2000 - IF / THEN bug? Pin
Anthony Ford17-Aug-05 5:11
Anthony Ford17-Aug-05 5:11 
AnswerRe: SQL 2000 - IF / THEN bug? Pin
ToddHileHoffer17-Aug-05 9:46
ToddHileHoffer17-Aug-05 9:46 
GeneralRe: SQL 2000 - IF / THEN bug? Pin
Anthony Ford17-Aug-05 10:02
Anthony Ford17-Aug-05 10:02 
GeneralRe: SQL 2000 - IF / THEN bug? Pin
ToddHileHoffer17-Aug-05 10:42
ToddHileHoffer17-Aug-05 10:42 
GeneralSql server Pin
chandru_inbox17-Aug-05 0:29
chandru_inbox17-Aug-05 0:29 
GeneralRe: Sql server Pin
Yulianto.18-Aug-05 16:44
Yulianto.18-Aug-05 16:44 
GeneralRe: Sql server Pin
miah alom19-Aug-05 6:34
miah alom19-Aug-05 6:34 
GeneralNeed advice on numerical data types for numbers like ##,###.## Pin
FTrader16-Aug-05 20:41
FTrader16-Aug-05 20:41 
Hi, I'm designing a C# app which will use a DB (probably SQL Server) for storing financial market historical data. I need some advice on data types:

Precision required is 7 digits like ##,###.## (e.g. Dow Jones index values).

for C#:
.) float (System.Single): needs 4 bytes - should be faster and more efficient than
.) double?
(Decimal with its 32 bytes would be extreme overkill and very slow, I guess.)

for Database - MSDN T-SQL tells:
.) real = float(24): needs 4 storage bytes, has 7 digits precision.
.) decimal(p,s): precision 1-9 needs 5 storage bytes


Now, would "float" with C# and "real" with SQL Server be best for my needs in terms of storage space and speed?

THX!
GeneralRe: Need advice on numerical data types for numbers like ##,###.## Pin
Colin Angus Mackay16-Aug-05 22:28
Colin Angus Mackay16-Aug-05 22:28 
GeneralRe: Need advice on numerical data types for numbers like ##,###.## Pin
FTrader16-Aug-05 23:16
FTrader16-Aug-05 23:16 
GeneralRe: Need advice on numerical data types for numbers like ##,###.## Pin
Dan Neely17-Aug-05 10:38
Dan Neely17-Aug-05 10:38 
GeneralRe: Need advice on numerical data types for numbers like ##,###.## Pin
FTrader17-Aug-05 12:44
FTrader17-Aug-05 12:44 
GeneralRe: Need advice on numerical data types for numbers like ##,###.## Pin
Dan Neely18-Aug-05 7:57
Dan Neely18-Aug-05 7:57 
GeneralSome info about .NET decimal Pin
FTrader17-Aug-05 1:57
FTrader17-Aug-05 1:57 
QuestionDeleted entries reappearing in Access 2000 DB? Pin
mav.northwind16-Aug-05 20:28
mav.northwind16-Aug-05 20:28 
Questionhow to accessing Paradox use ADO Pin
ebinaini16-Aug-05 19:20
ebinaini16-Aug-05 19:20 
General.NET SQL Stored Procedures Pin
Carl Mercier16-Aug-05 6:36
Carl Mercier16-Aug-05 6:36 
GeneralTriggers Problem [modified] Pin
Faheem Habib15-Aug-05 23:23
Faheem Habib15-Aug-05 23:23 
GeneralRe: Triggers Problem Pin
ToddHileHoffer16-Aug-05 10:23
ToddHileHoffer16-Aug-05 10:23 
Generalneed help about analysis service connection Pin
ianpeter15-Aug-05 21:25
ianpeter15-Aug-05 21:25 
Generalanwhat's wrong with my cursor!!!!!!!!! Pin
under281115-Aug-05 21:11
under281115-Aug-05 21:11 
GeneralRe: anwhat's wrong with my cursor!!!!!!!!! Pin
Colin Angus Mackay15-Aug-05 22:11
Colin Angus Mackay15-Aug-05 22:11 
QuestionHow does .NET Data Provider for SQL Server convert varchar data to Unicode? Pin
GlennBits15-Aug-05 6:46
GlennBits15-Aug-05 6:46 
GeneralSQL Problem Pin
WDI15-Aug-05 3:39
WDI15-Aug-05 3:39 
GeneralRe: SQL Problem Pin
Colin Angus Mackay15-Aug-05 5:01
Colin Angus Mackay15-Aug-05 5:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.