Archives of the TeradataForum
Message Posted: Wed, 27 Feb 2013 @ 11:04:12 GMT
Looks like you are retrieving years data ((date '2012-02-26') AND (date'2013-02-26') by using between function in the first sql, which might take time if you have lot of data.
SQL 2 : you are querying only with respect to date (2013-02-22)
|Copyright 2016 - All Rights Reserved|
|Last Modified: 23 Jun 2019|