can somebody help me, thansk!

On 11月14日, 下午9时21分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> i just use this code:
> cursor = connection.cursor()
> sql = "insert into popo_status( author_id , body , time, type ) VALUES
> (%s, %s, now(), '2')"
> cursor.execute( sql,(str(row[0]),msg) )
> connection.commit()
>
> it is successful, how can i get recoder id which i just inserted?
> thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to