What is the difference between an SQL connection and an OLEDB connection? Is OLEDB shared by all (also SQL Server)? Which servers do all OLEDB use?
The advantage of using OleDbConnection is flexibility. You can change your database (for example, switch to Oracle) and not change the code.
If you are using SQLServer as your backend, use SQLConnection to improve performance.
check with this link http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/fadb2742-d75a-49fb-a839-b2d4a9183998/
OleDbConnection: you can connect to any database that you have provided for this.
Tip: Use Universal File Transfer
SqlConnection is designed to access SQL Server, and OleDbConnection is designed to access any database.
Source: https://habr.com/ru/post/895476/More articles:Enumeration of flags without the power of two values - enumsHow to execute a block of code every 24 hours on a server? - linuxCharles CA user certificate with no password - debugginggetHistorySize () returns 0 even in MotionEvent.ACTION_MOVE events - androidhow to reload tableview of another uiviewcontroller in current view manager - iosString for the array, then remove the last element - javascriptSQLCommand / SQLConnection vs OleDbCommand / OleDbConnection - .netPython installation management - pythonDeploying Java in TorqueBox - javaPut Pip and Yolk inside or outside the virtual environment? - pythonAll Articles