TSM SQL Help

newtotivoli

ADSM.ORG Member
Joined
Feb 24, 2011
Messages
74
Reaction score
0
Points
0
Hi, Can anyone let me know how to get max (backup_end) from below statement?

select o.node_name,date(o.lastacc_time),o.url,f.backup_end,m.type from filespaces as f,nodes as o,occupancy as m where o.node_name=f.node_name

Any help is appreciated.
 
Hi, Can anyone let me know how to get max (backup_end) from below statement?

select o.node_name,date(o.lastacc_time),o.url,f.backup_end,m.type from filespaces as f,nodes as o,occupancy as m where o.node_name=f.node_name

Any help is appreciated.

Hi,

The following will give you the last start and end of the client backup from the Filespaces table for node RHEL65 (example):

select backup_start,backup_end from filespaces node_name=RHEL65
 
Hi,

The following will give you the last start and end of the client backup from the Filespaces table for node RHEL65 (example):

select backup_start,backup_end from filespaces node_name=RHEL65

Sorry, need single quotes:

select backup_start,backup_end from filespaces node_name='RHEL65'
 
Back
Top