Top "Nullable" questions

The nullable tag is for issues relating to nullable members or types.

What are lifted operators?

I was looking at this article and am struggling to follow the VB.NET example that explains lifted operators. There …

c# .net nullable lifted-operators
Is it possible to use operator ?? and throw new Exception()?

I have a number of methods doing next: var result = command.ExecuteScalar() as Int32?; if(result.HasValue) { return result.Value; } …

c# .net nullable null-coalescing-operator
Adding detectable Nullable values to CsvHelper

I was wondering if CsvHelper by Josh Close has anything in the configuration I am missing to translate values to …

string nullable csvhelper
SQL Server ALTER field NOT NULL takes forever

I want to alter a field from a table which has about 4 million records. I ensured that all of these …

sql sql-server nullable blocking ddl
How to use double.TryParse when the output is allowed to be null?

In my application I have a textbox - txtDiscount where the admin can set a discount percentage for a certain …

c# nullable tryparse
Entity Framework Non-nullable column is mapped to a nullable entity property

I am getting this nullable column error message in Entity Framework 4.1 - when the column is not actually nullable: Non-nullable …

c# entity-framework mapping poco nullable
Django : Order by position ignoring NULL

I have a problem with django queryset ordering. My model contains a field named position (a PositiveSmallIntegerField), which I'd like …

django sql-order-by nullable
MySQL ON DUPLICATE KEY UPDATE with nullable column in unique key

Our MySQL web analytics database contains a summary table which is updated throughout the day as new activity is imported. …

mysql nullable summarization
How can I constrain multiple columns to prevent duplicates, but ignore null values?

Here's a little experiment I ran in an Oracle database (10g). Aside from (Oracle's) implementation convenience, I can't figure out …

oracle null nullable constraints unique-index
How to join MySQL tables using a nullable column?

I'm a little bit out of practice with MySQL, so I hope I can find some advice for my problem …

mysql sql join nullable