TPC-Council / HammerDB

HammerDB Database Load Testing and Benchmarking Tool
http://www.hammerdb.com
GNU General Public License v3.0
545 stars 115 forks source link

Added use_bcp default as true and enabled bcp with windows authentication #592

Closed krithikasatish closed 10 months ago

krithikasatish commented 10 months ago

The use_bcp option was by default set to false because bcp did not work through windows authentication. Bcp statement is now modified based on authentication type, with the -T flag used in place of a specified username and password when the connection is through windows authentication. This ensures that the bcp command will use the Windows logged in user's credentials.

sm-shaw commented 10 months ago

Tested on all combinations of Windows and SQL authentication with and without BCP selected