I need to update a table in a MSSQL database. The dimension of the table doesn't allow to load the table in memory, modify the dataframe and rewrite it back.
I also need to update only one column at a time so I cannot use the solution proposed in this topic (ie the solution proposes a delete operation of the interested rows, impossible for me cause I can update only one column at time)
So I need to perform something like an update-from query
Update mytable
set mycolumn = dfcolumn
from df
where mytable.key=df.key
in which mytable
is a dbtable and df
is a pandas Dataframe.
Is it possible to perform this kind of function with SQLALCHEMY?