Results 1 to 3 of 3

Thread: [RESOLVED] BCP program [MSSQL 2000]

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2004
    Location
    Jakarta, Indonesia
    Posts
    818

    Resolved [RESOLVED] BCP program [MSSQL 2000]

    i use this line in command prompt
    BCP "SELECT * FROM Table1..Users" queryout "C:\file1.txt" -T -N

    it use 'weird' character as field separator

    i wonder if it can use '|' as separator?

    i already read BOL but still can't understand completely how it done..

    also can BCP be used using SQL DMO?

    thanks,

    erick
    Last edited by erickwidya; May 9th, 2007 at 09:17 PM.

    1st NF - a table should not contain repeating groups.
    2nd NF - any fields that do not depend fully on the primary key should be moved to another table.
    3rd NF - there should be no dependency between non key fields in same table.
    - E. Petroutsos -


    eRiCk

    A collection of "Laku-abis" Ebook, Permanent Residence

    Access Reserved Words, a Classic Form Bug, Access Limitation, Know run Process and the Lock they hold in, Logging User Activity in MSSQL,
    Kill Database Processes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width