小编dim*_*mos的帖子

在 PROC SQL (SAS) 中声明变量

我正在尝试在 PROC SQL 上使用一个变量,但我无法通过互联网找到正确的方法。我只想在 PROC SQL 上应用以下 T-SQL 代码:

 declare @example as int;
set @example=2;
select * from {table} where {column}=@example;
go
Run Code Online (Sandbox Code Playgroud)

如何在 PROC SQL 上应用此代码?

sas proc-sql

4
推荐指数
1
解决办法
5072
查看次数

标签 统计

proc-sql ×1

sas ×1