Forum Replies Created

Viewing 15 posts - 361 through 375 (of 7,429 total)

  • RE: Case in Where clause

    Darn it, forogt my end

    WHERE

    jomast.ftype = 'I'

    AND jomast.fitype <> '2'

    AND jomast.fstatus = 'RELEASED'

    AND jomast.fprodcl LIKE (CASE @Prodcode

    WHEN '01' THEN @Prodcode

    WHEN '04' THEN @Prodcode1

    WHEN '10' THEN @Prodcode2

    END)

  • RE: Case in Where clause

    Sorry had a typo and the edit button won't work

    WHERE

    jomast.ftype = 'I'

    AND jomast.fitype <> '2'

    AND jomast.fstatus = 'RELEASED'

    AND jomast.fprodcl LIKE (CASE @Prodcode

    WHEN '01' THEN @Prodcode

    WHEN '04' THEN @Prodcode1

    WHEN...

  • RE: Case in Where clause

    To me this looks like what you are saying you are after

    WHERE

    jomast.ftype = 'I'

    AND jomast.fitype <> '2'

    AND jomast.fstatus = 'RELEASED'

    AND jomast.fprodcl Like (CASE @Prodcode

    WHEN '01' THEN @Prodcode

    WHEN '04'...

  • RE: best way to find nulls? where [MyColumn] is null

    I have been told Quantum Mechanics are easier for many folks. 😀

  • RE: best way to find nulls? where [MyColumn] is null

    I don't know. I am a programmer and never had an issue with understanding the logic of the knows and unknowns.

    Best way I ever could think of to describe is...

  • RE: Unstring text field?

    Just a concept piece I was playing with. Not good for very large data sets in the current form but does a good job as a simple tool

    Inputs are

    @info-2 -...

  • RE: Database space available 0Mb...autogrow was set...manual increase still gives 0Mb?

    Anyother thing could be the stats or usage information need to be refreshed. Try sp_updatestats and DBCC UPDATEUSAGE.

  • RE: Where do I find the Knowledge Base?

    They Search box in the top right corner replaces that page.

  • RE: Design debate - 1 code table for all codes or 1 for each

    chris dietz (9/26/2007)


    I am in debate with our DBA about storing all codes in one single table or having a code table for each code entity.

    A typical system may have...

  • RE: O/S partition

    "Hello....I have 1200 GB drive space RAID 5"

    Can you provide a break down of the equipment? How many HD's is there only one RAID controller? How many channels on controller(s)?...

  • RE: Linked Server Performance

    My thought is most of the work actually is happening on SQL Server and not the AS400 machine because of the way the transaction is handled. Openquery will submit to...

  • RE: Linked Server Performance

    How are you writing your query to run on SQL? Have you tried Openquery to see if it behaves more as expected?

  • RE: How to avoid SQL restart after MSDTC installation?

    Not sure if you can. Couldn't find anything either and it has been 3 years since I last worked with MSDTC.

  • RE: Countrows

    Ok you create datasets with the data tab of the designer, there you name the dataset, if you look at that tab you will see the drop down for your...

  • RE: Sql Agent Issue

    Could be something in one of the jobs specifically doing it, maybe throwing an unmaged error and crashing SQL Agent. Look at all the jobs that run around that time...

Viewing 15 posts - 361 through 375 (of 7,429 total)