Results 1 to 2 of 2

Thread: boolean

  1. #1
    Join Date
    Jan 2005
    Posts
    362

    Unanswered: boolean

    I want to create a table with a "boolean" (true-false) field with sqlyong, but appears an error (1064). How can i solve it?
    dimis

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    use CHAR(1) with 'T' and 'F'

    or use TINYINT with 1 and 0
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •