|
robvolk
Most Valuable Yak
USA
15557 Posts |
Posted - 10/01/2012 : 09:39:43
|
Excel doesn't actually "support" SQL, nor does VBA. They offer a programming interface that lets you connect to SQL databases, and you get access to whatever functions/features that SQL product supports.
Regarding DATEADD and the error message you're getting, it looks like you're accessing an AS/400 - DB2 database, which doesn't support that function.
SQLTeam is a Microsoft SQL Server website, so we really can't help with DB2, but dbForums can: http://www.dbforums.com/db2/1637371-help-there-dateadd-function-db2.html |
 |
|