simpli Posted May 22, 2009 Share Posted May 22, 2009 Hi, I am thinking of setting a parameters table to store site variables. I would need it to store the default or chosen values of several different parameters. Is it ok for me to have field that would contain the name of the parameter and another one the value? I don't want to create a column for each possible different parameters. That would be a huge antipattern and seriously stupid. so my solution would be parameter_name varchar parameter_value varchar Anyone has a better alternative? Thanks JR Quote Link to comment Share on other sites More sharing options...
Ken2k7 Posted May 23, 2009 Share Posted May 23, 2009 I wouldn't store variables, maybe constants. Like config data. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.