> For the complete documentation index, see [llms.txt](https://docs.videc.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.videc.de/june5-3.7/datenquellenunterstuetzung-und-einbindung/microsoft-ole-db/sql-tabelle-messwerte.md).

# SQL Tabelle Messwerte

Die Tabelle der Messwerte enthält die im JUNE5 zu importierenden Messwerte. Bei der Konfiguration der JUNE5 Datenquelle wird festgelegt, aus welchen Tabellen die Messwerte extrahiert werden sollen. Die folgende Tabelle zeigt eine mögliche Struktur einer SQL-Tabelle mit den Messwerten.

| SolarTagID | SolarRawDateTime         | SolarRawValue |
| ---------- | ------------------------ | ------------- |
| 3          | 2018-01-01 00:01:00.000  | 4             |
| 3          | 2018-01-01 00:02:00.000  | 2             |
| 3          | 2018-01-01 00:03:00.000  | 3             |
| 3          | 2018-01-01 00:04:00.000  | 4             |
| 3          | 2018-01-01 00:05:00.000  | 5             |
| 3          | 2018-01-01 00:06:00.000  | 6             |
| 3          | 2018-01-01 00:07:00.000  | 7             |
| 3          | 2018-01-01 00:08:00.000  | 8             |
| 3          | 2018-01-01 00:09:00.000  | 9             |
| 3          | 2018-01-01 00:010:00.000 | 10            |
| 3          | 2018-01-01 00:011:00.000 | 11            |

Es können für eine Datenquelle bis zu elf verschiedene Tabellen mit Messwerten festgelegt werden. Optional ist es möglich sämtliche Daten in einer einzigen Tabelle zu speichern. In diesem Fall muss in JUNE5 nur eine Tabelle parametriert werden. Die folgende Tabelle stellt die Zuordnung der Spalten einer SQL Tabelle mit den Messwerten zu denen von JUNE5 dar.

| Fester Spaltenname | Eindeutige Kennung in JUNE5 | Mögliche Name in einer SQL Tabelle | Beschreibung                 |
| ------------------ | --------------------------- | ---------------------------------- | ---------------------------- |
| TagID              | DataSourceID                | SolarTagID                         | Identifikation der Messgröße |
| Value              | Value                       | SolarRawValue                      | Wert                         |
| Timestamp          | Timestamp                   | SolarRawDateTime                   | Zeitstempel des Wertes       |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.videc.de/june5-3.7/datenquellenunterstuetzung-und-einbindung/microsoft-ole-db/sql-tabelle-messwerte.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
