1.

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”I had been asked this question in an interview.This question is from ADO.NET in division Data Connectivity of SQL Server

Answer»

Correct OPTION is (a) “SERVER=localhost\sqlexpress”

For explanation: An INSTANCE of the SqlConnection CLASS in .NET Framework is supported by the Data Provider for SQL Server Database.



Discussion

No Comment Found

Related InterviewSolutions