Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions mssql_python/cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2627,12 +2627,6 @@ def _bulkcopy(
if not params.get("server"):
raise ValueError("SERVER parameter is required in connection string")

if not params.get("database"):
raise ValueError(
"DATABASE parameter is required in connection string for bulk copy. "
"Specify the target database explicitly to avoid accidentally writing to system databases."
)

# Translate parsed connection string into the dict py-core expects.
pycore_context = connstr_to_pycore_params(params)

Expand Down
Loading