I have a table that isn't going to get very big and contains the name of a client account and a user's alias. I'm importing this information from production in order to run a few reports.
To help out with management of the table contents, I'm adding a simple AddUser stored procedure where first I want to check if the client account/alias combo already exists in the table.
Since I want this check to be case insensitive, I considered using LOWER
or like
when comparing the values.
Probably in this scenario, I wouldn't see a big difference either way with regard to performance, but it made me wonder if there is a best practice when doing this sort of thing.
many thanks!