Which ADO.NET data reader is used specifically for working with SQL Server databases?

  • MySqlDataReader
  • OleDbDataReader
  • OracleDataReader
  • SqlDataReader
The SqlDataReader is specifically designed for working with SQL Server databases in ADO.NET. It provides a forward-only, read-only stream of data from a SQL Server database, allowing efficient retrieval and processing of query results. Unlike other data readers, SqlDataReader is optimized for the SQL Server data provider, providing better performance and functionality when working with SQL Server databases.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *