473,387 Members | 1,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

MSSQL from DOS

Hi,
I would like to know if it is possible to access an mssql table, find a
record and set a DOS variable from a matching field.
My environment is very limited, I boot from PXE and I use a TFTP server
which loads a DOS environment to the PC.

My fingers are crossed...
Jul 22 '05 #1
3 1638
Mike Jutras wrote:
I would like to know if it is possible to access an mssql table, find a
record and set a DOS variable from a matching field.
My environment is very limited, I boot from PXE and I use a TFTP server
which loads a DOS environment to the PC.
I see no reason why it wouldn't be possible, from a C++ point of view.
See, C++ language has no concept of 'mssql table' or 'DOS variable'.
So, whenever something like that is concerned, C++ has to defer to the
OS or a third-party library for solving such problem. The assumption
of course is that such mechanism exists and is sufficient. To actually
know whether it exists and is sufficient, you have to ask elsewhere.
My fingers are crossed...


I am amazed at your ability to type with crossed fingers. Doesn't
it hurt?

V
Jul 22 '05 #2
Actually, I crossed my fingers after I typed the message but worse yet, my
mind was twisted the whole time.

One last question, do you have any recomandation as to where I can get more
help ?
I do lots of vb, javascript with ASP but never touched C++

Thanks for your response.

"Victor Bazarov" <v.********@comAcast.net> wrote in message
news:Zw****************@newsread1.dllstx09.us.to.v erio.net...
Mike Jutras wrote:
I would like to know if it is possible to access an mssql table, find a
record and set a DOS variable from a matching field.
My environment is very limited, I boot from PXE and I use a TFTP server
which loads a DOS environment to the PC.


I see no reason why it wouldn't be possible, from a C++ point of view.
See, C++ language has no concept of 'mssql table' or 'DOS variable'.
So, whenever something like that is concerned, C++ has to defer to the
OS or a third-party library for solving such problem. The assumption
of course is that such mechanism exists and is sufficient. To actually
know whether it exists and is sufficient, you have to ask elsewhere.
My fingers are crossed...


I am amazed at your ability to type with crossed fingers. Doesn't
it hurt?

V

Jul 22 '05 #3
Mike Jutras wrote:
Actually, I crossed my fingers after I typed the message but worse yet, my
mind was twisted the whole time.

One last question, do you have any recomandation as to where I can get more
help ?
I do lots of vb, javascript with ASP but never touched C++


Since you mentioned DOS, it might be possible to get help from DOS NG,
comp.os.msdos.programmer. Another possibility is to ask in a forum
dedicated to the compiler you're going to use. Some folks there may
know special tricks or libraries that help you. Yet another potentially
useful place is the MS SQL Server newsgroup, there is a bunch of them,
all named microsoft.public.sqlserver.*, but I am not sure which one
would be best, maybe m.p.s.programming. Beyond that I'd be guessing
even more, and your guess is probably better than mine.

Good luck!

V
Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: badz | last post by:
Hi frenz Lately I try to use MSSQL and PHP , the problem arise when PHP try to read MSSQL field with 'image' data type, header("Content-type: image/jpeg"); // act as a jpg file to browser I...
7
by: mj | last post by:
Hello, thanks for the help. I am running a WinXP Pro w/ SP2 (my home computer, with ZoneAlarm firewall) Apache 2.0.52 MySQL 4.1.7 PHP 5.1.0-dev I have developed a PHP/MySQL web app that...
1
by: JackTorrance | last post by:
Hi i have a problem with IIS6 and MSSQL and i hope that someone can help me. this is the configuration: Windows 2003 IIS6 MSSQL 7.0 Standard Edition ADO 2.5
14
by: Kukurydz | last post by:
I've got such problem: My database is stored on MSSQL Server. I have to write reports for it in MSAccess. I've got a problem with creating a query which will select records from MSSQL table with...
3
by: gharmel | last post by:
I'm trying to get some clues on why I get (much) slower responses from my PHP applications when dealing with a remote sql server as opposed to a local sql server. Here's my situation: Server...
11
by: ralphie | last post by:
hi all since nearly 2 days i fight with mssql and utf-8 as i need to store and retrieve arabic characters. i tried the com approach ...
0
by: DariuszK | last post by:
I am greeting I would like to consult the better solution(with security consideration) to the access is for MSSQL(2005) from ASP(Classic) in the system of the intranet. a) SQL mixed mode and...
8
by: php-taz | last post by:
I built a PHP website on Windows 2000 (using IIS) that connects to a SQL Server 2000 database using the mssql functions. I migrated the website and the database onto a Windows 2003 machine, and...
0
by: Derftics | last post by:
Hi Guys, Is there anyone who have tried installing MSSQL 2000 and MSSQL 2005 servers in one desktop computer? I have tried using MSDE and successfully install the MSSQL 2000 server but when I...
14
by: guswebb | last post by:
Hi. I'm a newbie to PHP and am having a few problems as follows... I have installed PHP successfully on server 1 which is running IIS 6 (W2k3) and hosting multiple sites, some of which connect to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.