Home > database > About the length of the mysql temporary field.
About the length of the mysql temporary field.
Time:09-17
Met, ladies and gentlemen, today I met a problem when I do SQL stitching, Check out of the results will be truncated, the SQL statement is no problem, in shorter data content, can complete the query, but long content, will be cut off part of Ask next bosses encountered this problem?
SELECT GROUP_CONCAT (DISTINCT CONCAT ( 'MAX (IF (time2=' ' ', Time2, "' checkNum, 0)) AS the ' ' ', Time2, '"' ) ) INTO @ SQL
CodePudding user response:
This field is complete, the following fields is not complete, there will be a part of the content of the show not to come out,
CodePudding user response:
If limit the length of the temporary field, but also should not be so small?