Changeset 1234
- Timestamp:
- 12/18/06 13:01:42 (6 years ago)
- File:
-
- 1 edited
-
ccsd/trunk/dbschema/ccs.schema (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ccsd/trunk/dbschema/ccs.schema
r1228 r1234 1045 1045 1046 1046 -- List of assets available for use as a new host at a site 1047 CREATE VIEW site_host_assets_avail AS SELECT * FROM site_assets sa WHERE 1047 CREATE VIEW site_host_assets_avail AS SELECT sa.* FROM site_assets sa, asset a, 1048 asset_type_map atm WHERE sa.asset_id=a.asset_id AND 1049 a.asset_type_id=atm.asset_type_id AND atm.asset_function='host' AND 1048 1050 sa.asset_id NOT IN (SELECT asset_id FROM site_hosts WHERE 1049 site_id=sa.site_id);1051 asset_id IS NOT NULL AND site_id=sa.site_id); 1050 1052 1051 1053 -- List of interface subassets available for use on a host
Note: See TracChangeset
for help on using the changeset viewer.
