MySQL:- Variable – User-Defined Variables and Local Variables

Variables User-Defined Variables To declare user-defined variables, please prefix your variable name with @. User-defined variables are not explicitly defined. Please initialize variable by using set ( set @name='julia' ) or issue ( select @student = 'June Baker' ).   Sample Code   Local Variables Whereas, Local Variables can only be used in stored objects … Continue reading MySQL:- Variable – User-Defined Variables and Local Variables