Difference between revisions of "Public.statisticsreportdata (table)"

From dbscript Online Help
Jump to: navigation, search
Line 9: Line 9:
  
  
 +
=== Columns ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
|- style="background:silver"
Line 15: Line 16:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description
| '''Index
 
 
 
 
|-
 
|-
Line 23: Line 23:
 
| not null
 
| not null
 
| nextval('opennmsnxtid'::regclass)
 
| nextval('opennmsnxtid'::regclass)
| pk_statsdata_id
 
 
|  
 
|  
 
|-
 
|-
Line 31: Line 30:
 
|  
 
|  
 
|  
 
|  
| statsdata_unique
 
 
|-
 
|-
 
| resourceid
 
| resourceid
Line 38: Line 36:
 
|  
 
|  
 
|  
 
|  
| statsdata_unique
 
 
|-
 
|-
 
| value
 
| value
 
| double precision
 
| double precision
 
| not null
 
| not null
|
 
 
|  
 
|  
 
|  
 
|  
 
|}
 
|}
  
 +
=== Primary Key ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Primary Key
 +
| '''Columns
 +
|-
 +
| pk_statsdata_id
 +
| id
 +
|}
  
 +
=== Indexes ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Index
 +
| '''Type
 +
| '''Columns
 +
 +
|-
 +
| statsdata_unique
 +
| Unique
 +
| reportid, resourceid
 +
|}
  
 +
=== Foreign Keys ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
|- style="background:silver"

Revision as of 09:33, 11 February 2010

wikibot

Table public.statisticsreportdata


Columns

Column Data Type Nullable Default Description
id integer not null nextval('opennmsnxtid'::regclass)
reportid integer not null
resourceid integer not null
value double precision not null

Primary Key

Primary Key Columns
pk_statsdata_id id

Indexes

Index Type Columns
statsdata_unique Unique reportid, resourceid

Foreign Keys

Relation Column Referenced Column
public.statisticsreport reportid id
public.resourcereference resourceid id