suhan 2012 wrote:
where sql server is not installed
It's necessary that SQL Server is installed, otherwise you can't connect you to it. Actually, you can't create a connection to a MDF file, you need to connect to SQL Server, and if you execute an SQL query, SQL Server modifies the data file. The file contains the data, and SQL Server can read/write to it. It's necessary to install SQL Server.