Click here to Skip to main content
15,903,362 members
Home / Discussions / Database
   

Database

 
GeneralRe: T-SQL: How to force rows insertion ignoring transactions? Pin
Yuval Naveh20-Jan-10 2:59
Yuval Naveh20-Jan-10 2:59 
QuestionCentralized Query Optimization Pin
AmbiguousName19-Jan-10 6:34
AmbiguousName19-Jan-10 6:34 
AnswerRe: Centralized Query Optimization Pin
Eddy Vluggen19-Jan-10 9:43
professionalEddy Vluggen19-Jan-10 9:43 
GeneralRe: Centralized Query Optimization Pin
AmbiguousName19-Jan-10 21:14
AmbiguousName19-Jan-10 21:14 
GeneralRe: Centralized Query Optimization Pin
Eddy Vluggen20-Jan-10 0:15
professionalEddy Vluggen20-Jan-10 0:15 
QuestionBULK INSERT problem with SQL Server 2008 DATE format Pin
Gawiz19-Jan-10 6:16
professionalGawiz19-Jan-10 6:16 
AnswerRe: BULK INSERT problem with SQL Server 2008 DATE format Pin
Eddy Vluggen19-Jan-10 11:04
professionalEddy Vluggen19-Jan-10 11:04 
QuestionOpening A Database Connection [SOLVED] Pin
#realJSOP19-Jan-10 4:24
professional#realJSOP19-Jan-10 4:24 
AnswerRe: Opening A Database Connection Pin
loyal ginger19-Jan-10 4:34
loyal ginger19-Jan-10 4:34 
GeneralRe: Opening A Database Connection [modified] Pin
#realJSOP19-Jan-10 4:57
professional#realJSOP19-Jan-10 4:57 
GeneralRe: Opening A Database Connection Pin
Eddy Vluggen19-Jan-10 5:08
professionalEddy Vluggen19-Jan-10 5:08 
GeneralRe: Opening A Database Connection Pin
#realJSOP19-Jan-10 5:26
professional#realJSOP19-Jan-10 5:26 
AnswerRe: Opening A Database Connection Pin
Luc Pattyn19-Jan-10 5:52
sitebuilderLuc Pattyn19-Jan-10 5:52 
GeneralRe: Opening A Database Connection Pin
#realJSOP19-Jan-10 6:18
professional#realJSOP19-Jan-10 6:18 
GeneralRe: Opening A Database Connection Pin
#realJSOP19-Jan-10 7:15
professional#realJSOP19-Jan-10 7:15 
GeneralRe: Opening A Database Connection Pin
#realJSOP19-Jan-10 8:37
professional#realJSOP19-Jan-10 8:37 
AnswerRe: Opening A Database Connection Pin
Shameel19-Jan-10 8:04
professionalShameel19-Jan-10 8:04 
GeneralRe: Opening A Database Connection [modified] Pin
#realJSOP19-Jan-10 8:25
professional#realJSOP19-Jan-10 8:25 
QuestionConsuming a web service using a stored procedure Pin
Mohammad Al Hoss19-Jan-10 3:10
Mohammad Al Hoss19-Jan-10 3:10 
AnswerRe: Consuming a web service using a stored procedure Pin
Eddy Vluggen19-Jan-10 5:06
professionalEddy Vluggen19-Jan-10 5:06 
QuestionFloating Point Numbers Stored as Text with Integration Services Pin
moon_stick19-Jan-10 2:22
moon_stick19-Jan-10 2:22 
AnswerRe: Floating Point Numbers Stored as Text with Integration Services Pin
Eddy Vluggen19-Jan-10 11:15
professionalEddy Vluggen19-Jan-10 11:15 
moon_stick wrote:
I'm assuming the easier way to go is to figure out why the numbers are occasionally stored as floating point in text - can anyone shed any light?


Because $2 divided by three people equals something that's hard to store in binary. It results in 0.666666~, where the length of a byte is limited. A digital representation of a analogue value Smile | :)

Excell sometimes keeps the "calculated" values without rounding them. Those values are already imprecise, since you can't encode every fraction using a byte. It keeps the unrounded value around, and displays a value with the specified formatting: in this case, a currency with two positions after the decimal-separator.

It would be easier to test whether the data can be interpreted as a numeric, and if so, round it by two decimals. Keep in mind that you don't want to use these (formatted) numbers for further calculations; you'd want the original floats for that Smile | :)

I are Troll Suspicious | :suss:

QuestionSQL Application - stuck on the way I should update my Table Pin
ps0f0r18-Jan-10 22:24
ps0f0r18-Jan-10 22:24 
AnswerRe: SQL Application - stuck on the way I should update my Table Pin
Mycroft Holmes19-Jan-10 10:39
professionalMycroft Holmes19-Jan-10 10:39 
QuestionQuestion about simple pattern recognition (hopefully the solution is simple too...) Pin
James Shao17-Jan-10 22:24
James Shao17-Jan-10 22:24 

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.