Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Other Development Tools
 TSQLConnection

Author  Topic 

Ex
Posting Yak Master

166 Posts

Posted - 2005-04-28 : 00:57:30
hey all,

not sure if any of you have used this but i am using dbexpress compoenents in a c++ builder app

i have a TSQLConnection component that connects fine to a registered SQL Server Database

however i want to connect to a .MDF file directly (unregistered database)


the current paramters i use on the TSQLConnection are

User_Name
Password
HostName
Database(just the name of the database not the file name)

wonder if anyone know whast paramters i need in order to get to the connect direclty to a .MDF??

nr
SQLTeam MVY

12543 Posts

Posted - 2005-04-28 : 04:11:59
You can't connect directly to a .mdf - you need to attach it to a sql server installation to create a database and connect to the server.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -