Forum Replies Created

Viewing 15 posts - 1,261 through 1,275 (of 6,036 total)

  • RE: Stored procedures and Creating tables. (Problem).

    ben.brugman (8/16/2016)


    The question was:

    So how would you load/parse/store the data were all unnecessary data is filtered out before it is inserted ?

    The answer was given.

    You probably should read it.

    Given are...

  • RE: Stored procedures and Creating tables. (Problem).

    ben.brugman (8/15/2016)


    Sergiy (8/2/2016)


    I believe building tables to hold the unnecessary data, load it, parse, store (even temporarily) will cause quite a performance hit. With no any benefits.

    Don't you think?

    No I...

  • RE: Writing Better T-SQL: Top-Down Design May Not be the Best Choice

    sknox (8/14/2016)


    Sergiy (8/14/2016)


    There are other aspects which were not mentioned by anyone.

    1. The same small query populating a temp table may be reused in several procedures.

    In such case its plan...

  • RE: Writing Better T-SQL: Top-Down Design May Not be the Best Choice

    There are other aspects which were not mentioned by anyone.

    1. The same small query populating a temp table may be reused in several procedures.

    In such case its plan will be...

  • RE: check for date / time overlap between records of two different tables

    Stoutheart (8/8/2016)


    I have a table full of events with dates, start times, and stop times. Many of these events happen at the same time. I have another table that contains...

  • RE: Query Improvement

    sqlenthu 89358 (8/8/2016)


    HI Sergiey, These tables get populated every few mins. Though there are no updates and deletes. Will that be impacted if clustered indexes are built on them ?

    The...

  • RE: Today's Random Word!

    Grumpy DBA (8/8/2016)


    Ed Wagner (8/8/2016)


    Hugo Kornelis (8/7/2016)


    SQLRNNR (8/7/2016)


    rage

    quit

    Resign

    Celebrate

    life

  • RE: Different collation between Server , Database and Table

    Igor Micev (8/5/2016)


    Sergiy (8/4/2016)


    BTW, did you check default collation for tempdb?

    Does this question make sense?

    When you create a temp table all char columns get the default tempdb collation.

    Unless you explicitly...

  • RE: Query Improvement

    sqlenthu 89358 (8/4/2016)


    Actually this query shows RID lookup with a seek predicate on table table2. This RID lookup takes 98 % of processing. I can create covered index as per...

  • RE: Query Improvement

    sqlenthu 89358 (8/4/2016)


    That is typo from my end. Everything is fine syntax wise.

    So how the correct version would look like?

    Like this?

    select t1.col1,t1.col1,t1.col3,t1.col4,t1.col5,

    sum(case when @listofids<>replace(@listofids,t2.col20,'') then col15*10 else col15 end)

    from table1...

  • RE: Query Improvement

    The number of brackets open is 2 more than the number of brackets closed.

    Am I missing something?

  • RE: Different collation between Server , Database and Table

    WhiteLotus (8/3/2016)


    Hi all ,

    I have issue with collation . my PRODUCTION server collation is SQL_Latin1_General_CP1_CI_AS and database collation is Latin1_General_CI_AS

    And also when I check in 1 database that we use...

  • RE: Day Light Savings Time and Universal Time

    You need to have a table with DLS schedule, and use it when calculating current time.

    You may get DSL schedules from various locations, for example from here:

    http://wwp.greenwichmeantime.com/time-zone/rules/usa/

  • RE: Today's Random Word!

    Revenant (8/3/2016)


    Ray K (8/3/2016)


    Luis Cazares (8/3/2016)


    whereisSQL? (8/3/2016)


    Ed Wagner (8/3/2016)


    Hugo Kornelis (8/3/2016)


    Ed Wagner (8/3/2016)


    djj (8/3/2016)


    whereisSQL? (8/3/2016)


    crookj (8/3/2016)


    Ed Wagner (8/3/2016)


    Y.B. (8/3/2016)


    Luis Cazares (8/3/2016)


    Hugo Kornelis (8/3/2016)


    Ed Wagner (8/3/2016)


    crookj (8/3/2016)


    djj (8/3/2016)


    Grumpy DBA (8/3/2016)


    djj (8/3/2016)


    Ed...

  • RE: Stored procedures and Creating tables. (Problem).

    ben.brugman (8/2/2016)


    It all sounds OK when you exporting a file.

    If it sounds OK somebody probably will do this. Handling mixed textqualifiers does take a performance hit, so I am excluding...

Viewing 15 posts - 1,261 through 1,275 (of 6,036 total)