Solved

Delphi3 C/S Native Links and MSSQL

Posted on 1998-01-24
3
261 Views
Last Modified: 2010-04-04
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!!!!!!
0
Comment
Question by:gerhardl
  • 2
3 Comments
 

Accepted Solution

by:
rusb earned 50 total points
ID: 1357436
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
 

Author Comment

by:gerhardl
ID: 1357437
 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
 

Expert Comment

by:rusb
ID: 1357438
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now