我定义了个函数myfunc(datestr char(7),flag char(1))然后,我select 1 个表select ffdate from basic1 where ffdate<=myfunc('2009-03','1')拒不执行,报......
我定义了个函数myfunc(
datestr char(7),
flag char(1)
)
然后,
我select 1 个表
select ffdate from basic1 where ffdate<=myfunc('2009-03','1')
拒不执行,报“不可识别的function”
然后试了试
select ffdate from basic1 where ffdate<=myfunc(char'2009-03'),char('1'))
执行了
我真败了
|