Forum Replies Created

Viewing 15 posts - 6,001 through 6,015 (of 8,761 total)

  • RE: Are the posted questions getting worse?

    spaghettidba (3/21/2015)


    TomThomson (3/20/2015)


    spaghettidba (3/19/2015)


    It has to be said that the Italian language doesn't help either: "the surgeon" translates to "il chirurgo", which is a masculine word to indicate the job,...

  • RE: Finding Beginning Date from multiple lines of date ranges

    Just for fun here are two alternative methods, a single table scan solution without recursion and a dual self-join

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    IF OBJECT_ID(N'dbo.TBL_DATE_SAMPLE') IS NULL

    BEGIN

    CREATE TABLE dbo.TBL_DATE_SAMPLE

    (

    ...

  • RE: Code Snippet Manager

    Have you tried to add the Code Snippet Manager Command to the Tools menu?

    😎

    Edit: typo

  • RE: the Size of DB became very big , any idea to cut it to smaller

    wagdy_maher (3/20/2015)


    I need help if any idea to keep data of last 6 month only and the oldest keep it as backup or any

    any idea please ?

    Thanks,

    Quick thought, there is...

  • RE: Creating a unique ID for groups of rows

    A straight forward way of doing this is to calculate the running total on the first column, here is an example

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

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

  • RE: TSQL Help

    Hi and welcome to the forum.

    Not certain what you are after but this is my first interpretation

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

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

    CREATE TABLE dbo.TBL_SAMPLE_DATA

    (

    ...

  • RE: tlog backups failing every Sunday

    patrickmcginnis59 10839 (3/19/2015)


    Eirikur Eiriksson (3/17/2015)


    add2700 (3/17/2015)


    This issue has existed for a long time. SQL Server 2005 SP2 on server 2003.

    First thought is that fixing the ageing OS/SQL Version should be...

  • RE: Today's Random Word!

    crookj (3/19/2015)


    Ed Wagner (3/19/2015)


    Stuart Davies (3/19/2015)


    Eirikur Eiriksson (3/18/2015)


    djj (3/18/2015)


    Ed Wagner (3/18/2015)


    crookj (3/18/2015)


    Revenant (3/18/2015)


    whereisSQL? (3/18/2015)


    Ed Wagner (3/18/2015)


    djj (3/18/2015)


    crookj (3/18/2015)


    Ed Wagner (3/18/2015)


    BWFC (3/18/2015)


    djj (3/18/2015)


    SQLRNNR (3/17/2015)


    Ed Wagner (3/17/2015)


    Eirikur Eiriksson (3/17/2015)


    SQLRNNR (3/17/2015)


    skiff

    Floating

    Drift

    wood

    Stove

    Pipe

    Exhaust

    flatulence

    Stinks

    Smells

    Deodorizer

    Fresh

    Prince

    Harry

    Potter

    Simmer

    boil

    Pasta

    lasagna

    Red

  • RE: Compare two XML variables

    Quick thought, use either HASHBYTES or CHECKSUM

    😎

    WHERE CHECKSUM(@xml_old) = CHECKSUM(@xml_new)

  • RE: Today's Random Word!

    djj (3/18/2015)


    Ed Wagner (3/18/2015)


    crookj (3/18/2015)


    Revenant (3/18/2015)


    whereisSQL? (3/18/2015)


    Ed Wagner (3/18/2015)


    djj (3/18/2015)


    crookj (3/18/2015)


    Ed Wagner (3/18/2015)


    BWFC (3/18/2015)


    djj (3/18/2015)


    SQLRNNR (3/17/2015)


    Ed Wagner (3/17/2015)


    Eirikur Eiriksson (3/17/2015)


    SQLRNNR (3/17/2015)


    skiff

    Floating

    Drift

    wood

    Stove

    Pipe

    Exhaust

    flatulence

    Stinks

    Smells

    Deodorizer

    Fresh

    Prince

    Harry

    Potter

    Simmer

  • RE: Are the posted questions getting worse?

    Classifying any person as inferior based on gender, race, religion, health, physical condition or any other irrelevant aspects or properties is both appalling and unprofessional. Under no circumstances should such...

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (3/18/2015)


    For your discussion: https://medium.com/@sailorhg/coding-like-a-girl-595b90791cce

    Quick thought, do not ever ever ever judge the book by it's cover

    😎

  • RE: Time difference with dates in same column

    thomashohner (3/17/2015)


    Wow that was fast!

    And its faster than my attempt at creating a temp table to build a start and stop time column.

    Amazing 242,139 rows in under 30 seconds

    Hence...

  • RE: Completely New to Availability groups and need help

    Quick suggestion, start by browsing through Brent Ozar's posts/ebooks/posters[/url] on the subject

    😎

  • RE: 2012 Upgrade

    bpowers (3/17/2015)


    We are looking at upgrading our SQL Server 2008 SP4 Standard Edition instances to SQL Server 2012 SP1 Enterprise Edition. Has anyone experienced any issues doing such an upgrade?...

Viewing 15 posts - 6,001 through 6,015 (of 8,761 total)