insert into 时无法select first?
请教大家一下,我insert into t1 selectfirst 1 * from t2 where flag=1,报错,Cannot use "first" in this context.,那我想把t2的flag=1的任意一行接入t1应该怎么办?(t1和t2都是临时表) 说的很明白了,带into的上下文不允许使用first n 的句法。你可以使用带有max,min函数的子句来迫使只有唯一的一条记录满足条件。
页:
[1]