Closed michaljurecko closed 4 years ago
@ondrajodas pozrel by si sa prosim na to teraz rano + ak by si mohol potom aj dalsie PR cim skor vybavit, aby sa to stihlo a mohol si v riesit tie SSLka (dalsi tyzden mam dovolenku) .... a tento mssql
extractor je na tom najhorsie co sa tyka refactoringu.
Changes:
BCP
cli command arguments were unescaped, so a more complex query (or password) could break the export.escapeshellarg
.BCP
cli command was added-q
parameter. It enablesQUOTED_IDENTIFIERS
, so behavior is same as PDO, and user can useFROM sales
/FROM [sales]
/FROM "sales"
in query - and BCP will not fail.