Home  >  Article  >  Database  >  用具体列名替代星号

用具体列名替代星号

WBOY
WBOYOriginal
2016-06-07 17:39:201290browse

写SQL语句时,我们尽量使用具体列名来替换星号(*),虽然效能上微不足道,但写了,实际上已经是另外的境界了。 比如很多时候,我们都会这样写:

写SQL语句时,我们尽量使用具体列名来替换星号(*),虽然效能上微不足道,,但写了,实际上已经是另外的境界了。
比如很多时候,我们都会这样写:

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn