Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
version:web:fonction:editeuretat:dataset [2020/04/24 10:38] nicolas |
version:web:fonction:editeuretat:dataset [2021/07/19 17:43] (Version actuelle) nicolas |
||
---|---|---|---|
Ligne 4: | Ligne 4: | ||
Vous pouvez aussi consulter | Vous pouvez aussi consulter | ||
- | * [[:version: | + | * [[clientlourd:autres: |
* [[: | * [[: | ||
* [[: | * [[: | ||
Ligne 20: | Ligne 20: | ||
- Afin l' | - Afin l' | ||
- | Afin de faciliter le choix des données qui vont être traitées, il est possible de lancer à l' | + | Afin de faciliter le choix des données qui vont être traitées, il est possible de lancer à l' |
===== La gestion du pré-filtre ===== | ===== La gestion du pré-filtre ===== | ||
Ligne 26: | Ligne 26: | ||
==== Paramétrer dans l' | ==== Paramétrer dans l' | ||
- | {{: | + | {{: |
* initialiser à " | * initialiser à " | ||
Ligne 41: | Ligne 41: | ||
===== Le DataSet TfrxQuery de Logeas informatique ===== | ===== Le DataSet TfrxQuery de Logeas informatique ===== | ||
- | Quelques informations complémentaire pour les développeurs and co | + | |
+ | Quelques informations complémentaire pour les développeurs and co\\ | ||
+ | **Unité D: | ||
+ | |||
==== Organisation des interaction entre les filtrages ==== | ==== Organisation des interaction entre les filtrages ==== | ||
Le principe de fonctionnement retenu est le suivant : | Le principe de fonctionnement retenu est le suivant : | ||
Ligne 92: | Ligne 96: | ||
==== Syntaxe SQL de la requête ==== | ==== Syntaxe SQL de la requête ==== | ||
=== Fonctions disponibles === | === Fonctions disponibles === | ||
- | [[https:// | + | [[https:// |
- | MATH.TRIG | + | |
- | SIN(x) | + | |
- | COS(x) | + | |
- | TAN(x) | + | |
- | LOG(x) | + | |
- | LOG2(x) | + | |
- | EXP(x) | + | |
- | MATH | + | |
- | TRUNC(x) Returns integer part | + | |
- | FRAC(x) Returns fractional part | + | |
- | MOD(x,y) Return remainder after integer division | + | |
- | DIV(x,y) Integer division | + | |
- | SQRT(x) Square root | + | |
- | SQR(x) Square. Same as x*x | + | |
- | ROOT(x,y) Calculate y’th root of x. | + | |
- | MIN(x1.., | + | |
- | MAX(x1.., | + | |
- | AVG(x1..xn) Return average value of all arguments | + | |
- | SUM(x1.., | + | |
- | ABS(x) Return absolute (Non negative) value of x | + | |
- | POW(x,y) Return x in the power of y | + | |
- | STRING | + | |
- | UPPER(x) Return uppercase value | + | |
- | LOWER(x) Return lowercase value | + | |
- | TRIM(x) Return value trimmed for leading and trailing spaces | + | |
- | MID(x,y,z) Return z characters from x starting at y (first character is 1) | + | |
- | LEFT(x,y) Return y leftmost characters of x | + | |
- | RIGHT(x,y) Return y rightmost characters of x | + | |
- | LENGTH(x) Return the length in characters of x | + | |
- | LEFTPAD(x, | + | |
- | RIGHTPAD(x, | + | |
- | CHR(x) Convert the integer value x to a unicode character | + | |
- | POS(x,y) Return the position in y, where the substring x is to be found. 0 is returned if x is not in y | + | |
- | REPLACE(x, | + | |
- | SPLIT(x, | + | |
- | DATETIME | + | |
- | NOW Returns current date and time as a Delphi TDateTime type floating point value. | + | |
- | DATE(x) Returns the date part of x which is a Delphi TDateTime type floating point value, as an integer. Same as TRUNC(somedate) | + | |
- | TIME(x) Returns the time part of x which is a Delphi TDateTime type floating point value as a float. Same as FRAC(somedate) | + | |
- | YEAR(x) Returns the year as an integer (2017) of the Delphi TDateTime type floating point value. | + | |
- | MONTH(x) Returns the month as an integer (1 = Jan, 12=Dec) of the Delphi TDateTime type floating point value. | + | |
- | DAY(x) Returns the day of month as an integer (1..31) of the Delphi TDateTime type floating point value. | + | |
- | HOURS(x) Returns the hour value as an integer (0..23) of the Delphi TDateTIme type floating point value. | + | |
- | MINUTES(x) Returns the minutes part as an integer (0..59) of the Delphi TDateTime type floating point value. | + | |
- | SECONDS(x) Returns the seconds part as an integer (0..59) of the Delphi TDateTime type floating point value. | + | |
- | DATESTRING(x) Returns the date of a Delphi TDateTime type floating point value as a formatted string according to the FormatSettings defined on the TkbmMemSQL component. | + | |
- | TIMESTRING(x) Returns the time of a Delphi TDateTime type floating point value as a formatted string according to the FormatSettings defined on the TkbmMemSQL component. | + | |
- | CAST | + | |
- | CASTTODATETIME(x) Casts x to a Delphi TDateTime floating point value. If x is a string, it will be parsed according to the FormatSettings. | + | |
- | CASTTOSTRING(x) Casts x to a string. If x is a TDateTime value, it will be converted to a date/time string value according to the FormatSettings. | + | |
- | CASTTONUMBER(x) Casts x to a number. If x is a string, it will be converted to a floating point value according to the FormatSettings. | + | |
- | CONDITIONAL | + | |
- | IF(x,y,z,v) Depending on x, either y, z or v (optional) will be returned. If x is true, then y will be returned. If x is false, then z will be returned and if x is null then v alternative z will be returned if v is not specified. | + | |
- | ISNULL(x) Return true or false depending on if x is null. | + | |
- | CONVERSION | + | |
- | DATATYPE(x, | + | |
+ | === Fonctions ajoutées === | ||
+ | ^Nom et format^Explication^ | ||
+ | |StrMonth(< | ||
+ | ==== Syntaxe SQL ==== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | === Limitations/ | ||
+ | |||
+ | | ||
+ | * les requettes doivent être au format SQL pas au format mormot !!! | ||
+ | * les parametre dans les requettes SQL ne sont pas gérés | ||
+ | * lors des regroupement par Group BY le renommage des champs initiaux d'une table pose probléme | ||
+ | | ||
+ | * lors d'un plantage (mauvaise requette par exemple) il arrive que les tables disparaisse... Fermer le logiciel et rechargé !!! | ||