Which connection string should you use to connect to MyDB?

You have a SQL Server database named MyDB that uses SQL Server Authentication.
Which connection string should you use to connect to MyDB?

You have a SQL Server database named MyDB that uses SQL Server Authentication.
Which connection string should you use to connect to MyDB?

A.
Data Source=MyDB; Integrated Security=SSPf; Initial Catalog=Sales

B.
Data Source=MyDB; Trusted_Connection=True; MultipleActiveResultSets=True; Initial
Catalog=Sales

C.
Data Source=MyDB; Integrated Security=True; Initial Catalog=Sales

D.
Data Source=MyDB; UserID=username; Password=P@sswOrd; Initial Catalog=Sales



Leave a Reply 1

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