Flash cards
Review the key moves
1/4
Core idea
What is the main idea behind MySQL MICROSECOND() Function?
Lesson checks
Practice each idea before moving on
Short Mimo-style checks built from this lesson's code, terms, and sequence.
1Quick choice
Which statement best captures the main point of this lesson?
2Fill blank
Complete the missing token from the example code.
___ MICROSECOND("2017-06-20 09:34:00.000023");3Order
Put the learning moves in the order that makes the concept easiest to apply.
The MICROSECOND() function returns the microsecond part of a time/datetime (from 0 to 999999).
Definition and Usage
MySQL MICROSECOND() Function
Example
SELECT MICROSECOND("2017-06-20 09:34:00.000023");Definition and Usage
The MICROSECOND() function returns the microsecond part of a time/datetime (from 0 to 999999).
Syntax
MICROSECOND(
datetime
)Parameter Values
| Parameter | Description |
|---|---|
| datetime | Required. The time or datetime to extract the microsecond from |
Technical Details
| Works in: | From MySQL 4.0 |
|---|