Hi, 

It's been some time since this topic was created. Has anything changed on 
that matter or manually setting column.server_default=FetchedValue() is 
still the best way to do it?


Kind regards, 
MichaƂ

On Thursday, September 15, 2011 7:58:49 AM UTC+2, Matt Bodman wrote:
>
> Hi, 
>
> I am autoloading tables from an MSSQL db.  A lot of the tables have 
> the MSSQL TIMESTAMP column.  So, when inserting to the table, I get an 
> IntegrityError: 
>
> sqlalchemy.exc.IntegrityError: (IntegrityError) ('23000', '[23000] 
> [FreeTDS][SQL Server]Cannot insert an explicit value into a timestamp 
> column. Use INSERT with a column list to exclude the timestamp column, 
> or insert a DEFAULT into the timestamp column. (273) (SQLPrepare)' 
>
> Is there a way around this without having to map every column 
> explicitly? 
>
> Thanks, 
>
> Matt 
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to