marcho10 Posted March 5, 2007 Report Posted March 5, 2007 Kādu labaak lietot datu tipu Komentariem un foto.
marcho10 Posted March 5, 2007 Author Report Posted March 5, 2007 A fotograafijai kaads datu tips buus?
Roze Posted March 5, 2007 Report Posted March 5, 2007 Nu atkārībā ko tu uzskati par "fotografiju". Ja tu taisies glabāt DB pilnu failu (kas nav ieteicams) tad BLOB, ja tikai nosaukumu (path) tad der tas pats VARCHAR (attiecīgi tik garš cik gari tev to fotografiju failu nosaukumi, faktiski vart likt to pašu VARCHAR (256)).
Paulinjsh Posted March 5, 2007 Report Posted March 5, 2007 (edited) Roze nav obligāti text :) > 5.0.3 versiju varchar var glabāt 65,535 simbolus http://dev.mysql.com/doc/refman/5.0/en/str...e-overview.html pārlasījos :) Edited March 5, 2007 by Paulinjsh
Recommended Posts