I have a table that is storing the year month and day in three separate columns. It uses smallint. I need to be able to do a select statement in a stored procedure that pulls the most recent date. Problem is I can't seem to convert it properly in one select statement and be able to accurately pull in the most recent date.
↧