"As you might imagine," Misho writes, "there is a lifetime supply of Whiskey Tango Foxtrot when you work on a project that Rumen helped develop."

"But this one in particular stood out."

public string GetLoginByFirstAndLastName(string firstSpaceLastName) {
    var result = this.ExecuteScalar(
        "sp_user_login_by_first_space_last_name", 
        firstSpaceLastName);

    if (result != null)
    {
        return this.ExecuteScalar(
            "sp_user_login_by_first_space_last_name", 
            firstSpaceLastName)
          .ToString();
    }
    return "";
}

Misho adds, "aside from the obvious issues, I should add that the combination of first and last name in our system is not unique."

[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!