Forum Replies Created

Viewing 6 posts - 1 through 7 (of 7 total)

  • RE: Combining queries - how?

    of course.

    I feel such a fool.

    couldn't see the wood for trees.

    🙂

  • RE: Combining queries - how?

    sorry, yes.

    I'd like to get both sets of results but only using 1 query

    so like:

    select a

    from tablea

    where

    if z=0

    and startdate > '2008-01-31'

    and startdate <...

  • RE: linking to word

    thanks people.

    managed to do it in the end, found that none of the activex refences are turned on by default. 

    all ok after i...

  • RE: linking to word

    Nearly...

    that's using a SP to push into a word doc table.

    All I want to do is build a case statement within a word doc based upon the results of an...

  • RE: results all on one line

    works excellently,

    Thanks guys

  • RE: sql joins query

    ok, ok, ok,

    it was left joins, thus:

    declare @saleid int

    set @saleid = 71476

    Set nocount on

    Print 'Please Rollback:'

    Print ''

    Print 'System: Production'

    select 'Booking:',cast(Sale.SaleID AS VARCHAR)

    + case

    when TerminationInfo.TerminationTypeID

    = 1000 then...

Viewing 6 posts - 1 through 7 (of 7 total)