Forum Replies Created

Viewing 15 posts - 1,186 through 1,200 (of 1,419 total)

  • Reply To: STUFF Function use

    Ha it's the exact same query.

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

  • Reply To: STUFF Function use

    with grupo_cte(idTipoGrupoCons, intIdEntidad, intIdEjercicio) as (
    select 16, 50, 7
    union all
    select 16, 45, 4
    ...

    • This reply was modified 6 years, 7 months ago by Steve Collins. Reason: type

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

  • Reply To: Optimizing view and Table

    christoph.kauflin wrote:

    The table has grown and grown and needs around 3.7 GB for 2.2 Million records.

    It's the size of the Excel file with the pivot table?

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

  • Reply To: Surrender, Just a Little

    jonathan.crawford wrote:

    I think the trick is that we're all in the same boat, so stating why you oppose something but knowing that the final decision might be somewhere else is...

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

  • Reply To: Surrender, Just a Little

    MVDBA (Mike Vessey) wrote:

    I'm not sure I agree on this one - cooperation leads to learning. rather than fight them we can mentor them

    MVDBA (Mike Vessey) wrote:

    Now I work in marketing... the only thing...

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

  • Reply To: Feeling My Way Into SQL

    In the FROM clause of the "main query" the table dbo.ShtStock had been LEFT JOINED to based on the ShtStockId.  I changed that to be the dbo.NZ(...) function.  The "main...

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

  • Reply To: Surrender, Just a Little

    Chris Harshman wrote:

    I don't think it's as much an attitude issue as it is a domain knowledge issue.  I wouldn't try to tell .Net developers how to write C# code, but...

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

  • Reply To: Conversion Error When Using CASE Statement

    Maybe the obscured error message contains some clues

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

  • Reply To: Index suggestions for table

    So "TimeDayId" is not a particularly accurate name for a DATE type column imo.  My suggestion would be to rename the column to "DayDate" or something similar

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

  • Reply To: Looking for SQL Code

    Not tested on Sql 2008 but it should work afaik.

    --drop table if exists dbo.test_process_statuses;
    --go
    create table dbo.test_process_statuses(
    ProcessKeyId ...

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

  • Reply To: Looking for SQL Code

    Is this really sql 2008?

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

  • Reply To: Looking for SQL Code

    Nevermind

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

  • Reply To: Towards an efficient interface between application and database

    Thanks Phil I'm a big fan of your articles.  I completely agree JSON can be a key element of efficient application data access.  As far as data validation goes tho... ...

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

  • Reply To: How to update status with conflict data where chemical temp table have same chem


    with
    other_parts_cte as (
    select
    p.PartId, t.maskId, t.chemicalid
    from
    #temp t
    ...

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

  • Reply To: How to handle date on temp table when is null or not ?

    ahmed_elbarbary.2010 wrote:

    I need when user write any formate different from dd/mm/yyyy

    like mm/dd/yyyy or yyyy/mm/dd

    convert to dd/mm/yyyy

    How to do that please ?

    To insert into a column of type DATE in SQL...

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

Viewing 15 posts - 1,186 through 1,200 (of 1,419 total)