Click here to Skip to main content
16,012,223 members
Home / Discussions / Database
   

Database

 
AnswerRe: Hierarchical Rollup Help (SQL Server 2005) Pin
Eric Dahlvang24-Aug-06 4:26
Eric Dahlvang24-Aug-06 4:26 
QuestionFill my Report (Crystal Report) Pin
Schimaera22-Aug-06 23:48
Schimaera22-Aug-06 23:48 
AnswerRe: Fill my Report (Crystal Report) Pin
Schimaera24-Aug-06 2:03
Schimaera24-Aug-06 2:03 
GeneralRe: Fill my Report (Crystal Report) Pin
Schimaera24-Aug-06 22:10
Schimaera24-Aug-06 22:10 
QuestionSimple problem but irriatating me Pin
sandeep kumar pundhir22-Aug-06 21:37
sandeep kumar pundhir22-Aug-06 21:37 
AnswerRe: Simple problem but irriatating me [modified] Pin
Mike Dimmick23-Aug-06 0:08
Mike Dimmick23-Aug-06 0:08 
QuestionCSV to Tab Delimiter file Pin
Yong Yau22-Aug-06 20:52
Yong Yau22-Aug-06 20:52 
AnswerRe: CSV to Tab Delimiter file Pin
Mike Dimmick23-Aug-06 0:19
Mike Dimmick23-Aug-06 0:19 
Well, your problem here is that your import data is ambiguous. You don't know whether a comma represents a field separator or a digit grouping symbol. The best thing to do is to change the import data format, for example to put quotes around numeric fields that can have a digit grouping symbol in them, or indeed to put quote marks around all fields. It's then traditional to double quote marks that actually appear within a field.

Bulk insert is typically easiest to handle with fixed field widths rather than the use of separators.

There's what looks to be a good CSV file reader class at http://www.codeproject.com/cs/database/CsvReader.asp[^] (disclaimer: I haven't used it). You could use this to write a convertor to tab-separated format once you've sorted out the ambiguity, if you can't get the source data generated in a usable format.

Stability. What an interesting concept. -- Chris Maunder

Questionquery Pin
dayakar_dn22-Aug-06 20:36
dayakar_dn22-Aug-06 20:36 
AnswerRe: query Pin
Eric Dahlvang23-Aug-06 5:10
Eric Dahlvang23-Aug-06 5:10 
Questionhow to configure a SQL Server 2000 that syncronize the data with Microsoft SQL Server 2000 Enterprise Manager [modified] Pin
Vartika Srivastava22-Aug-06 20:17
Vartika Srivastava22-Aug-06 20:17 
QuestionBulk Insert Pin
Yong Yau22-Aug-06 17:47
Yong Yau22-Aug-06 17:47 
QuestionAccessing local database created in VS 2005 [modified] Pin
Libor Tinka22-Aug-06 7:00
Libor Tinka22-Aug-06 7:00 
AnswerRe: Accessing local database created in VS 2005 Pin
Mike Dimmick22-Aug-06 23:59
Mike Dimmick22-Aug-06 23:59 
QuestionDouble field name in select statement [modified] Pin
Paddy Boyd22-Aug-06 3:14
Paddy Boyd22-Aug-06 3:14 
AnswerRe: Double field name in select statement Pin
Colin Angus Mackay22-Aug-06 5:04
Colin Angus Mackay22-Aug-06 5:04 
GeneralRe: Double field name in select statement Pin
Paddy Boyd22-Aug-06 5:08
Paddy Boyd22-Aug-06 5:08 
AnswerRe: Double field name in select statement Pin
Colin Angus Mackay22-Aug-06 5:06
Colin Angus Mackay22-Aug-06 5:06 
QuestionHow to catch the error return from a trigger in stored procedure in sql 2000 Pin
merlynml21-Aug-06 23:01
merlynml21-Aug-06 23:01 
AnswerRe: How to catch the error return from a trigger in stored procedure in sql 2000 Pin
Eric Dahlvang22-Aug-06 4:48
Eric Dahlvang22-Aug-06 4:48 
Question[DTS] Replace "N.A." with NULL Pin
Duncan Edwards Jones21-Aug-06 22:39
professionalDuncan Edwards Jones21-Aug-06 22:39 
QuestionAbout send mail from SQL Server 2000. Pin
selvaraj S.Kaliyappan21-Aug-06 22:28
selvaraj S.Kaliyappan21-Aug-06 22:28 
QuestionMultiple Tables/DB's performance Pin
MatthysDT21-Aug-06 20:57
MatthysDT21-Aug-06 20:57 
AnswerRe: Multiple Tables/DB's performance Pin
Mike Dimmick22-Aug-06 2:05
Mike Dimmick22-Aug-06 2:05 
AnswerRe: Multiple Tables/DB's performance Pin
i.j.russell22-Aug-06 2:57
i.j.russell22-Aug-06 2:57 

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.