ENUM -- integers or strings?

2002-01-04 Thread Erik Price
A quick question -- If I have a table with an ENUM column, and the possible values are (0, 1, 2, 3), does the number qualify as an integer or a string? I am working in PHP4 and intend to compare this value as such: // dbaccess.access_level is ENUM(0, 1, 2, 3) column // $user_id has been

RE: ENUM -- integers or strings?

2002-01-04 Thread Rick Emery
What happened when you experimented? What were your results? -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Friday, January 04, 2002 2:03 PM To: [EMAIL PROTECTED] Subject: ENUM -- integers or strings? A quick question -- If I have a table with an ENUM column

Re: ENUM -- integers or strings?

2002-01-04 Thread Erik Price
PROTECTED] Subject: ENUM -- integers or strings? A quick question -- If I have a table with an ENUM column, and the possible values are (0, 1, 2, 3), does the number qualify as an integer or a string? I am working in PHP4 and intend to compare this value as such: // dbaccess.access_level is ENUM

Re: ENUM -- integers or strings?

2002-01-04 Thread Michael Brunson
, Rick Emery wrote: | | What happened when you experimented? What were your results? | | -Original Message- | From: Erik Price [mailto:[EMAIL PROTECTED]] | Sent: Friday, January 04, 2002 2:03 PM | To: [EMAIL PROTECTED] | Subject: ENUM -- integers or strings? | | | A quick