asp .net,sql相关问题 [英] asp .net ,sql related issue

查看:56
本文介绍了asp .net,sql相关问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如何防止表中的空值进行比较.

我们给定值,但对应的表值应为null,如何防止此类检查.请给出解决方案.

感谢所有人,
问候,
Shefeek

hi all,

How can i prevent the comparing with null value in table.

we giving value but the corresponding table value should be null,how can prevent such checking.Please give a solution.

Thanks to all,
Regards,
Shefeek

推荐答案

查看 IS [不是] NULL [ ^ ].
如果我正确猜对了您的问题,这可能会有所帮助.
Look at IS [not] NULL [^].
This may be helpful if i guessed your question correctly.


您可以使用 ISNULL [^ ]使用T-SQL函数检查列是否有值.
You can use ISNULL [^] T-SQL function to check wither the column has value or not.


这篇关于asp .net,sql相关问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆