ADSM-L

Re: [ADSM-L] query node vs select * from nodes

2010-03-26 16:12:25
Subject: Re: [ADSM-L] query node vs select * from nodes
From: Grigori Solonovitch <G.Solonovitch AT BKME DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 26 Mar 2010 23:03:00 +0300
I think problem is not in query format:
"select  *  from events" only information for current day.
In addition, most possible "q events" takes data from table SUMMARY, not from 
EVENTS.
By the way, I am not sure I am right.

________________________________________
From: ADSM: Dist Stor Manager [ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
Guenther Bergmann [guenther_bergmann AT GBERGMANN DOT DE]
Sent: Friday, March 26, 2010 8:22 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: [ADSM-L] query node vs select * from nodes

Hi TSMers,

If i do:
q event * *  begind=today-1
i get a lot of output for events that happened yesterday.

If i issue:
select * from events where days(current_timestamp)-days(scheduled_start)>1

i get no results. Can someone explain the difference? What does q event do
other than selecting information from the events table?

Thanks in advance

regards Günther

--
Guenther Bergmann, Am Kreuzacker 10, 63150 Heusenstamm, Germany
Guenther_Bergmann at gbergmann dot de

Please consider the environment before printing this Email.

"This email message and any attachments transmitted with it may contain 
confidential and proprietary information, intended only for the named 
recipient(s). If you have received this message in error, or if you are not the 
named recipient(s), please delete this email after notifying the sender 
immediately. BKME cannot guarantee the integrity of this communication and 
accepts no liability for any damage caused by this email or its attachments due 
to viruses, any other defects, interception or unauthorized modification. The 
information, views, opinions and comments of this message are those of the 
individual and not necessarily endorsed by BKME."

<Prev in Thread] Current Thread [Next in Thread>