Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/63.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mysql 创建视图时如何使用临时表?_Mysql_View_Temp - Fatal编程技术网

Mysql 创建视图时如何使用临时表?

Mysql 创建视图时如何使用临时表?,mysql,view,temp,Mysql,View,Temp,MySQL在创建视图时不允许临时表,有什么解决办法吗?也许你可以使用一个带有ENGINE=MEMORY的永久表作为中途之家。只需记住在使用完后将其截断即可

MySQL在创建视图时不允许临时表,有什么解决办法吗?

也许你可以使用一个带有
ENGINE=MEMORY
的永久表作为中途之家。只需记住在使用完后将其截断即可