Preflight Projects Simple solutions to complex problems.

MySQL Field FLAGS Cheatsheet for lazy bastards

Read previous article and you’ll know what this is.

$flag[1]=”NOT_NULL_FLAG”;
$flag[2 ]=”PRI_KEY_FLAG”;
$flag[4 ]=”UNIQUE_KEY_FLAG”;
$flag[16]=”BLOB_FLAG”;
$flag[32]=”UNSIGNED_FLAG”;
$flag[64]=”ZEROFILL_FLAG”;
$flag[128]=”BINARY_FLAG”;
$flag[256 ]=”ENUM_FLAG”;
$flag[512]=”AUTO_INCREMENT_FLAG”;
$flag[1024]=”TIMESTAMP_FLAG”;
$flag[2048 ]=”SET_FLAG”;
$flag[32768 ]=”NUM_FLAG”;
$flag[16384]=”PART_KEY_FLAG”;
$flag[32768]=”GROUP_FLAG”;
$flag[65536]=”UNIQUE_FLAG”;

Bye.

Go expose yourself someplace

0 Replies to “MySQL Field FLAGS Cheatsheet for lazy bastards”

Leave a Reply

Your email address will not be published. Required fields are marked *

RSS
Follow by Email
Facebook
Google+
https://preflight.co.za/2018/09/25/mysql-field-flags-cheatsheet-for-lazy-bastards">
Twitter