473,327 Members | 2,081 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,327 software developers and data experts.

atl oledb from console

i've created a console app that retreives data from sql server based on this
howto:

http://support.microsoft.com/default...86&Product=sql

my problem is I need to execute a sql script containing several sql
statements to get the rowset not a single select as the example shows. How
do I execute a batch from within the console?


Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Jul 22 '05 #1
5 1836

"alex" <al*************@verizon.net> wrote in message
news:40**********@127.0.0.1...
i've created a console app that retreives data from sql server based on this howto:

http://support.microsoft.com/default...86&Product=sql

my problem is I need to execute a sql script containing several sql
statements to get the rowset not a single select as the example shows. How
do I execute a batch from within the console?


What make you think this is an appropriate question for a C++ language
group?

Please read this groups welcome message for information on this group and
suggestions as to where you question might be more appropriate.

http://www.slack.net/~shiva/welcome.txt

john
Jul 22 '05 #2
i thought someone might know the answer, i guess i was wrong =(.

"John Harrison" <jo*************@hotmail.com> wrote in message
news:2h************@uni-berlin.de...

"alex" <al*************@verizon.net> wrote in message
news:40**********@127.0.0.1...
i've created a console app that retreives data from sql server based on

this
howto:

http://support.microsoft.com/default...86&Product=sql
my problem is I need to execute a sql script containing several sql
statements to get the rowset not a single select as the example shows. How do I execute a batch from within the console?


What make you think this is an appropriate question for a C++ language
group?

Please read this groups welcome message for information on this group and
suggestions as to where you question might be more appropriate.

http://www.slack.net/~shiva/welcome.txt

john



----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Jul 22 '05 #3
what makes you think your useless reply is appropriate for this group?

"John Harrison" <jo*************@hotmail.com> wrote in message
news:2h************@uni-berlin.de...

"alex" <al*************@verizon.net> wrote in message
news:40**********@127.0.0.1...
i've created a console app that retreives data from sql server based on

this
howto:

http://support.microsoft.com/default...86&Product=sql
my problem is I need to execute a sql script containing several sql
statements to get the rowset not a single select as the example shows. How do I execute a batch from within the console?


What make you think this is an appropriate question for a C++ language
group?

Please read this groups welcome message for information on this group and
suggestions as to where you question might be more appropriate.

http://www.slack.net/~shiva/welcome.txt

john



----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Jul 22 '05 #4

"alex" <al*************@verizon.net> wrote in message
news:40**********@127.0.0.1...
what makes you think your useless reply is appropriate for this group?


I directed you to this groups welcome message, where there is a description
of this groups purpose and a list of groups that might be more appropriate
for your question. What's useless about that? Would you have preferred to
have your question ignored?

Don't worry, it's nothing personal.

john
Jul 22 '05 #5
nothing personal but yeah.

"John Harrison" <jo*************@hotmail.com> wrote in message
news:2h************@uni-berlin.de...

"alex" <al*************@verizon.net> wrote in message
news:40**********@127.0.0.1...
what makes you think your useless reply is appropriate for this group?

I directed you to this groups welcome message, where there is a

description of this groups purpose and a list of groups that might be more appropriate
for your question. What's useless about that? Would you have preferred to
have your question ignored?

Don't worry, it's nothing personal.

john



----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Jul 22 '05 #6

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

Similar topics

0
by: Mario Rodriguez | last post by:
Hi I am trying to search activeDirectory through OLEDB and I am getting the exception like this DB_E_NOTABLE(0x80040E37) at OleDbDataAdapter.Fill method. My code look like this. ...
0
by: foobar | last post by:
I'm exporting data from sqlserver into a text file. I don't want to use a linked server or DTS. I have no problem getting the data into the correct dataset (the dataset linked to the text...
0
by: Alex | last post by:
I'm implementing a win32 console application that access to a database sql server 2000 using the class oledb atl consumer. Reading from the database is ok but when I try to write to the db using...
9
by: Pam Ammond | last post by:
I need the code to update the database when Save is clicked and a text field has changed. This should be very easy since I used Microsoft's wizards for the OleDBAdapter and OleDBConnection, and...
0
by: NicK chlam via DotNetMonster.com | last post by:
this is the error i get System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement. at System.Data.Common.DbDataAdapter.Update(DataRow dataRows, DataTableMapping tableMapping) at...
6
by: daver | last post by:
Hello all, I am running IIS 5.1 on Windows XP professional. I am writing a web application in C# with Visual Studio.NET. I would like to populate various data structures in my web application...
3
by: bfprog | last post by:
Using IBM iSeries client access OLEDB provider to connect to DB2 on AS/400, but cannot create connection using .NET web app. Using following code: Dim cnTest As New...
6
by: Tony | last post by:
I am writing a database application connecting to a MS Access DB. Should I make the connection through ADO.NET or OLEDB? I think I would actually want to use some sort of ODBC connection, but I...
1
by: Art | last post by:
After extensive searching I have come to an apparent dead end. I need to access a MySql database from C#. ODBC makes this very easy however not every customer is running MySql so I want to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.