List:General Discussion« Previous MessageNext Message »
From:Thimble Smith Date:October 7 1999 4:41am
Subject:Re: finding AUTO_INCREMENT type from client side
View as plain text  
At 22:22, 19991006, Jim O'Quinn wrote:
>Is there any way to programmatically figure out if a field is
>AUTO_INCREMENT?

You can run a query "DESCRIBE table_name"; in the last column you will
find 'auto_increment' if it applies.

Tim
Thread
finding AUTO_INCREMENT type from client sideJim O'Quinn7 Oct
  • Re: finding AUTO_INCREMENT type from client sideThimble Smith7 Oct
  • Re: finding AUTO_INCREMENT type from client sideJim O'Quinn7 Oct
    • Re: finding AUTO_INCREMENT type from client sideMichael Widenius8 Oct
  • Re: finding AUTO_INCREMENT type from client sideJim O'Quinn8 Oct
    • Re: finding AUTO_INCREMENT type from client sideThimble Smith8 Oct
  • Re: finding AUTO_INCREMENT type from client sideJim O'Quinn8 Oct
    • Re: finding AUTO_INCREMENT type from client sideThimble Smith8 Oct
    • Re: finding AUTO_INCREMENT type from client sideMichael Widenius10 Oct