I have a table anonymous with three column (Title,Tough,Id) in which only eight different values of tough can be entered.Now I want to know is their any need to make 8 different tables for each value of tough in my database for fast SQL querying.
I have a table anonymous with three column (Title,Tough,Id) in which only eight different
Share
What I should do is the following (assuming Type is a
VARCHAR)Create one new table having two columns (typeId, type). Then lay a reference to your anonymous table. This reduces your data storage, you only have to capture the 8 values once. Then you only use number to reference to these 8 values.
I don’t know for sure if this will boost your query performances but this surely will make your database contain a lot less of redundant data.