Table Reflection Error

19 views
Skip to first unread message

Jeff Griffin

unread,
Apr 23, 2021, 5:38:49 PM4/23/21
to sqlalchemy
Using sqlalchemy 1.4.5 and pymssql 2.1.5,  I am reflecting an Oracle Table from one database (Oracle) and attempting to create it in a second database (MS SQL Server).  On table.create I get the following error:

Compiler <sqlalchemy.dialects.mssql.base.MSTypeCompiler object at 0x.... can't render element of type NUMBER

Is there a way to deal with these type conversions so as to be able to create a comparible table in SQL Server?

Any pointers are appreciated.

Mike Bayer

unread,
Apr 24, 2021, 10:22:34 AM4/24/21
to noreply-spamdigest via sqlalchemy




--
SQLAlchemy -
The Python SQL Toolkit and Object Relational Mapper
 
 
To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description.
---
You received this message because you are subscribed to the Google Groups "sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages