Giter Club home page Giter Club logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
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 [email protected] on 22 Apr 2013 at 12:27

from odbc.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
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 [email protected] on 27 Apr 2013 at 6:39

from odbc.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
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 [email protected] on 2 May 2013 at 7:28

from odbc.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 26, 2024
Glad it works for you.

Alex

Original comment by [email protected] on 3 May 2013 at 1:30

  • Changed state: Invalid

from odbc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.