Tagged Questions
3
votes
2answers
774 views
Is there a more concise way to convert a UTC datetime into a local date only?
I am trying to write a query that groups records based on the local date part only of a UTC datetime field.
For example, if my table contains 10/19/2012 2:00:00, then it should get grouped as ...
7
votes
2answers
170 views
Is there way to join every row of TableA to a row of the smaller TableB by repeating TableB however many times are needed?
Sorry for the confusing title, I wasn't sure what to write there.
I have a table of a few hundred records. I need to assign each record of this table to a much smaller dynamic table of users, and the ...