The following works fine in 2016b
conn_new = database('Azure Native Client', '', '')
curs = exec(conn_new, ...
strcat('SELECT * FROM bkkn.v_matlab_model_input_v3 ',well_filter),'maxRows',20000)
However, it fails in 2017
Error using database.internal.ODBCStatementHandle/executeQueryV2 ODBC Driver Error: [Microsoft][SQL Server Native Client 11.0][SQL Server]Cursor support is not an implemented feature for SQL Server Parallel DataWarehousing TDS endpoint.
Database and Driver Information:
DatabaseProductName: 'Microsoft SQL Server'
DatabaseProductVersion: '12.00.2531'
DriverName: 'sqlncli11.dll'
DriverVersion: '11.00.2100'