Forum Replies Created

Viewing 15 posts - 5,431 through 5,445 (of 8,761 total)

  • RE: How to use Date Diff Function?

    Quick suggestion, use the GETDATE() function in T-SQL

    😎

  • RE: Query to find distinct multiple instances of a pattern in a string

    For fun, yet another solution

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    IF OBJECT_ID('dbo.TBL_SAMPLE_PARSE') IS NOT NULL

    DROP TABLE dbo.TBL_SAMPLE_PARSE

    CREATE TABLE dbo.TBL_SAMPLE_PARSE

    (

    SP_ID INT IDENTITY(1,1) NOT NULL ...

  • RE: Grouping results based on previous rows

    Quick solution, should be self explanatory (I'll add comments if I'll get the time;-))

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    IF OBJECT_ID(N'dbo.Test_ROADS') IS NOT NULL DROP TABLE dbo.Test_ROADS;

    CREATE TABLE dbo.Test_ROADS

    (

    Hwy...

  • RE: Using "Try-Catch" and "Rollback" on read only stored procedure

    Jeff Moden (5/1/2015)


    It's clever but I have to disagree with that being a good example of a "Read Only Try/Catch" because it returns two result sets instead of just one....

  • RE: Today's Random Word!

    Ed Wagner (5/1/2015)


    Eirikur Eiriksson (5/1/2015)


    crookj (5/1/2015)


    SQLRNNR (5/1/2015)


    totem

    Tikki

    Raita

    Yogurt

    Skyr

  • RE: Are the posted questions getting worse?

    Jeff Moden (5/1/2015)


    I had a rare and wonderful opportunity, today. Luis is in town and I finally got to meet him and have lunch with both him and Ed...

  • RE: Finding Problem Code

    Eric M Russell (5/1/2015)


    Eirikur Eiriksson (5/1/2015)


    Eric M Russell (5/1/2015)


    Eirikur Eiriksson (5/1/2015)


    Eric M Russell (5/1/2015)


    Static code analysis doesn't know how many times the code is executed, how much data it accesses,...

  • RE: TRANSFORM VARIABLE - ADD OPERATOR OR

    diogo_1984 (5/1/2015)


    I wish my transform variable, so that adding the OR operator, and the words within the quotes are not to put the OR.

    ALTER PROCEDURE

    @product = ' 'ORANGE LEMON'...

  • RE: Today's Random Word!

    crookj (5/1/2015)


    SQLRNNR (5/1/2015)


    totem

    Tikki

    Raita

  • RE: Today's Random Word!

    Revenant (5/1/2015)


    Eirikur Eiriksson (5/1/2015)


    djj (5/1/2015)


    Ed Wagner (5/1/2015)


    Eirikur Eiriksson (5/1/2015)


    crookj (5/1/2015)


    Ed Wagner (5/1/2015)


    djj (5/1/2015)


    Eirikur Eiriksson (5/1/2015)


    Ed Wagner (5/1/2015)


    Up

    Direction

    Location

    GPS

    Garman

    Brand

    Recognition

    Award

    Celebration

    Friday!

    Venus

  • RE: Today's Random Word!

    djj (5/1/2015)


    Ed Wagner (5/1/2015)


    Eirikur Eiriksson (5/1/2015)


    crookj (5/1/2015)


    Ed Wagner (5/1/2015)


    djj (5/1/2015)


    Eirikur Eiriksson (5/1/2015)


    Ed Wagner (5/1/2015)


    Up

    Direction

    Location

    GPS

    Garman

    Brand

    Recognition

    Award

    Celebration

  • RE: Finding Problem Code

    Eric M Russell (5/1/2015)


    Eirikur Eiriksson (5/1/2015)


    Eric M Russell (5/1/2015)


    Static code analysis doesn't know how many times the code is executed, how much data it accesses, or how it's impacted when...

  • RE: remove CR-LF in between column which is text datatype

    PJ_SQL (5/1/2015)


    I have a column A as 'text' datatype. This has CR-LF in between data.

    How to remove it.

    I am trying to copy result from SQL to Excel

    Eg:

    A CR LF

    ABC CR...

  • RE: Finding Problem Code

    djackson 22568 (5/1/2015)


    david.gugg (5/1/2015)


    We run a daily trace that captures SQL running longer that X seconds. This gives us a good idea of what SQL can be tuned to...

  • RE: Finding Problem Code

    Eric M Russell (5/1/2015)


    Static code analysis doesn't know how many times the code is executed, how much data it accesses, or how it's impacted when running in parallel with other...

Viewing 15 posts - 5,431 through 5,445 (of 8,761 total)