Click here to Skip to main content
15,915,328 members
Home / Discussions / Database
   

Database

 
AnswerRe: Remote access for MS SQL Server 2008 Pin
Wendelius26-Aug-08 7:22
mentorWendelius26-Aug-08 7:22 
QuestionConcept Question [modified] Pin
Rafone26-Aug-08 3:21
Rafone26-Aug-08 3:21 
AnswerRe: Concept Question Pin
Ashfield26-Aug-08 3:26
Ashfield26-Aug-08 3:26 
AnswerRe: Concept Question Pin
SimulationofSai26-Aug-08 4:15
SimulationofSai26-Aug-08 4:15 
QuestionFile Creation or BCP utility Pin
alwinSCH26-Aug-08 2:13
alwinSCH26-Aug-08 2:13 
AnswerRe: File Creation or BCP utility Pin
Wendelius26-Aug-08 7:27
mentorWendelius26-Aug-08 7:27 
GeneralRe: File Creation or BCP utility Pin
alwinSCH26-Aug-08 21:29
alwinSCH26-Aug-08 21:29 
GeneralRe: File Creation or BCP utility Pin
Ashfield27-Aug-08 0:49
Ashfield27-Aug-08 0:49 
Well, you have several options

You can use BCP (with a stored proc or a select) and a format file to create an output file, but this relies on ALL rows having the same number of fields

You can use the idea of concatonating the fields together with your delimiter and use this query in your bcp with effectively a single field per rocord

You can just read the data into your program and write the file yourself.

Try Goggling for format files in bcp

There are probably other ways too, but I can't be bothered to do your job any more...

Bob
Ashfield Consultants Ltd

GeneralRe: File Creation or BCP utility Pin
Wendelius27-Aug-08 6:38
mentorWendelius27-Aug-08 6:38 
QuestionDifference between Sql Server 2000 and Sql Server 2005 Pin
.NET- India 26-Aug-08 0:47
.NET- India 26-Aug-08 0:47 
JokeRe: Difference between Sql Server 2000 and Sql Server 2005 Pin
SimulationofSai26-Aug-08 2:25
SimulationofSai26-Aug-08 2:25 
AnswerRe: Difference between Sql Server 2000 and Sql Server 2005 Pin
Tripathi Swati26-Aug-08 2:32
Tripathi Swati26-Aug-08 2:32 
AnswerRe: Difference between Sql Server 2000 and Sql Server 2005 Pin
Jerry Hammond26-Aug-08 2:55
Jerry Hammond26-Aug-08 2:55 
AnswerRe: Difference between Sql Server 2000 and Sql Server 2005 Pin
Blue_Boy26-Aug-08 8:57
Blue_Boy26-Aug-08 8:57 
AnswerRe: Difference between Sql Server 2000 and Sql Server 2005 Pin
leckey26-Aug-08 15:37
leckey26-Aug-08 15:37 
GeneralRe: Difference between Sql Server 2000 and Sql Server 2005 Pin
.NET- India 26-Aug-08 20:11
.NET- India 26-Aug-08 20:11 
GeneralRe: Difference between Sql Server 2000 and Sql Server 2005 Pin
Ashfield26-Aug-08 21:03
Ashfield26-Aug-08 21:03 
GeneralRe: Difference between Sql Server 2000 and Sql Server 2005 Pin
leckey27-Aug-08 3:56
leckey27-Aug-08 3:56 
QuestionHELP, finding median in SQL (Stressed....) Pin
wishbone271225-Aug-08 21:55
wishbone271225-Aug-08 21:55 
AnswerRe: HELP, finding median in SQL (Stressed....) Pin
Manas Bhardwaj26-Aug-08 3:06
professionalManas Bhardwaj26-Aug-08 3:06 
AnswerRe: HELP, finding median in SQL (Stressed....) Pin
DerekFL26-Aug-08 8:13
DerekFL26-Aug-08 8:13 
QuestionChanging indexed to NO in Jet DB Pin
myNameIsRon25-Aug-08 19:03
myNameIsRon25-Aug-08 19:03 
QuestionAbout replicating database in SQL server Pin
Nasrin Sultana25-Aug-08 18:32
Nasrin Sultana25-Aug-08 18:32 
AnswerRe: About replicating database in SQL server Pin
Ashfield25-Aug-08 21:44
Ashfield25-Aug-08 21:44 
AnswerRe: About replicating database in SQL server Pin
Mycroft Holmes25-Aug-08 21:47
professionalMycroft Holmes25-Aug-08 21:47 

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.