Solved

Delphi3 C/S Native Links and MSSQL

Posted on 1998-01-24
3
262 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

772 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