Reputation
Top tag
Next privilege 15 Rep.
Flag posts
Badges
4
Impact
~1k people reached

Feb
4
awarded  Popular Question
Sep
24
awarded  Autobiographer
Sep
23
awarded  Student
Sep
23
awarded  Scholar
Sep
23
accepted SQL Query - Set Date Variable by Table/Column Reference
Sep
23
comment SQL Query - Set Date Variable by Table/Column Reference
Nice! I used your first example and it works perfectly: mysql> SET @date = (SELECT source_col FROM source_table WHERE whatever_condition);
Sep
22
asked SQL Query - Set Date Variable by Table/Column Reference