bcp with multiple table queryout

  • Hi all:

    I have been successful in bcping out simple select statments using the queryout argument with one table and multiple columns.

    BUT I need to bcp out something liks this:

    select w.field, w.field, t.field. t.field from we w, test t where

    w.field = 0 AND t.field = 0

    when I do this the bcp fails ( this test from Analyzer)

    Can I not do multiple table statments. Ive read BOL, search web, forums it leads me to believe as long as its a valid statement it should work...HELP

  • I tested a BCP queryout joining (PUBS) authors and titleauthor and it worked ok.

    I notice you have a syntax error in your query (t.field. t.field). Could that be the cause?


    Cheers,
    - Mark

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply