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

From dbscript Online Help
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
|-
+
|- valign="top"
 
| '''Table
 
| '''Table
 
| public.statisticsreportdata
 
| public.statisticsreportdata
|-
 
 
|}
 
|}
  
 
+
=== 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 14:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description
| '''Index
+
 
+
|- valign="top"
|-
 
 
| id
 
| id
 
| integer
 
| integer
 
| not null
 
| not null
| nextval('opennmsnxtid'::regclass)
 
| pk_statsdata_id
 
 
|  
 
|  
|-
+
|
 +
|- valign="top"
 
| reportid
 
| reportid
 
| integer
 
| integer
Line 31: Line 28:
 
|  
 
|  
 
|  
 
|  
| statsdata_unique
+
|- valign="top"
|-
 
 
| resourceid
 
| resourceid
 
| integer
 
| integer
Line 38: Line 34:
 
|  
 
|  
 
|  
 
|  
| statsdata_unique
+
|- valign="top"
|-
 
 
| value
 
| value
 
| double precision
 
| double precision
Line 45: Line 40:
 
|  
 
|  
 
|  
 
|  
|
 
 
|}
 
|}
  
 +
=== Primary Key ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Primary Key
 +
| '''Columns
 +
|- valign="top"
 +
| pk_statsdata_id
 +
| id
 +
|}
 +
 +
=== Indexes ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Index
 +
| '''Type
 +
| '''Columns
  
 +
|- valign="top"
 +
| statsdata_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"
Line 55: Line 71:
 
| '''Column
 
| '''Column
 
| '''Referenced Column
 
| '''Referenced Column
+
 
|-
+
|- valign="top"
 
| [[public.statisticsreport_(table)|public.statisticsreport]]
 
| [[public.statisticsreport_(table)|public.statisticsreport]]
 
| reportid
 
| reportid
 
| id
 
| id
|-
+
|- valign="top"
 
| [[public.resourcereference_(table)|public.resourcereference]]
 
| [[public.resourcereference_(table)|public.resourcereference]]
 
| resourceid
 
| resourceid
 
| id
 
| id
 
|}
 
|}

Latest revision as of 10:20, 27 August 2011

wikibot[edit]

Table public.statisticsreportdata

Columns[edit]

Column Data Type Nullable Default Description
id integer not null
reportid integer not null
resourceid integer not null
value double precision not null

Primary Key[edit]

Primary Key Columns
pk_statsdata_id id

Indexes[edit]

Index Type Columns
statsdata_unique reportid, resourceid

Foreign Keys[edit]

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