KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How can I declare a variable for a normal query in MySQL? e.g., declare @myVar date; set @myVar = something; select * from someTable where someColumn = @myVar; I tried and the syntax seems to be wrong...what am I missing?
Tags (comma-separated)
Save Edits
Cancel