What is the main difference between Initial Catalog
and Database
Keyword in a connection string?
Difference between Initial Catalog and Database keyword in connection string
ado.net
ado.net
What is the main difference between Initial Catalog
and Database
Keyword in a connection string?
Best Answer
The only difference is the name.
These can be used interchangeably.
See the documentation of
SqlConnectionStringBuilder.InitialCatalog
, under remarks:(emphasis mine)