Home  >  Article  >  Backend Development  >  如若对mysql操作都封装成存储过程,好不好

如若对mysql操作都封装成存储过程,好不好

WBOY
WBOYOriginal
2016-06-13 11:29:49820browse

如果对mysql操作都封装成存储过程,好不好
请问
做一个网站,如果把所有对数据库进行的操作全部封装成存储过程,
是不是比单纯的写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