Forum Replies Created

Viewing 15 posts - 4,891 through 4,905 (of 15,381 total)

  • RE: Flip two words

    Be careful here. Dwain commented that he has encountered significant performance issues when using a value from a function like that as the first parameter in DelimitedSplit8K. I was rather...

  • RE: Help Need in combining Result in Column level

    Luis Cazares (5/14/2014)


    Sean Lange (5/14/2014)


    I would drop the mapping table and add another column to the Item table named ParentItemID. Then this is a simple recursive cte.

    I saw the single...

  • RE: Help Need in combining Result in Column level

    I would drop the mapping table and add another column to the Item table named ParentItemID. Then this is a simple recursive cte.

  • RE: Database and Table growth report

    smtzac (5/14/2014)


    I have a database 'DB and Table Growth'. Inside that database table called 'GrowthTrack'.

    Now I want to create a store procedure which that takes size of 'AdventureWorks' database...

  • RE: Flip two words

    Eirikur Eiriksson (5/14/2014)


    For fun:-P, it always looks simple until one starts to meddle with it

    😎

    Not a huge deal...just add some ltrim, rtrim.

    with Names as

    (

    select 'Mike...

  • RE: Flip two words

    Here is one way you might be able to deal with that.

    with Names as

    (

    select 'Mike Davis' as FullName union all

    select 'NoSpace'

    )

    select case when charindex(' ' , FullName, 0) > 0...

  • RE: Flip two words

    sharonsql2013 (5/14/2014)


    Great!. Works but then I get an error : Invalid length parameter passed to the left or Substring function

    That is because you have at least one value that doesn't...

  • RE: Does running multiple SQL queries in the same SP cause latency ?

    isuckatsql (5/14/2014)


    I have the following:

    (a) One Dynamic SQL Query that takes 37 ms when run as a single query or in an SP.

    (b) Three SQL Indexed View queries that take...

  • RE: Flip two words

    sharonsql2013 (5/14/2014)


    In order to join two tables , I need to flip the name column in one table to bring the last name first.

    So If its Mike Davis

    I need...

  • RE: Access 2013 to SQL server 2005 (error in Select Statement)

    jdasilva (5/14/2014)


    Thanks. I will. In programing (do a bit of VBA) I always fight with var names. Too long vs. not discriptive enough.

    Also, I see you point...

  • RE: Link more than one item for one selling operation ...

    Hi and welcome to the forums. In order to help we will need a few things:

    1. Sample DDL in the form of CREATE TABLE statements

    2. Sample data in the form...

  • RE: SQL Stored Procedure help

    Let's see what this monster looks like with some formatting so we can read it...

    /****** Object: StoredProcedure [dbo].[CCPAspProjectCostCatDetail] Script Date: 05/13/2014 15:46:48 ******/

    SET ANSI_NULLS ON

    GO

    SET QUOTED_IDENTIFIER ON

    GO

    -- =============================================

    -- Author:

    -- Create...

  • RE: Access 2013 to SQL server 2005 (error in Select Statement)

    jdasilva (5/14/2014)


    thanks Sean for the tips.

    unfortunately changing the names currently used would be quite a lot of work as it is not only tied to Access but several Visio floor...

  • RE: Clustred scan to seek

    Gangadhara MS (5/13/2014)


    It really didn't helped me out, seems something is wrong here does it due to 125 rows ??

    Well the query you posted is nothing like the...

  • RE: Are the posted questions getting worse?

    GilaMonster (5/14/2014)


    Koen Verbeeck (5/14/2014)


    This was a funny topic 😀 (especially the last replies)

    Sorry, am a little short on patience today.

    I almost spit my coffee on the screen when I saw...

Viewing 15 posts - 4,891 through 4,905 (of 15,381 total)