想用SQL里面的正则输出,但找不到解决办法,帮个忙,谢谢啦

解决方案 »

  1.   

    就是有很多链接
    http://community.csdn.net/Expert/topic/5474/5474432.xml
    http://community.csdn.net/Expert/topic/5474/5474432.gif
    http://community.csdn.net/Expert/topic/5474/5474432.jpg
    http://community.csdn.net/Expert/topic/5474/5474432.html
    ....
    我想输出没有*.gif,*.jpg这些文件的连接,应该如何写这句SQL?
      

  2.   

    试试:
    select * from tablename
    where columnname not regexp "\.[gif|jpg]$"