atl oledb from console

Discussion in 'C++' started by alex, May 26, 2004.

  1. alex

    alex Guest

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

    http://support.microsoft.com/default.aspx?scid=kb;en-us;198486&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 =---
     
    alex, May 26, 2004
    #1
    1. Advertising

  2. "alex" <> wrote in message
    news:40b41c65$1_1@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.aspx?scid=kb;en-us;198486&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
     
    John Harrison, May 26, 2004
    #2
    1. Advertising

  3. alex

    alex Guest

    i thought someone might know the answer, i guess i was wrong =(.

    "John Harrison" <> wrote in message
    news:...
    >
    > "alex" <> wrote in message
    > news:40b41c65$1_1@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.aspx?scid=kb;en-us;198486&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 =---
     
    alex, May 26, 2004
    #3
  4. alex

    alex Guest

    what makes you think your useless reply is appropriate for this group?

    "John Harrison" <> wrote in message
    news:...
    >
    > "alex" <> wrote in message
    > news:40b41c65$1_1@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.aspx?scid=kb;en-us;198486&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 =---
     
    alex, May 27, 2004
    #4
  5. "alex" <> wrote in message
    news:40b546d4$1_2@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
     
    John Harrison, May 27, 2004
    #5
  6. alex

    alex Guest

    nothing personal but yeah.

    "John Harrison" <> wrote in message
    news:...
    >
    > "alex" <> wrote in message
    > news:40b546d4$1_2@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 =---
     
    alex, May 27, 2004
    #6
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ben Finney
    Replies:
    2
    Views:
    1,028
    Egor Bolonev
    Jun 30, 2003
  2. Egor Bolonev
    Replies:
    0
    Views:
    501
    Egor Bolonev
    Jun 30, 2003
  3. Serge Terekhoff
    Replies:
    0
    Views:
    663
    Serge Terekhoff
    Jun 30, 2003
  4. Miktor
    Replies:
    7
    Views:
    12,201
    Joe Bacigalupa
    Aug 9, 2005
  5. Replies:
    5
    Views:
    3,474
    James Kanze
    Mar 4, 2008
Loading...

Share This Page