Re: group by on mssql_query
| From: | admin at buskirkgraphics dot com | Date: | Thu, 14 Feb 2008 21:13:14 +0000 |
| Subject: | Re: group by on mssql_query | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-269328@lists.php.net to get a copy of this message | ||
Column 'location_city.dst' is invalid in the select list because it is not contained in
either an aggregate function or the GROUP BY clause.
Not fimilar with MSSQL to be honest.
On Thu, Feb 14, 2008 at 4:00 PM, <admin@buskirkgraphics.com> wrote:
> $ford = mssql_query("SELECT name FROM Table GROUP BY name");
What do you see when you replace the above line with this?
$ford = mssql_query("SELECT name FROM Table GROUP BY name") or
die(mssql_get_last_message());
--
</Dan>
Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>