my.iniÀï[client]ºÍ[mysqld]ÏÂÔö¼Ó default-character-set=utf8
Ö´ÐÐ show variables like 'character_set_%';
+--------------------------+-----------------------------------+
| Variable_name | Value ......
´ó¼ÒºÃ£¬ÎÒÔÚдһ¸öMySQLµÄ´æ´¢¹ý³Ì£¬ÎÒÏëÈý«ÁÐÃûÉèΪ´æ´¢¹ý³ÌÖбäÁ¿£¬È»ºó¸ù¾ÝÁÐÃûµÄ²»Í¬À´½øÐвéѯ£¬ÇëÎÊ´ó¼Ò£¬ÆäÏà¹ØµÄÓï·¨ÊÇÊ²Ã´ÄØ£¬ÇëÖîλָµãÃÔ½ò¡£
ûÓа취£¬MYSQL²¢²»Ö§³Ö
select @varColumnName from table
ÄãÖ»ÄÜÓÃ
@sql = concat ("select " , @varColumnNam ......
//in×Ó²éѯµÄд·¨ ÎÒ×Ô¼ºµÄmysqlÖ§³Ö ·þÎñÆ÷²»Ö§³Ö
(select user_no,videofile from user_info where phone in(SELECT caller from pair_info where receiver='1365555' and invite_flag=1 and read_flag=0 ) and phone not in(SELECT receiver from pair_info where caller='1365555'and receive_invit ......
ÔÚMysqlϽ¨Á¢ÁËÒ»¸ö±ífile(filename varchar(100), data longblob);
²åÈëÊý¾Ýinsert into file values("filename", LOAD_FILE("C:\file.rar"));
½á¹ûÓÃselect data from file where filename like 'filename';
·µ»ØµÄÊÇdata,ÏÂÃæÐ´µÄnull;
²åÈëµÄÊÇÒ»¸öºÜСµÄÎļþ£¬1k¶à£¬Ó¦¸Ã²»» ......
SQL code:
select `product_hardware_view`.`ProductID`,`product_hardware_view`.`Version`,
`product_hardware_view`.`Price` , `product_software_view`.`Price`
from `product_hardware_view`,`product_software_view`
where `product_hardware_view`.`ProductID` = `product_software_view`.`ProductID` ......
Nokia ½ñÄ궯×÷ƵƵ£¬Ò»Á¬·¢²¼ÁË5¸ö QT °æ±¾£¬×î½ü·¢²¼µÄ Qt4.6.0 ¸üÊÇÈÃÈË
ϲ³öÍûÍ⡣֮ǰwin32°æµÄQT£¬ÒªÃ´¹ºÂòÉÌÒµ°æ£¬ÒªÃ´¾ÍÖ»ÄÜÓà mingw ×÷Ϊ¿ª·¢
¹¤¾ß£¬ÏëÓÃVC2008£¬µÃ×Ô¼º±àÒëÒ»±éQT£¬ÊµÔÚ·Ñʱ·ÑÁ¦¡£
Èç½ñ£¬Nokia ¹Ù·½ÖÕÓÚ·¢²¼ÁË ÓÃÓÚ VS2008µÄopensource°æQT¡£Õâ´ó´ó¼ò»¯ÁËÎÒ
Ãǵݲװ¹¤×÷£¬Ò²°ÑÎÒ ......