Click here to Skip to main content
15,886,761 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guy's
1st question
what the difference between mdf files and sql files, both of them are opened in sql server ?? but i don't know the difference ?

2nd question
how can i add sql file to my project in VB.NET ?
Posted

Ans to Q1:
This will explain you the difference between mdf and sdf[^] files.

Ans to Q2:
To communicate with a sql file in your project, you just need a proper connection string[^] to talk to the database. Configure it ans use it.
 
Share this answer
 
1) an sql file is a textfile with sql scripts, while an mdf file contains the database in a binary format.



2) You can add an sql file to database projects in vb.net.

Hope this helps (im in a bit of a hurry so I cannot elaborate on my answers :) )
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900