MySQL数据类型转换函数CAST
1、固定值转为BINARY 二进制型SELECT CAST( 1231 AS BINARY ) AS result 运行结果:12312、int类型值转为CHAR 字符型SELECT CAST(1995 AS CHAR) as result 运行结果:"
1、固定值转为BINARY 二进制型SELECT CAST( 1231 AS BINARY ) AS result 运行结果:12312、int类型值转为CHAR 字符型SELECT CAST(1995 AS CHAR) as result 运行结果:"
//删除操作 开启事务 $mysqli->query("BEGIN"); //删除权限字段标签 $sql="delete from dangxiao_quanxian_info where qx_biaoji='".$qx_biaoji."' "
索引失效 准备数据: CREATE TABLE `dept` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `deptName` VARCHAR(30) DEFAULT NULL, `address` VARCHAR(40) DEFAULT NULL, ceo INT NULL , PRIMARY KEY (`id`) ) ENGINE=INNODB A