Frequently Asked Interview Questions

C Sharp Interview Questions and Answers Part-4

SQLServer.NET data provider is high-speed and robust, but requires SQL Server license purchased from Microsoft. OLE-DB.NET is universal for accessing other sources, like Oracle, DB2, Microsoft Access and Informix, but it’s a .NET layer on top of OLE layer, so not the fastest thing in the world. ODBC.NET is a deprecated layer provided for backward compatibility to ODBC engines.
It returns a read-only dataset from the data source when the command is executed.
The wildcard character is %, the proper query with LIKE would involve ‘La%’.
Transaction must be
Atomic: it is one unit of work and does not dependent on previous and following transactions.
Consistent: data is either committed or roll back, no “in-between” case where something has been updated and something hasn’t.
Isolated: no transaction sees the intermediate results of the current transaction.
Durable: the values persist if the data had been committed even if the system crashes right after.
Windows Authentication (via Active Directory) and SQL Server authentication (via Microsoft SQL Server username and passwords).
Windows Authentication is trusted because the username and password are checked with the Active Directory, the SQL Server authentication is untrusted, since SQL Server is the only verifier participating in the transaction.
Web Services might use it, as well as non-Windows applications.
The database name to connect to.
Microsoft.Access.
Deletes it from the memory.

Most Visited Pages

Home | Site Index | Contact Us