sql server - Which connection string is deprecated? -


i'm checking out customer's files , not being godlikely savvy on sql, i'm not sure of following syntaxes preferred or more modern. both seem same thing may leave them work in consequent manner.

string    con1 = "server=servername;database=dbname;trusted_connection=yes;",   con2 = "data source=servername;initial catalog=dbname;integrated security=sspi;"; 

?!


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -