Search Results
https://dev.mysql.com/doc/refman/9.7/en/set.html
For binary or case-sensitive collations, lettercase is taken into account when assigning values to the column. For example, you can retrieve numeric values from a SET column like this: mysql> SELECT set_col+0 FROM tbl_name; If a number is stored ...
https://dev.mysql.com/doc/internals/en/innodb-field-contents.html
Helpful Notes About NULLs: For the third row, I inserted NULLs in FIELD2 and FIELD3. The Field Contents part of the record has all the data. There are no markers between fields, and there is no marker or filler at the end of a record. I made a ...
https://dev.mysql.com/doc/ndbapi/en/ndb-examples-event-handling.html
The source code for this program may be found in the NDB Cluster source tree, in the file storage/ndb/ndbapi-examples/ndbapi_event/ndbapi_event.cpp. #include <NdbApi.hpp> // Used for cout #include <stdio.h> #include <iostream> #include <unistd.h> ...
https://dev.mysql.com/doc/refman/9.7/en/faqs-views.html
Can you insert into views that are based on joins? A.6.1. Can you insert into views that are based on joins? It is possible, provided that your INSERT statement has a column list that makes it clear there is only one table involved. You cannot ...
https://dev.mysql.com/doc/refman/9.7/en/fractional-seconds.html
(This differs from the standard SQL default of 6, for compatibility with previous MySQL versions.) Inserting a TIME, DATE, or TIMESTAMP value with a fractional seconds part into a column of the same type but having fewer fractional digits results in ... MySQL has fractional seconds support for TIME, DATETIME, and TIMESTAMP values, with up to microseconds (6 digits) precision: To define a column that includes a fractional seconds part, use the syntax type_name(fsp), where type_name is TIME, DATETIME, or TIMESTAMP, and fsp is the fractional seconds ...
https://dev.mysql.com/doc/refman/9.7/en/innodb-autocommit-commit-rollback.html
mysql> START TRANSACTION; Query OK, 0 rows affected (0.00 sec) mysql> INSERT INTO customer VALUES (10, 'Heikki'); Query OK, 1 row affected (0.00 sec) mysql> COMMIT; Query OK, 0 rows affected (0.00 sec) mysql> -- Do another transaction with ...If ...
https://dev.mysql.com/doc/refman/9.7/en/json-duality-views-syntax.html
The CREATE JSON RELATIONAL DUALITY VIEW statement is an extension of the CREATE VIEW statement. There are some additional clauses with CREATE JSON RELATIONAL DUALITY VIEW, and some restrictions on the SELECT statement. The result set is structured ...
https://dev.mysql.com/doc/refman/9.7/en/numeric-type-attributes.html
When you insert a value of NULL into an indexed AUTO_INCREMENT column, the column is set to the next sequence value. When you insert any other value into an AUTO_INCREMENT column, the column is set to that value and the sequence is reset so that the ...(AUTO_INCREMENT sequences begin with 1.) Storing 0 into an AUTO_INCREMENT column has the same effect as storing NULL, unless the NO_AUTO_VALUE_ON_ZERO SQL mode is ...
https://dev.mysql.com/doc/refman/9.7/en/stored-programs-logging.html
Two of those invocations insert a row, and MySQL logs a SELECT statement for each of them. The binary log contains information about SQL statements that modify database contents. This information is stored in the form of “events” that describe ...
https://dev.mysql.com/doc/workbench/en/wb-generating-sql.html
MySQL Workbench can be used to generate SQL, most typically as either INSERT statements or SELECT statements. The following common methods are for generating SQL statements in MySQL Workbench. Note All of the MySQL Workbench Export options include ...