1 | ' Access |
Code Analysis:
- Line 5 - hmm I shouldn’t concatinate variables into select statements. This opens a hole to allow injection attacks.
- Line 11 - This block of code is used to access data from an oracle database. You need to have an oracle ODBC drivers installed on the computer running this code.
- Line 32 - This block of code is used to access data from a SQL Server database.
Notice the main differences between Oracle, and SQL Server is the provider provided. And the difference between connecting to a sql server database, and an Access database (shown on line 3) is the Access database is ‘ConnectProject.Connection’