List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:March 15 2005 6:57am
Subject:Re: auto_increment
View as plain text  
Joachim Person wrote:
>                          query.insert(subscription);

I don't try to use SSQLS inserts when I want to use auto_increment 
columns.  I manually build my own SQL statement; when you leave the 
auto_increment column out of the insert, MySQL picks the value for that 
column for you.

I'm not sure that there's an easy way for us to make MySQL++ 
intelligently handle this for you.
Thread
auto_incrementJoachim Person14 Mar
  • Re: auto_incrementChris Frey14 Mar
    • Re: auto_incrementEarl Miles14 Mar
      • Re: auto_incrementChris Frey15 Mar
        • sql_create in headerdon thompson7 Apr
          • Re: sql_create in headerWarren Young8 Apr
            • Re: sql_create in headerdon thompson8 Apr
          • Re: sql_create in headerWarren Young9 Apr
  • Re: auto_incrementWarren Young15 Mar
    • Re: auto_incrementWarren Young15 Mar