Forum Replies Created

Viewing 15 posts - 76 through 90 (of 1,414 total)

  • Reply To: From each string, extract numbers following a '#' and create separate row

    Or what's the question?  It seems the topic's scope has crept after solutions were posted

    Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können

  • Reply To: From each string extract Numbers following a '#' and create separate row

    SqlRookie wrote:

    ... extract all numbers which follow a '#' and then create a new row for each. 

    So far I'm not seeing a solution for which each character returned is an...

    Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können

  • Reply To: ETL data load DML SP slowness suggestion

    "This table does not have any index and tigers. It has only PK."

    The FROM and WHERE clauses of the INSERT:

    FROM [DLSTYTOTAL] STG Left Join [TOTAL_RAW] TGT ...

    Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können

  • Reply To: Help with unique constraint

    Ant-Green wrote:

    You'll need some app / query logic to prevent it.

    Or a TRIGGER.  This is the sort of situation where one could be appropriate imo

    Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können

  • Reply To: Check sequential order of status of items

    Yeah, it's not clear.  The next sentence implies only 102 needs to be "printed" out.  I'm picturing one of those giant dot matrix line printers that used to fill up...

    Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können

  • Reply To: Check sequential order of status of items

    Hmmm... Phil's query returns 1 row (Rownr=7) for ItemId=102.  The topic says: "If the status is not in this order for any item then we need to print such items." ...

    Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können

  • Reply To: Dead to Me

    It's as popular as ever but I've always found JavaScript difficult to work with.  With JavaScript it's like you're inventing everything whereas with SQL and other languages it seems more...

    Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können

  • Reply To: Query to return all data that has same site, section and date

    If the ID is unique then yes DISTINCT would do nothing.  I was sort of thinking right-to-left if there were duplicate properties there could also be duplicate ID's.  No data...

    Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können

  • Reply To: Query to return all data that has same site, section and date

    My guess is to copy Drew's query but with DISTINCT in the outer SELECT

    Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können

  • Reply To: Solving FIFO Queues Using Windowed Functions

    ????

    Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können

  • Reply To: Tablock to avoid deadlock

    saum70 wrote:

    Begin tran of stp A

    Stp B   - Insert record in table 1 --> fetch cross DB data --> insert records in table 2 --> insert records in table 3...

    Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können

  • Reply To: Call Dates Effective Range

    What is meant by more call dates and edge cases?  Does each [Call Date Start Date] always get split into 2 rows?  [Call Date Start Date] is an unfortunate name...

    Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können

  • Reply To: SQL and GPX data from Garmin etrex GPS and Garmin Watch

    This topic has kept working away in the back of my mind.  It's made me wonder what it would actually take to set up a really good 'set based' backend...

    Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können

  • Reply To: Collation Change

    If you alter the collation at the database level it can have a negative impact on many, many things including query results, query performance, backups, indexes, data integrity, and can...

    Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können

  • Reply To: Collation Change

    Well I wouldn't want to make any recommendations in this regard.  Changing collation on an entire db could cause major issues.  If possible maybe set up a new instance with...

    Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können

Viewing 15 posts - 76 through 90 (of 1,414 total)