La siguiente sentencia MySQL combina un dato y una columna de tiempo para aplicar un rango filtrado sobre ambas columnas.
The following MySQL query combines a data and a time column to apply a range filter on both of them.
El problema ocurre también con las bases de datos que tienen un tipo de fechas puras si se busca por un periodo largo como se muestra en la siguiente sentencia MySQL: SELECT...
The problem also occurs with databases that have a pure date type if you search for a longer period as shown in the following MySQL query: SELECT...
Alte rezultate
Ingrese un punto y coma para completar la sentencia, y mysql la ejecutará
Enter a semicolon to complete the statement, and mysql executes it
Mostramos aquí una lista de sentencias útiles de MySQL que ayudarán a administrar su servidor.
Here is a list of useful MySQL commands that will help manage your server.
Ejecute las siguientes sentencias en el cliente mysql
Usar permisos simples cuando se ejecuta una sentencia GRANT permite a MySQL reducir la carga en la verificación de permisos cuando los clientes ejecutan sentencias.
Using simpler permissions when you issue GRANT statements enables MySQL to reduce permission-checking overhead when clients execute statements.
En esta sentencia SELECT, MySQL informa al cliente que la primer columna es una cadena, y convierte todos los accesos a @a en cadenas, aún cuando @a recibe un valor numérico en la segunda línea.
For this SELECT statement, MySQL reports to the client that column one is a string and converts all accesses of @a to strings, even though @a is set to a number for the second row.
En las siguientes publicaciones cubro el uso de sentencias preparadas de MySQL que ofrecen protección contra esto, aún si esto no fue por que fueron originalmente implementadas (fue por velocidad).
In the next posts I cover the use of prepared MySQL statements which offer protection against this, even if that was not why they were originally implemented (it was for speed).
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple