MSSQL from DOS

M

Mike Jutras

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...
 
V

Victor Bazarov

Mike said:
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
 
M

Mike Jutras

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.
 
V

Victor Bazarov

Mike said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,183
Messages
2,570,967
Members
47,516
Latest member
ChrisHibbs

Latest Threads

Top