Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2013
    Posts
    5

    Unanswered: Specifying date format in BCP?

    Is there a way to specify a date format while BCPing??

    Currently i am getting as "Mar 1,2013" whereas i need in "2013-03-01"

  2. #2
    Join Date
    May 2005
    Location
    South Africa
    Posts
    1,365
    Provided Answers: 1
    Create a view that converts to char or use bcp --initstring to select into #table and bcp out from #table

Tags for this Thread

Posting Permissions

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