06-11-2015 03:00 PM
I have a date vaiable extracted from SQL server (in SQL datatype is datetime2(7)), sas reading it as $27. example data value: (2015-06-09 14:20:00.0000000).
what is this data type called. how can I convert to numeric datetime20.? appreciate you help.
06-11-2015 04:02 PM
06-12-2015 06:50 PM
How are you reading your data from SQL Server? If you are using ODBC, we found that using the latest version of the SQL Server ODBC driver translated datetimes correctly as datetimes not character: