Forum Moderators: coopster
I have a reference number of 14 characters in this format:
20081117120045
It's basically a timestamp but not really stored that way. I have it that way because an app I am using, requires it to be like so.
If i store it as 14 character INT, it gets converted to a much smaller number.
If I store it as 14 character FLOAT, it gets stored as 2.00811e+13 which is not what I want.
I just want it stored as 20081117120045 and I would like to be able to find it relatively quickly when running a query or a search.
I am not sure VARCHAR will cut it for searching for it with a query, it might be a bit slow.
Does anybody have any recommendations for this?