Bulk Copy Operation on a Table with Identity Columns

Perform a bulk-copy operation on a table with identity columns.

When transferring rows in a bulk-copy-in operation involving identity columns, the values for identity columns are not, by default, specified. The values are generated by the server.
For example :
import sybpydb
conn = sybpydb.connect(dsn="user=sa;bulklogin=true;chainxacts=off")
cur = conn.cursor()
cur.execute("create table mytable (empid int identity, empname varchar(20))")
            cur.close()
            blk = conn.blkcursor()

# Start bulk copy in operation. Do not specify values for identity columns.
# Values will be generated by the server.
blk.copy(name="mytable", direction="in")
blk.rowxfer(["Joanne"])
blk.rowxfer(["John"])
blk.done()