Forum Replies Created

Viewing 15 posts - 646 through 660 (of 1,229 total)

  • RE: Help with sql query

    sartis (1/5/2016)


    MMartin1 (1/5/2016)


    You provided sample data and the tables structure. Can you also provide what you want the final output to look like? We may be able to fill in...

  • RE: Help with sql query

    You provided sample data and the tables structure. Can you also provide what you want the final output to look like? We may be able to fill in the gap...

  • RE: the use of CTEs

    I prefer CTEs when one recordset depends on the prior. This could be potentially quite confusing with multiple subqueries

    With Cte0 as

    (

    SELECT /* some record set */

    ),

    Cte1 as

    (

    SELECT /* ..*/

    FROM...

  • RE: Does anyone know what this verbage means ?

    If you right click a column in a table, and choose properties >

    you will see a node for 'Extended Properties.' Here you define what you want to add to...

  • RE: Best way to merge two large client databases

    Aside from the task of somehow accounting for the same client across the two databases potentially, a thought I have is that in theory you can load the ids for...

  • RE: CLR Yes or no?

    Solomon Rutzky (12/29/2015)


    Eric M Russell (12/26/2015)


    Well, im still not sure about RegEx in a data warehouse. Parsing text columns suggests things like product descriptions were not identified by category in...

  • RE: Dynamic Query issue

    Re1 (12/29/2015)


    Thanks Luis it works fine

    Hi, did you make use of the "DelimitedSplit8K" function?

  • RE: Number VS Letter

    My first impression when I see these restrictions is, if this is a test or homework question for a class.

  • RE: The Most Common Query Blunders...

    Jeff Moden (12/25/2015)


    I believe my favorite non-SARGable problems are due to the inappropriate use of "OR" and things like the following...

    WHERE ISNULL(SomeNumericColumn,0) > 0

    ...

    WHERE ISNULL(SomeCharacterColumn,' ')...

  • RE: The Most Common Query Blunders...

    Jeff Moden (12/28/2015)


    Alan.B (12/28/2015)


    Someone beat me to it but NOLOCK table hints are the #1 mistake I have seen.

    Heh... apparently, thousands of people agree with you. Instead, they...

  • RE: Best way to merge two large client databases

    Eric M Russell (12/30/2015)


    Orlando Colamatteo (12/30/2015)


    Eric, agree it's not a ton more but Phil expressed it in more detail. This is basically my thoughts on it and where my comment...

  • RE: Where Do Staging Tables Belong

    As the name implies, staging is just that. The data is not meant to be a permanent fixture, otherwise call it a operation data store. If the goal is auditing...

  • RE: Altering Included Indexes

    SQL-DBA-01 (12/30/2015)


    Soemthing is wrong here in the question. I guess the choice should be "only 1".

    orderstatus can not be changed to "OrdeNotes" as summarynote is dependent on OrderNotes!!

    +1

    I avoided...

  • RE: Aircaft latitude and longitude points

    This looks like more of a math problem. You need to be able to define the function that represents the curve of travel. I am sure once you have that...

  • RE: Insert records that do not exist

    Michael L John (12/17/2015)


    GilaMonster (12/17/2015)


    MMartin1 (12/17/2015)


    Does the SELECT 1 provide a big performance gain or just prevents a call to the disk that may get delayed?

    Neither. It's there to...

Viewing 15 posts - 646 through 660 (of 1,229 total)