SAS Date Formats Incompatible with SQL Server Date
问题 I'm fairly new to SAS and recently we migrated some of our SAS datasets to a SQL Server table but we are still using SAS to do our analysis. I have run into a problem when SAS is trying to bring in the data from the SQL Server table and have SAS check if the srv_edt date is between the SAS dates of dos_beg_dt1 and dos_end_dt1. When SAS tries to compare the dates I get an error of: ERROR: WHERE clause operator requires compatible variables. The dos_beg_dt1, dos_end_dt1, and srv_edt (SQL date