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
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
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
, 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