1.

Please Explain What Is Wrong With This Query “select * From Table_name” ?

Answer»

You should never select all columns of a table UNLESS NEEDED and specify the columns only required in the query. The reason is that it will use a lot of memory to FETCH the data, if the records are huge, when you are going to use only 2 or 3 FIELDS from the table.

You should never select all columns of a table unless needed and specify the columns only required in the query. The reason is that it will use a lot of memory to fetch the data, if the records are huge, when you are going to use only 2 or 3 fields from the table.



Discussion

No Comment Found