I have a SQL 2000 database with columns
FirstName, Lastname and Nickname. I'd like to create a view that returns the list such that the Nickname is returned as the first column if that row contains one a nickname or the FirstName if a Nickname doesn't exist. The kicker is I'd like the Nickname/FirstName first column to be the primary sort.
James, Burton, Jim
William, Inky, Bill
anyone know how I might accomplish this in a select statement? Thanks very much in advance.