我用的是sqlserver2000数据库
此数据库里有一个数据表
此数据表里有一个的存储图片地址的字段 images用SQL语句怎么写列出 images 不为空的数据即 select * from xx where x_image !=''或者 select * from xx where x_image !=null或者 select * from xx where x_image !='' and x_image !=null
====================
请问到底如何写才对?
此数据库里有一个数据表
此数据表里有一个的存储图片地址的字段 images用SQL语句怎么写列出 images 不为空的数据即 select * from xx where x_image !=''或者 select * from xx where x_image !=null或者 select * from xx where x_image !='' and x_image !=null
====================
请问到底如何写才对?
TextBox1.Text="";如果上传有图片就TextBox1.Text="图片地址";
=================
所以我最好是 select * from xx where x_image <>''就可以了