Click here to Skip to main content
15,885,365 members
Home / Discussions / Database
   

Database

 
AnswerRe: MS SQL didn't allow to store apostrophe( ' ) in name Pin
Hitesh R23-Oct-12 1:08
Hitesh R23-Oct-12 1:08 
GeneralRe: MS SQL didn't allow to store apostrophe( ' ) in name Pin
Azher.Cybertech27-Oct-12 23:34
Azher.Cybertech27-Oct-12 23:34 
QuestionError Running SP [SOLVED] Pin
jojoba201113-Oct-12 21:53
jojoba201113-Oct-12 21:53 
AnswerRe: Error Running SP Pin
Eddy Vluggen14-Oct-12 3:06
professionalEddy Vluggen14-Oct-12 3:06 
AnswerRe: Error Running SP Pin
Richard Deeming15-Oct-12 3:38
mveRichard Deeming15-Oct-12 3:38 
QuestionRe: Error Running SP Pin
jojoba201115-Oct-12 4:52
jojoba201115-Oct-12 4:52 
NewsRe: Error Running SP [Solved] Pin
jojoba20115-Nov-12 22:37
jojoba20115-Nov-12 22:37 
QuestionBug in SQLBulkCopy? Truncates decimal digits after 26 records Pin
Allan Watkins12-Oct-12 14:25
Allan Watkins12-Oct-12 14:25 
I believe I've found a very unexpected bug in SQLBulkCopy that took me a while to track down. My test program reads in records from a CSV file with exactly 1 column which is defined as a "numeric(19,5)" for statistical uploads.

Condition 1:
If the input file has 25 rows with the only value being the digit zero, followed by a number with a decimal (like '1.23456'), the data is imported perfectly.
Condition 2:
If the input file has 26 rows with the only value being the digit zero (or any non-decimal number), followed by a number with a decimal (like '1.23456'), the data is imported and the last (and any subsequent) rows have the field imported with truncated decimal digits (like '1.00000').
Condition 3:
If the input file has 26 rows and the first row is '0.0', all of the rows are imported perfectly.

I've checked the table/field definition for Condition 2 and it's the same as 1 and 3 so there's no manipulation of the field type (as far as I can tell).

Is this a bug or am I missing something?
AnswerRe: Bug in SQLBulkCopy? Truncates decimal digits after 26 records Pin
jschell13-Oct-12 11:05
jschell13-Oct-12 11:05 
GeneralRe: Bug in SQLBulkCopy? Truncates decimal digits after 26 records Pin
Allan Watkins13-Oct-12 13:02
Allan Watkins13-Oct-12 13:02 
GeneralRe: Bug in SQLBulkCopy? Truncates decimal digits after 26 records Pin
jschell14-Oct-12 6:51
jschell14-Oct-12 6:51 
GeneralRe: Bug in SQLBulkCopy? Truncates decimal digits after 26 records Pin
Mycroft Holmes14-Oct-12 15:06
professionalMycroft Holmes14-Oct-12 15:06 
GeneralRe: Bug in SQLBulkCopy? Truncates decimal digits after 26 records Pin
Allan Watkins14-Oct-12 19:36
Allan Watkins14-Oct-12 19:36 
GeneralThe "bug" is actually in the Fill() method Pin
Allan Watkins16-Oct-12 16:09
Allan Watkins16-Oct-12 16:09 
AnswerRe: Bug in SQLBulkCopy? Truncates decimal digits after 26 records Pin
Aadhar Joshi17-Oct-12 1:31
Aadhar Joshi17-Oct-12 1:31 
QuestionConfigure SQL Server 2005 Remote Access Pin
Kevin Marois11-Oct-12 11:35
professionalKevin Marois11-Oct-12 11:35 
AnswerRe: Configure SQL Server 2005 Remote Access Pin
fjdiewornncalwe11-Oct-12 12:06
professionalfjdiewornncalwe11-Oct-12 12:06 
AnswerRe: Configure SQL Server 2005 Remote Access Pin
Eddy Vluggen11-Oct-12 12:37
professionalEddy Vluggen11-Oct-12 12:37 
AnswerRe: Configure SQL Server 2005 Remote Access Pin
Bernhard Hiller12-Oct-12 3:24
Bernhard Hiller12-Oct-12 3:24 
QuestionGlobal Database Design for example to store Addresses Pin
LiQuick10-Oct-12 21:38
LiQuick10-Oct-12 21:38 
AnswerRe: Global Database Design for example to store Addresses Pin
Jörgen Andersson10-Oct-12 22:59
professionalJörgen Andersson10-Oct-12 22:59 
GeneralRe: Global Database Design for example to store Addresses Pin
Eddy Vluggen10-Oct-12 23:48
professionalEddy Vluggen10-Oct-12 23:48 
GeneralRe: Global Database Design for example to store Addresses Pin
Jörgen Andersson11-Oct-12 0:16
professionalJörgen Andersson11-Oct-12 0:16 
GeneralRe: Global Database Design for example to store Addresses Pin
J4amieC11-Oct-12 0:36
J4amieC11-Oct-12 0:36 
AnswerRe: Global Database Design for example to store Addresses Pin
Ingo10-Oct-12 23:04
Ingo10-Oct-12 23:04 

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.