MySQL Forums
Forum List  »  Newbie

Can I do this with create table?
Posted by: steve barren
Date: March 30, 2005 10:34AM

I want to create a table with column names that are php files. To top it off, lots of these files are reserved words.

create table privilege
(
username varchar(50) not null,
modify.php enum('y', 'n'),
delete.php enum('y', 'n'),
add.php enum('y', 'n'),
operation.php enum('y', 'n'),
query.php enum('y', 'n'),
addoperation.php enum('y', 'n'),
moddel.php enum('y', 'n'),
primary.php key (username)
);

Options: ReplyQuote


Subject
Written By
Posted
Can I do this with create table?
March 30, 2005 10:34AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.