MCQOPTIONS
Saved Bookmarks
This section includes 5 Mcqs, each offering curated multiple-choice questions to sharpen your Structured Query Language (SQL) knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
SYNTAX_FOR_CLOSING_AND_OPENING_THE_CONNECTION_IN_ADO.NET_IS_:?$ |
| A. | sqlConn.Open() and sqlConn.close() |
| B. | sqlConn.open() and sqlConn.Close() |
| C. | sqlConn.Open() and sqlConn.Close() |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 2. |
Which of the following is enumeration for ADO.net with SQL Server ? |
| A. | SqlInfo |
| B. | SqlBulkCopyOptions |
| C. | SqlNotification |
| D. | All of the mentioned |
| Answer» E. | |
| 3. |
Point out the wrong statement ? |
| A. | The goal of dotConnect for SQL Server is to enable developers to maintain database applications. |
| B. | dotConnect for SQL Server combines connected and disconnected data access models in single SqlDataTable component |
| C. | dotConnect for SQL Server supports new ADO.NET features and technologies as soon as they are released |
| D. | None of the mentioned |
| Answer» B. dotConnect for SQL Server combines connected and disconnected data access models in single SqlDataTable component | |
| 4. |
Code snippet for having a named instance of SQL Server would be : |
| A. | “Server=localhost\sqlexpress” |
| B. | “Server=local\sqlexpress” |
| C. | “Server=host\sqlexpress” |
| D. | “Ser=localhost\sqlexpress” |
| Answer» D. ‚Äö√Ñ√∂‚àö√ë‚àö‚à´Ser=localhost\sqlexpress‚Äö√Ñ√∂‚àö√ë‚àöœÄ | |
| 5. |
To use the .NET Framework Data Provider for SQL Server, an application must reference the _____________ namespace. |
| A. | System.Data.Client |
| B. | System.Data.SqlClient |
| C. | System.Data.Sql |
| D. | None of the mentioned |
| Answer» C. System.Data.Sql | |