|
Opius posted:Thanks for the help with the voting query, but I have another question regarding grouping DATETIME fields. There are probably more elegant ways to do this, but I've done something similar by taking the Unix time ticks and dividing it by the unit of time in seconds. If the division doesnt give a whole integer, truncate it to an integer. Multiply it back by your unit of time, and you should have everything grouped up with 10 minute time units.
|
# ¿ Dec 10, 2007 01:47 |
|
|
# ¿ May 2, 2024 20:19 |
|
Sybase is very similiar to SQL Server. (SQL Server descends from Sybase if I remember it right). Querying against sys_objects would be your best bet.
|
# ¿ Dec 22, 2007 06:22 |