The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!
If I try this I will get the error that says "the command was not a query". I don't want to do this in 2 steps because I want to avoid network traffic and also to gain speed.
sql = "INSERT INTO table (col) VALUES (somevalue)\n" sql=sql+"SELECT scope_identyty() result=cursor.execute(sql) result.fetchone()