Re: [SPAM]Re: e: Select distinct year from unix timestamp

2004-05-16 Thread John Fawcett
From: "Paul DuBois" > At 17:50 -0500 5/16/04, Paul DuBois wrote: > > Not a huge difference, I guess. But I suppose if a query that > uses one or the other of these expressions processes a large number > of rows, it might pay to run some comparative testing. > Another interesting point is whether

Re: e: Select distinct year from unix timestamp

2004-05-16 Thread Paul DuBois
At 17:50 -0500 5/16/04, Paul DuBois wrote: At 0:38 +0200 5/17/04, John Fawcett wrote: From: "Paul DuBois" You're right. You'd have to apply YEAR() to FROM_UNIXTIME(UNIX_TIMESTAMP(arg)). and you can avoid YEAR() altogether by using a format string. in FROM_UNIXTIME() Right again. :-) I was curiou

Re: e: Select distinct year from unix timestamp

2004-05-16 Thread Paul DuBois
At 0:38 +0200 5/17/04, John Fawcett wrote: From: "Paul DuBois" You're right. You'd have to apply YEAR() to FROM_UNIXTIME(UNIX_TIMESTAMP(arg)). and you can avoid YEAR() altogether by using a format string. in FROM_UNIXTIME() Right again. :-) -- Paul DuBois, MySQL Documentation Team Madison, Wisco

Re: e: Select distinct year from unix timestamp

2004-05-16 Thread John Fawcett
From: "Paul DuBois" > You're right. You'd have to apply YEAR() to > FROM_UNIXTIME(UNIX_TIMESTAMP(arg)). and you can avoid YEAR() altogether by using a format string. in FROM_UNIXTIME() John -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http:/