Basically for every record I want primary key of date + incrementing integer, and the integer resets every day.
Is this possible in SQL?
Edit: Thanks for the responses. I would consider doing this at the application layer, but the painful part is accessing the integer part. Another solution is to calculate the date
at the application layer, update/retrieve the integer then insert the new record. Then reset the the variable at the end of the day.