无限精彩,DreamflyIT世界!

有一种执著叫坚持,有一种梦想叫超越!

导航

access的SQL的问题

Posted on 2006-05-06 11:11  韦忠波  阅读(311)  评论(1编辑  收藏  举报
select [name],content=substring(content,0,20)+'...',subject from word
在 sql server里面执行是没有问题的,但在access中是有问题的
改成 select [name],left(content,20)+'...' as content,subject from word 
试试。Access不支持SQL函数(substring),但是支持所有vba函数。