----------------------------------
CREATE FUNCTION waitorder()
RETURNS nvarchar AS
BEGIN
while(select count(*) from table1)<10
return 'a'
END
...全文
2027打赏收藏
自定义用户函数里如何使用while?
while出错... ---------------------------------- CREATE FUNCTION waitorder() RETURNS nvarchar AS BEGIN while(select count(*) from table1)<10 return 'a' END