Delphi3 C/S Native Links and MSSQL

Where can I find detailed info. on using Delphi3 C/S edition
with MSSQL? What Delphi and MSSQL pieces are required? On the NT server, do I need additional software or just MSSQL 6.5? The BDE help files on this topic are not very friendly....any info. would be greatly appreciated!!!!!!
gerhardlAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rusbCommented:
I suggest looking at a book called Special Edition Using Delphi 3 by Que. Also web sites like www.delphideli.com are real helpful.

To connect Delphi and SQL Server all you need is either Microsoft ODBC drivers or the MSSQL BDE driver.

The easiest one to start off with is the native MSSQL driver supplied with Delphi. You need to using the BDE Administrator to setup things now.

1. Start BDE Adminstrator and ensure that the Database tab is open (there are two the other one is called configuration).

2. In the object menu select the New menu item and then select the driver you want in the drop down combo box displayed (you want MSSQL).

3. You now need to name the new BDE database entry and fill out a few lines of detail (on the right of the split window).

4. The lines fill out are:

   DATABASE NAME:   <the name you called the database in SQL>
   SERVER NAME:     <the name you called your SQL server machine>
   USER NAME:       the ID of a user to log onto the database                     with. Try 'sa' to start of with.

All this assumes you've created the devices and database in SQL Server first.

Hope all this helps.


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gerhardlAuthor Commented:
 Good answer, but it still does not tell me if any
  Microsoft pieces(clients, licenses) need to be purchased?
  Remember, we are using Delphi Client Server edition
  with the BDE Native Links......
0
rusbCommented:
As long as you have bought enough SQL Server licenses for each
station that will be logging on (ie. running you applications) you should be fine.

SQL Server is just a backend database (well not just!) and all the client side is written by you.

You don't have to send any royalties or get licenses for applications written in Delphi.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.