posted_at.cast(Date) works perfectly ,:-)

在 2013年2月1日星期五UTC+8下午2时24分47秒,吴玉宏写道:
>
> hi everyone,
>  I have a trouble in the the following sql
> select 
>      convert(nvarchar(10), posted_at, 120) as PostDate
> from 
>     transactions
> group by 
>     convert(nvarchar(10), posted_at, 120)
>
> I want to implement it in sequel code, is there any nice Sequel method can 
> do this ?
>
>    Thanks in advance
>                  David Wu 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to