ODBC is not a Sparx Systems' product, nor is it a Microsoft one, so you are blaming the wrong company really. You may want to read up on ODBC a bit before you start using it.
The options that you can/have to specify when setting up an ODBC connection are driven by the ODBC driver you are using. There is more than one ODBC driver for MS SQL Server (and no, they are not all created by Microsoft) and the ways you specify the default database differ between them. Generally though, if you have the appropriate database privileges, you will be offered list of databases available at the database server instance you are connecting to.
Use the "default" database only if the default database is the one you want to reverse engineer.
Oh, and a "database name" and a "filename" is not the same thing as in the case of MS SQL Server, a database can consist of multiple files, names of which may not have much to do with the name of the database itself.
If you need help with the ODBC or MS SQL Server in general, please let me know.
Hope this helps.
Bruno
Hi Bruno. I do know what ODBC is, and it *is* a MS framework/technology, if not actually a product. For example, picking the first link Google returned,
http://www.martinscholl.com/html/databases/odbc_history.html<<
With the introduction of Open Database Connectivity (ODBC) by Microsoft, a truly portable database API (Applications Programming Interface) became available. ODBC is a function set that provides an interface that is portable to multiple platforms and RDBMSs. A single application can be connected to different database backends with no changes, re-compilation or re-linking required.
>>
And indeed, I have used ODBC extensively in the past, although not for quite some years (I have used ADO or ADO.NET for projects in the last several years).
<<
Use the "default" database only if the default database is the one you want to reverse engineer.
>>
ok. As I posted prior to your post that's what I did and EA *said* it imported the database, but nothing happened on/in the diagram.
<<
Oh, and a "database name" and a "filename" is not the same thing as in the case of MS SQL Server, a database can consist of multiple files, names of which may not have much to do with the name of the database itself.
>>
Well, I tried them both and neither worked.
I generally find MS's technologies to be clunky, poorly documented, and unintuitive. Perhaps this is why I was having issues with ODBC. And in any case I had viewed ODBC as an outadted/outmoded technology. Why not use ADO, if one is going to restrict oneself to MS database connectivity bandwagons?
But in any case, my issue now is not with the ODBC connection. It is with how to get the database table and relation information into the EA diagram. After importing, nothing goes onto the diagram. The log text in the display window tells me everything imported ok, but nothing goes onto the diagram.