0

If I have a SQL statement in a way like this: Is the result of Now() the same in the complete statement? Or, if some sub-queries take several minutes, different at several places?

select 
     *
from 
     table_x 
          join (select * from table_z where <different criteria and y = now() ) tablez on <joincontext>   
where 
     <different criteria> and x = now()
union 
select 
     * 
from 
     table_x 
where 
     <different criteria> and x = now()
Stivan
  • 1,128
  • 1
  • 15
  • 24
PSVSupporter
  • 248
  • 3
  • 16

0 Answers0