We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbb3a3a commit aa3942cCopy full SHA for aa3942c
mssql_python/cursor.py
@@ -2627,12 +2627,6 @@ def _bulkcopy(
2627
if not params.get("server"):
2628
raise ValueError("SERVER parameter is required in connection string")
2629
2630
- if not params.get("database"):
2631
- raise ValueError(
2632
- "DATABASE parameter is required in connection string for bulk copy. "
2633
- "Specify the target database explicitly to avoid accidentally writing to system databases."
2634
- )
2635
-
2636
# Translate parsed connection string into the dict py-core expects.
2637
pycore_context = connstr_to_pycore_params(params)
2638
0 commit comments