Master_Salesterritorylayer Import
This commit is contained in:
@@ -42,4 +42,51 @@ Traceback (most recent call last):
|
||||
data = cursor.fetchmany(chunksize)
|
||||
pyodbc.OperationalError: ('08S01', '[08S01] [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: An existing connection was forcibly closed by the remote host.\r\n (10054) (SQLGetData); [08S01] [Microsoft][ODBC Driver 17 for SQL Server]Communication link failure (10054)')
|
||||
|
||||
================================
|
||||
|
||||
================================
|
||||
TIME : 2026-05-19 13:10:48.622125
|
||||
ERROR : ('42S22', "[42S22] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'Project_Id'. (207) (SQLExecDirectW)")
|
||||
TRACEBACK :
|
||||
Traceback (most recent call last):
|
||||
File "d:\Python Code\Master_Salesterritorylayer_Import.py", line 291, in <module>
|
||||
for chunk in pd.read_sql(
|
||||
~~~~~~~~~~~^
|
||||
query,
|
||||
^^^^^^
|
||||
sql_conn,
|
||||
^^^^^^^^^
|
||||
chunksize=chunk_size
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
):
|
||||
^
|
||||
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\pandas\io\sql.py", line 702, in read_sql
|
||||
return pandas_sql.read_query(
|
||||
~~~~~~~~~~~~~~~~~~~~~^
|
||||
sql,
|
||||
^^^^
|
||||
...<6 lines>...
|
||||
dtype=dtype,
|
||||
^^^^^^^^^^^^
|
||||
)
|
||||
^
|
||||
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\pandas\io\sql.py", line 2766, in read_query
|
||||
cursor = self.execute(sql, params)
|
||||
File "C:\Users\dipanshuk\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\pandas\io\sql.py", line 2702, in execute
|
||||
cur.execute(sql, *args)
|
||||
~~~~~~~~~~~^^^^^^^^^^^^
|
||||
pyodbc.ProgrammingError: ('42S22', "[42S22] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'Project_Id'. (207) (SQLExecDirectW)")
|
||||
|
||||
================================
|
||||
|
||||
================================
|
||||
TIME : 2026-05-19 13:11:33.086601
|
||||
ERROR : name 'PROJECT_ID' is not defined
|
||||
TRACEBACK :
|
||||
Traceback (most recent call last):
|
||||
File "d:\Python Code\Master_Salesterritorylayer_Import.py", line 275, in <module>
|
||||
WHERE Project_Id = {PROJECT_ID}
|
||||
^^^^^^^^^^
|
||||
NameError: name 'PROJECT_ID' is not defined. Did you mean: 'PROJECTID'?
|
||||
|
||||
================================
|
||||
Reference in New Issue
Block a user