Closed GoogleCodeExporter closed 9 years ago
I tried to use MIN/MAX here (I connect to ms sql server from linux using
freetds-0.91), and it works just fine. Can you, please, show your Go code?
Perhaps, I could give you instructions on how to diagnose the problem. Thank
you.
Alex
Original comment by alex.bra...@gmail.com
on 22 Apr 2013 at 12:27
Try this SQL:
SELECT "SalesOrder"."id", min("SalesOrderLineItem"."promisedate") as
minpromisedate FROM "Golang"."SalesOrder", "Golang"."SalesOrderLineItem" WHERE
"SalesOrderLineItem"."salesorderid" = "SalesOrder"."id" Group BY
"SalesOrder"."id" ORDER BY "SalesOrder"."id" asc LIMIT 10 OFFSET 0
I named the min column. See if that works for you.
Original comment by lukemaul...@gmail.com
on 27 Apr 2013 at 6:39
Hey,
sorry for my late answer. It was a problem with the datatype I was saving
the results to.
Your package works great :)
Original comment by frabl...@gmail.com
on 2 May 2013 at 7:28
Glad it works for you.
Alex
Original comment by alex.bra...@gmail.com
on 3 May 2013 at 1:30
Original issue reported on code.google.com by
frabl...@gmail.com
on 13 Mar 2013 at 3:19