79734188

Date: 2025-08-13 10:49:11
Score: 3
Natty:
Report link

please use sqlalchemy like below:

from sqlalchemy import create_engine,types

dtype_dic = {'column1': types.NVARCHAR(length=200)}

dataframe.to_sql('column1', engine, index=False, if_exists='append', schema='dbo',dtype=dtype_dic)

this code solve my problem with ???? when insert persian character in sql server

Reasons:
  • Blacklisted phrase (1): ???
  • RegEx Blacklisted phrase (1.5): solve my problem with ????
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Alireza Balavand