Home All Groups Group Topic Archive Search About

RE: how do I detect nulls?

Author
19 Nov 2004 8:20 PM
DotNetJunkies User
I know its an old post . But I stumbled upon it as I was looking for some solution to my problem. I found that in oracle DB  if uou try to update a non -null coulmn with a string which has a value  set to string.empty, oracle returns an error "cannot insert Null in ...column. so I have to explicitly set the value=" " and then do the insert , and it works fine !
So i am guessing same problem may happen in comparsion as well wherin string.empty may not be working as expected

---
Posted using Wimdows.net NntpNews Component - Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.

Author
22 Nov 2004 1:28 AM
Yan-Hong Huang[MSFT]
Hi,

ADO.net should be the right group for this question. :) Thanks.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
-http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.as
p&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

AddThis Social Bookmark Button