I am trying to use a variable on PROC SQL but i cannot find a proper way through the internet. I just want to apply the following code of T-SQL on PROC SQL:
declare @example as int;
set @example=2;
select * from {table} where {column}=@example;
go
How can i apply this code on PROC SQL?