Welcome Guest, Not a member yet? Register   Sign In
$this->db->distinct() weirdness with PostgreSQL
#3

[eluser]redguy[/eluser]
Something like:
Code:
SELECT DISTINCT *
FROM questions;

is possible. But that just returns every row, since each row has/should an unique identifier. It's also not SQL compliant. In PostgreSQL you always have to supply at least one column name.


Messages In This Thread
$this->db->distinct() weirdness with PostgreSQL - by El Forum - 04-18-2008, 02:25 AM
$this->db->distinct() weirdness with PostgreSQL - by El Forum - 04-18-2008, 04:43 AM
$this->db->distinct() weirdness with PostgreSQL - by El Forum - 04-18-2008, 05:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB