Rx_
Nothing In Moderation
- Local time
- Today, 10:27
- Joined
- Oct 22, 2009
- Messages
- 2,803
After moving the data and much of the query logic from UDF (user defined functions) into TSQL, I suspected Nulls would be a challange.
Sort: Area (Text) then Category (Text)
A query - with Sort By on a text field.
The text field can have a value (Format: Category <space> Number)
OR Null (name has yet to be assigned)
No problem to sort the Category.
The customer wants all of the Nulls at the bottom.
The Sort would look like this:
Area 1 Category1
Area 1 Category2
Area 1 Category3
Area 2 Category1
Area 2 Category2
Area 2 Category3
Area 1
Area 1
Area 1
Area 2
Area 2
Area 2
A default Acending puts the Null Categories at the top.
Any ideas appreciated.
Sort: Area (Text) then Category (Text)
A query - with Sort By on a text field.
The text field can have a value (Format: Category <space> Number)
OR Null (name has yet to be assigned)
No problem to sort the Category.
The customer wants all of the Nulls at the bottom.
The Sort would look like this:
Area 1 Category1
Area 1 Category2
Area 1 Category3
Area 2 Category1
Area 2 Category2
Area 2 Category3
Area 1
Area 1
Area 1
Area 2
Area 2
Area 2
A default Acending puts the Null Categories at the top.
Any ideas appreciated.