Receiving a DOS output with a Visual Basic script in SQL

Tags:
DOS
SQL
Visual Basic
Visual Basic 5
Visual Basic 6
I would like to solve this following complex script in SQL by using Visual Basic, either version 5.0 or 6.0. My first table name is tblClient, with fields ClientID and ClientName. My second table name is tblPurchase, with fields ClientID, Item Name, Qty and Price. I would like to pass one SQL query and receive a DOS output along the lines of: Client ID: _____ Client Name: _____ Item Purchased Qty Price ----- ----- ----- Is there a simple way to go about this?

Answer Wiki

Thanks. We'll let you know when a new response is added.

This site: <a href=”http://msdn.microsoft.com/en-us/library/s4yys16a(VS.71).aspx”>http://msdn.microsoft.com/en-us/library/s4yys16a(VS.71).aspx</a> describes how to access a SQL database through Visual Basic.

This site:
<a href=”http://visualbasic.about.com/od/learnvb6/l/bldykvb6dosa.htm”>http://visualbasic.about.com/od/learnvb6/l/bldykvb6dosa.htm</a> discuses using VB in DOS, which might make accessing your printer a bit easier.

Good Luck!

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following