Results 1 to 1 of 1
-
10-17-2012, 04:06 AM #1Newcomer
- Join Date
- Jul 2011
- Location
- Vienna
- Posts
- 2
- Thanks
- 0
- Thanked 0 Times in 0 Posts
query Scheduler Results and No Scheduler association
Hello,
is it possible to create a script which reports for the last day the status and result from the scheduler and also lists all nodes which have no associations or otherwise combine the following two select statements:
SELECT a.node_name, b.schedule_name, b.result, b.status FROM nodes a, events b WHERE a.node_name = b.node_name AND days(current_timestamp)-days(scheduled_start)=1
SELECT node_name FROM nodes WHERE node_name NOT IN (SELECT node_name FROM associations)
Thanks
tom
Similar Threads
-
TSM QUERY vs SELECT statement provides different results
By eviemorgan in forum ScriptingReplies: 4Last Post: 03-08-2012, 11:43 PM -
Query DRIVE Odd Results
By GregE in forum TSM ServerReplies: 10Last Post: 12-01-2010, 02:45 PM -
SQL STATEMENT query association
By dexter1972 in forum ScriptingReplies: 1Last Post: 04-12-2006, 12:30 PM -
query association & schedule
By markroe in forum ScriptingReplies: 4Last Post: 08-13-2004, 04:02 AM -
Query Results Layout
By sfcc in forum TSM Reporting & MonitoringReplies: 6Last Post: 02-02-2004, 10:02 AM


Reply With Quote
