Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 SAS EG 中创建包含标志变量的表(例如,如果客户已经开设了当前帐户)。此标志变量存储在 dwh 表中,值为 1/0。但是当我想从这个数据库中创建 SAS 表时,我得到 -1 而不是 1。有什么选项可以避免将标志值 1 更改为 -1?
听起来您正在使用二进制字段连接到 SQL Server 表。在 SQL Server 中,二进制变量有两个值:-1 和 0。除了更改值或接受它将是 -1 之外,您无法真正修复它。