Solved

Connect MSSQL 2000 with a msdos program?

Posted on 2002-07-10
6
199 Views
Last Modified: 2008-02-26
Hi.
Im thinking in developing some light application to connect with an existing MS-SQL Server 2000 server, and can run querys and stored procedures. I've search the web for about two weeks for some library (C, Pascal, Clipper, Basic, any MS-Dos programming language, even i try Perl in Linux) to connect a "console exe" program with SQL 2000... so now i ask you experts... any suggestion for doing this? the problem its the application must run from a floppy and not in a PC with a hard disk (so, not Win9x Clients)...
Thanks in advance.
0
Comment
Question by:jfconti
  • 2
  • 2
6 Comments
 
LVL 5

Accepted Solution

by:
spcmnspff earned 500 total points
ID: 7144185
It seems with msdos the biggest challenge will be booting on a floppy and accessing network resources (let alone SQL server).  In the past, I've setup floppy boot disks that contain the nic(Network Card) drivers so that it can log into an nt domain, but it was no easy task.  Are there msdos divers for the nic you'll be using?  Then there's the space consideration.  I recall I had to compress the floppy to get the drivers operating system and networking files on one floppy.  There may be no room for your app after all that.  You may have to consider using a bootable cdrom instead.

I like the linux/perl Idea.  Network boot floppies are relatively easier with Linux. There are some Linux/SQL Server solutions out there that should allow you to connect via perl.  Check out FreeTDS: http://www.freetds.org/
This actually mimics the API calls that native windows SQL server clients use via the microsoft SQL server driver.  Also there's the possibility of an ODBC to ODBC bridge.  For this check out:
http://www.openlinksw.com/


Also here's someone who's used linux perl to connect to SQL server, and how they did.  It seems he doesn't think too highly of SQL server.   =)

http://www.hklc.com/infocenter/Linux_x_Install_x_Perl_MSSQL.html

Let me know . . . .

0
 
LVL 1

Author Comment

by:jfconti
ID: 7144457
Well, Thank you, but i want to try a "microsoft-based" solution first before use of an *nix solution (im a fan of freebsd). I've read solutions in php3 and perl, (with TDS, UnixODBC, etc) but the task its to quit the hard drives of all the clients PCs.... Thanks Again.
0
 
LVL 5

Expert Comment

by:spcmnspff
ID: 7144534
I'm running Apache/PHP on FreeBSD 4.5 at home. I've managed to get PHP talking to SQL server using some of the resources I mentioned above.  I'm not sure msdos will be able to do what you need.  So when/if you do decide to go *nix I may be able to help you out . . . =)

Here's the site running FreeBSD . . .

http://planetzog.homeip.net 

(FYI: not everything's working yet).

0
 
LVL 34

Expert Comment

by:arbert
ID: 9206121
You could accomplish this by finding the old SQL Server 6.5 TSR drivers for MSDOS.  Granted, you won't be able to take advantage of the full SQL SERver 2000 functionality, but it would utilize MS drivers...
0
 
LVL 34

Expert Comment

by:arbert
ID: 9463853
Please followup on this question.....
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

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

932 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

10 Experts available now in Live!

Get 1:1 Help Now