Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Why Separate SQL and OLEDB Commands
 

Why Separate SQL and OLEDB Commands

Hey Fellows,

Does anyone know the real reason why SQL and OLEDB database command objects were separated in .NET?

The thing is, I now have a MS Access application and uses OLEDB objects suchs as OLEDBDataReader, OLEDBCommand etc...

The data is now too large and I want to use MS SQL Server.

However it seems I have to rewrite the whole data access routines to achieve this.

Any ideas would be appreciated.

Thanks...
Computer Programmer
Damion Chambers  Wednesday, January 21, 2009 1:10 PM

Hi Damion Chambers,

Do you mean your application based on MS Access will be upgraded to MS Sql Server?

First, Oledb provider does support MS Sql Server. The Microsoft OLE DB Provider for SQL Server provides an OLE DB interface to Microsoft® SQL Server�2000 databases. Using the OLE DB Provider for SQL Server, SQL Server distributed queries can query data in remote instances of SQL Server.
http://msdn.microsoft.com/en-us/library/aa213282.aspx


You can take this article to know the difference between OleDBConnection and SqlConnection.
http://bytes.com/groups/net/111620-difference-between-oledbconnection-sqlconnection

If you need any detail help, please contact me.

Sincerely,
Kira Qian


Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Friday, January 23, 2009 3:48 AM
Please readSticky: Please read before posting.
If you don't know where to post your question, ask in the "where is the forum for" forum.

MSMVP VC++
Sheng Jiang 蒋晟  Wednesday, January 21, 2009 8:39 PM

Hi Damion Chambers,

Do you mean your application based on MS Access will be upgraded to MS Sql Server?

First, Oledb provider does support MS Sql Server. The Microsoft OLE DB Provider for SQL Server provides an OLE DB interface to Microsoft® SQL Server�2000 databases. Using the OLE DB Provider for SQL Server, SQL Server distributed queries can query data in remote instances of SQL Server.
http://msdn.microsoft.com/en-us/library/aa213282.aspx


You can take this article to know the difference between OleDBConnection and SqlConnection.
http://bytes.com/groups/net/111620-difference-between-oledbconnection-sqlconnection

If you need any detail help, please contact me.

Sincerely,
Kira Qian


Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Friday, January 23, 2009 3:48 AM

You can use google to search for other answers

Custom Search

More Threads

• Help. DataGridViewMaskedTextBox. Input is hidden until mask is correctly completed.
• How to format money with $, commas and 2 decimal in textbox?
• TypeConverter problem, please help!!!
• How can I force Visual Studio to generate a constructor for nested types instead of using binary serialization
• What inhereited designers are available?
• Checkbox in a Combobox
• Control.Visible Property Problem
• Trouble Controlling Control resizing at design time
• WinForms - Vista Style UI
• too slow