issue in declaring variable for parameter : in my sql vesrion community-8.0.11.0: 
getting error when declaring the variable in this below code.Could anyone help me please.


use `mydb`;
Delimiter //

declare V_id char(30);
set V_id = 'AM-439';
select * from tableA
where TableID= V_id;


Delimiter;