Forum Replies Created

Viewing 15 posts - 7,966 through 7,980 (of 8,761 total)

  • RE: I need a pivot of this data

    Many ways of doing this, here are two quick examples. BTW, thanks for the nice DDL/sample.

    😎

    Slightly long winded pre 2012.

    ;WITH LIC_TYPE AS

    (

    SELECT

    TL.ID

    ,ROW_NUMBER...

  • RE: SQL Server Database Developer Role Dying?

    I see steadily increasing demand for SQL Server professionals, it is the de facto database platform for small and medium enterprises, and one of M$ best money buckets.

    😎

  • RE: Replace keyword or a better way?

    Further on Jason's advice

    😎

    USE tempdb;

    GO

    create table dbo.names (Place varchar(50));

    insert into dbo.names ( Place) values ('(1)');

    insert into dbo.names ( Place) values ('(100)');

    insert into dbo.names ( Place) values ('(200)');

    SELECT

    ...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (6/18/2014)


    Grant Fritchey (6/18/2014)


    SQLRNNR (6/18/2014)


    jasona.work (6/18/2014)


    GilaMonster (6/17/2014)


    Gotta love a review system where an above-average rating requires "Leaves only when work is done and stays to assist others"

    "No pressure to...

  • RE: Trigger is not working as expected

    raju.venkatsv (6/18/2014)


    Thank you for your quick reply.

    request you to provide some hints or some information , using which i can update my trigger to meet business requirement.z

    requesting you for...

  • RE: The fun factor: Magical numbers and other peculiarities

    mickyT (6/16/2014)


    One to make you smile if you have 2012:-)

    DECLARE @smiley varchar(20) = 'Dont Worry Be Happy';

    WITH Params AS (

    SELECT MAX(CASE WHEN ItemNumber = 1 THEN Val END) OFFSET,

    MAX(CASE WHEN...

  • RE: How can I modify .dtsx file .?

    trikha.ishan (6/18/2014)


    Hi,

    I tried to update the .dtsx file using notepad in development server and that change is in Script Component but when I ran the package that change didn't reflected...

  • RE: Is Killing Database Shrink via SSMS a risk?

    Gazareth (6/18/2014)


    MS's comments on this: http://support.microsoft.com/kb/86903

    There's another link on the page to more detailed requirements.

    Thanks!

    😎

  • RE: The fun factor: Magical numbers and other peculiarities

    If Einstein would have had SQL Server, it would have been so much easier:-D

    😎

    USE tempdb;

    GO

    ;WITH SQL_VISDOM AS

    (

    SELECT

    ROW_NUMBER() OVER...

  • RE: 4 query=1 query

    gurbanov.1984 (6/18/2014)


    my server

    2014

    That was a very quick upgrade:-P

    Any sample data?

    😎

  • RE: 4 query=1 query

    gurbanov.1984 (6/17/2014)


    yes 2008

    No problem there, only excludes the 2012/14 window functions. Could you provide some sample data + table structure?

    😎

  • RE: Running OLAP Cubes

    sparikh (6/17/2014)


    Hello All,

    I am new to OLAP Reporting.

    After creating cube i can also view it in BI Browser is there any other way to run it or how do...

  • RE: 4 query=1 query

    Quick questions: are you on 2008 platform? Can you provide some sample data?

    😎

  • RE: Need to find Saturday # between two dates

    Two solutions, first one for 2005 and later, the second 2012 and later. The difference is that the first one uses self-joining which makes it less efficient. For very large...

  • RE: Need to find Saturday # between two dates

    pietlinden (6/17/2014)


    I think I just very carefully solved this using a 2012 solution... figured I would post it for people to tear apart...

    the ROWS PRECEDING window function is new in...

Viewing 15 posts - 7,966 through 7,980 (of 8,761 total)