I am trying to import a SQL view not a table in Mathematica. The command:
SQLSelect[conn, "DataByYear"]
This will correctly bring in the table. However using the view name
SQLSelect[conn, "QBDateByYear_vw"]
Gives an error
JDBC::error: Invalid object name 'dbo.QBDataByYear'. >>
How do I specify this correctly?
SQLExecute[conn, "select * from QBDateByYear_vw"]work? – mfvonh Aug 09 '15 at 17:40SQLExecutefor all querying -- the other commands are useful but they can end up doing strange things depending on which database you are using. – mfvonh Aug 10 '15 at 12:10