Generates a unique 64-bit unsigned integer. Faster and more compact than UUID().
BIGINT UNSIGNEDDiperbarui: 13 Jun 2026UUID_SHORT()Fungsi ini tidak memerlukan parameter.
1 SELECT UUID_SHORT() AS short_id;
Generate a 64-bit unique ID.
1 INSERT INTO events (id, event_name) 2 VALUES (UUID_SHORT(), 'New Event');
Use UUID_SHORT as a primary key on insert.
1 SELECT UUID_SHORT() AS id1, 2 UUID_SHORT() AS id2, 3 UUID_SHORT() AS id3;
Generate multiple unique IDs at once.
Sudah paham UUID_SHORT? Latih langsung di browser
Latihan interaktif, langsung di browser.