PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV (earlier versions)
→
Bug sur instruction LIMIT et éditeur de requête WB24 avec MariaDB 10.4.10
Bug sur instruction LIMIT et éditeur de requête WB24 avec MariaDB 10.4.10
Started by Philippe, Jul., 20 2020 9:24 AM - No answer
Connect yourself…
Philippe
#1
Posted on July, 20 2020 - 9:24 AM
Bonjour,
Une requête paramétrée incluant l'instruction MariaDB LIMIT et construite via l'éditeur de requête WB24 n'est absolument pas prise en compte
Code SQL généré par l'éditeur de requête:
SELECT
clients.ClientID AS CodeClient,
clients.ClientNom AS ClientNom,
clients.ClientPrenom AS ClientPrenom,
clients.ClientAge AS ClientAge
FROM
clients
WHERE
clients.ClientNom LIKE {ParamClientNom}% ORDER BY
CodeClient ASC
LIMIT {ParamLimite}
Instructions dans la section "Initialisation la table" sur le champ Table de la page:
REQ_Clients.ParamLimite=5
REQ_Clients.ParamClientNom = "Stewart"
Le résultat affiché dans la table comporte la totalité des 250 enregistrements "Stewart" au lieu des 5 prévus.
J'ai même mis une chaine de caractères pour ParamLimite afin de faire planter la requête. Peine perdue, les 250 records de ma base test se sont quand même affichés
A noter que la limite est bien prise en compte en mode "test de la requête" sous l'éditeur de requête.
Report
0
0
→ Go back to WEBDEV (earlier versions)
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text