aaAnnotationInsert
- Last UpdatedMar 10, 2025
- 1 minute read
Inserts an annotation.
Syntax
aaAnnotationInsert TagName, UserKey, DateTime, DateCreated, Content, Value
where:
|
Argument |
Description |
|---|---|
|
TagName |
The unique name of the tag within the AVEVA Historian system. This value is of data type nvarchar(256), with no default. |
|
UserKey |
The unique numerical identifier for a database user as defined in the UserDetail table. This value is of data type int, with a default of NULL. |
|
DateTime |
The timestamp of the tag value for which the user has made an annotation. This value is of data type datetime2(7), with a default of NULL. |
|
DateCreated |
The date that the annotation was created. This value is of data type datetime2(7), with a default of NULL. |
|
Content |
The annotation text. This value is of data type nvarchar(1000), with a default of "Annotation." |
|
Value |
The value of the tag at the time of the annotation. This value is of data type real, with a default of 0.0. |
Permission
Execute permission defaults to the aaUsers, aaPowerUsers, and aaAdministrators groups.