Re: Extract data from MS SQL Server 6.5 database to ascii file

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Bob Simms (bob_simms_at_somewhere.com)
Date: 03/26/04


Date: Fri, 26 Mar 2004 07:17:37 -0000


"Susie" <anonymous@discussions.microsoft.com> wrote in message
news:138b401c412b4$39088750$a401280a@phx.gbl...
> I am trying to extract the data from our MS SQL Server 6.5
> database to an ascii file. I need to have the data in the
> columns enclosed in double quotes ( " ) and terminated by
> a comma ( , ). Does anyone have any usefull information
> on doing this. I am looking for a tool or a script. I
> don't want to write multiple bcp out statements and I am
> unsure how to enclose the data from the columns in double
> quotes. Any information will be greatly appreciated.

You could try looking at DTS. Create a package with the Import/Export
Wizard, then tweak it in the DTS Designer

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.614 / Virus Database: 393 - Release Date: 05/03/2004


Relevant Pages

  • Re: Show only permitted database
    ... DTS designer in EM is client side. ... I support PASS - the definitive, global community for SQL Server professionals - ... > How am I going to allow the user to see only their permitted database in> enterprise manager. ...
    (microsoft.public.sqlserver.security)
  • RE: DTS Designer problems after upgrade to SQL Server 2008
    ... SQL Server 2000 DTS Designer components are required to edit DTS packages. ... "SQL Server 2000 DTS Designer Components" ... No resolution was achieved. ...
    (microsoft.public.sqlserver.dts)
  • Re: Simple questions
    ... Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) ... option to create the destination table. ... can I use the DTS Designer package to preserve the ... autonumber in Access and, going forward, will be an identity column in SQL ...
    (microsoft.public.sqlserver.dts)
  • Re: SQL Server 2000 DTS Designer Components
    ... I actually have not installed the DTS Designer on the servers directly, but install it on client machines of programmers and administrators who manage the DTS packages. ... Having said that, I see that on my 64-bit server installation, the SQL Server Management Studio 2005, etc. are all x86 programs so the DTS Designer should work even there. ...
    (microsoft.public.sqlserver.clients)
  • Re: Show only permitted database
    ... > DTS designer in EM is client side. ... > Jasper Smith (SQL Server MVP) ... >> Dennis. ...
    (microsoft.public.sqlserver.security)