Forum Replies Created

Viewing 15 posts - 1 through 15 (of 23 total)

  • Reply To: The Cost of Rework

    When Agile is used for rapid feedback with responsive customers it can be an effective way to flush out system requirements.  I've more often seen Agile used as cover for...

  • Reply To: Oops! Apologies

    Tons of gold in there about integrity, commitment, and building trust.

    Environments that punish mistakes are usually miserable and have high turn-over rates.  I saw this in the Air Force and...

    • This reply was modified 8 months, 2 weeks ago by  Rob Buecker.
  • Reply To: Production Rollback

    Any chance of restoring to another server and copying the data?

  • Reply To: SSDT import into a table from .csv corruption

    If you suspect that it contains a special character you could try a numbers table and cross join.

    The query would look something like this:

    SELECTn.num, ASCII(SUBSTRING(t.charFld, n.num, 1))...
  • Reply To: Being Responsible for Data

    The biggest problem in this decision is when are technology companies allowed to promote or suppress content?  It starts getting very sticky when employees of these technology companies start promoting...

  • Reply To: Date to record zero balance for an account version

    Sounds like you may want an insert/update trigger that sets or nulls out the date depending on the Amount value.

  • RE: WHERE Clause exclusions, best practices.

    Could create an exclusion table containing the project IDs (id/name/etc.) to ignore and use a NOT EXISTS clause on the project ID.

  • RE: How to determine what percent of a varchar column is a valid numeric?

    Sometimes you just have to deal with entity-attribute-value tables that were created over a decade ago with dozens of filtered indexes...  🙁

    I've used something similar to the following...

  • RE: CASE with LEN Evaluation

    Sorry - don't have a much time to explain further at the moment; but hope the examples may show revisions/use of LTRIM & RTRIM if/when needed.

    DECLARE...

  • RE: CASE with LEN Evaluation

    Just realized you may be having troubles with the ELSE clause where it may need to be another WHEN statement i.e.: 
    WHEN (LEN(([Col1]))) = 6 AND LEFT([Col1],1) <>...

  • RE: CASE with LEN Evaluation

    It appears to be some sort of string manipulation to standardize a date.

    In the final case:
    - missing a bracket:  WHEN (LEN(([Col1])))
    - Appears to make the...

  • RE: Stored Procedure

    Could step through a statement at a time or insert some logging steps to help identify which statements that are taking the most time and tune them as needed.

  • RE: Cross compare from within the same table.

    Sounded like you wanted to know the inter column value of the second set, regardless of value.

    SELECT    jms.main, jms.sub, jms.inter, jms2.main, jms2.sub, jms2.inter
    FROM    jec_main_sub AS jms
    INNER...

  • RE: Sending an email from a table

    Just some pseudo-code here:

    DECLARE curEmail CURSOR FOR
    SELECT DISTINCT manager_email FROM table
    OPEN & FETCH into @email
    -- create body
    SET @body = 'please see enclosed accounts <br><html><table>'

  • RE: Sending an email from a table

    It looks like you may need to refine the query to something like:
    SELECT DISTINCT manager_email FROM table

    Then the body of the email may need an addition...

Viewing 15 posts - 1 through 15 (of 23 total)