I mean, I tried to debug a program, using session add() to insert new records to database after I deleted all the old records from a table. I used the schema.sequence() to build up a mapper.... Can anyone help?
On 3月16日, 下午2时05分, Tan Yi <tonytan198...@gmail.com> wrote: > Whenever I try to use schema.sequence() function on ms sql server, the > return serial number (after flush()) is not started from 0, instead, > it is started from a random number or something. > wondering how to work aroud this issue. try to specify start = 0 in > sequence function, but no luck -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.