小弟在使用临时表的时候有一些错误,希望大虾们指点迷津~
(1)select * into #temp from table;  这句话报错  如果去掉#就会成功,也就是 select * into temp from table;就会成功,看网上的帖子#应该是有的,是网上错了还是什么问题?
(2)还是上面的语句 select * into #temp from table distributed by id;会说在distributed 报错,如果加上这个属性的话应该加在什么地方?select * into #temp distributed by id from table;也是错的
我用的是psql,会不会跟数据库有关?
请大家帮忙了~