0

Difference between batch files and BCP Commands???

As per my knowledge BCP(Bulk copy program) is used to load the data from flat files to database in a fast way and vice versa and batch files are used to copy the files from one location to other location, to create new directories..etc using MS-Dos commands.

Can i get exact difference between Batch files and BCP Commands??

Thanks

Venaikat

Venaikat
  • 197
  • 2
  • 5
  • 20

2 Answers2

1

Batch files are to BCP as Java is to JavaScript

mishik
  • 9,973
  • 9
  • 45
  • 67
0

BCP is a command line tool

Batch files allow you to script command line tools, to make them perform their various functions in a repetitive and reproducible way, without needing keyboard or mouse interaction.

Batch files are a general purpose programming scripting language that is interpreted, and so is slower than a compiled language, but batch scripts are generally much faster to develop a program/script to perform a task. They also have limitations when compared to many compiled languages, with poison characters etc.

foxidrive
  • 40,353
  • 10
  • 53
  • 68