marcho10 Posted March 5, 2007 Report Share Posted March 5, 2007 Kādu labaak lietot datu tipu Komentariem un foto. Link to comment Share on other sites More sharing options...
Roze Posted March 5, 2007 Report Share Posted March 5, 2007 Ja līdz 256 simboliem VARCHAR ja vairāk TEXT Link to comment Share on other sites More sharing options...
marcho10 Posted March 5, 2007 Author Report Share Posted March 5, 2007 A fotograafijai kaads datu tips buus? Link to comment Share on other sites More sharing options...
Roze Posted March 5, 2007 Report Share 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)). Link to comment Share on other sites More sharing options...
Paulinjsh Posted March 5, 2007 Report Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts