mysqlÖи¡µãÊýÀàÐÍ°üÀ¨×Ö·û´®Âð
·ñ£¬mysql Öеĸ¡µãÊýÀàÐͲ»°üÀ¨×Ö·û´®¡£¸¡µãÊýÀàÐÍ£¨float¡¢double£©´æ´¢½üËÆÖµ£¬ÒÔ¶þ½øÖÆÖµÌåÏÖ¡£ÓÃÓÚ´æ´¢×Ö·û´®µÄÀàÐÍ°üÀ¨ varchar¡¢char ºÍ text£¬ÒÔ×Ö·ûÐÎʽ´æ´¢Îı¾Êý¾Ý¡£
·ñ£¬MySQL Öеĸ¡µãÊýÀàÐͲ»°üÀ¨×Ö·û´®¡£
¸¡µãÊýÀàÐÍ£¬Èç FLOAT ºÍ DOUBLE£¬ÓÃÓÚ´æ´¢¾ßÓÐСÊý²¿·ÖµÄ½üËÆÖµ¡£ËüÃÇÓɶþ½øÖÆÖµÌåÏÖ£¬Òò´ËÓë×Ö·û´®²î±ð¡£
MySQL Öд洢×Ö·û´®µÄÀàÐÍÊÇ VARCHAR¡¢CHAR ºÍ TEXT¡£ÕâЩÀàÐÍרÓÃÓÚ´æ´¢Îı¾Êý¾Ý£¬²¢ÒÔ×Ö·ûÐÎʽ´æ´¢Êý¾Ý¡£
ÒÔÉϾÍÊÇmysqlÖи¡µãÊýÀàÐÍ°üÀ¨×Ö·û´®ÂðµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡
ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿Ê±¹ÙÍøµÇ¼ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿Ê±¹ÙÍøµÇ¼ʵʱÐÞÕý»òɾ³ý¡£