Forum Replies Created

Viewing 15 posts - 1,066 through 1,080 (of 4,820 total)

  • RE: Today's Random Word!

    Ed Wagner - Friday, June 15, 2018 11:35 AM

    sgmunson - Friday, June 15, 2018 11:21 AM

    June 15, 2018 at 12:18 pm

    #1994173

  • RE: Today's Random Word!

    ManicStar - Wednesday, June 13, 2018 2:48 PM

    Ed Wagner - Wednesday, June 13, 2018 6:16 AM

    June 15, 2018 at 11:21 am

    #1994166

  • RE: Using a Temporary Table in SSRS

    cagray - Friday, June 15, 2018 10:38 AM

    Please bear with me just a little longer..  I have put all my code into...

  • RE: SQL Server 2012 SP4

    No idea on TLS 1.2, but I have to at least ask what's driving the desire to use SQL 2012?   It's at least 6 years out of date, and I...

  • RE: Primary key incrementation

    Matt Miller (4) - Thursday, June 14, 2018 8:37 AM

    sgmunson - Thursday, June 14, 2018 6:39 AM

  • RE: Using a Temporary Table in SSRS

    cagray,

    FYI, SSRS doesn't like queries that don't return a recordset.   If you need to execute multiple stored procedures to get all the data you need into a temp...

  • RE: Grouping and Exporting to Text File

    I can think of a half dozen reasons it may not work, but the bigger problem is that the poster's source table has no inherent order.   There's nothing about a...

  • RE: Add custom label to all reports programmatically

    One, it would NOT be easy to do.   You'd have to know exactly where in the xml of each report the necessary additional XML would need to go, and unless...

  • RE: Sort all but one

    I tend to solve these problems in my dataset by letting the query or stored procedure provide a sort value as a column in the dataset.  If you can post...

  • RE: using wildcards in and and an IN in a Where clause

    How about something like putting all those search strings in a table?
    Here's a sample idea:
    DECLARE @ls AS TABLE (
        STRING varchar(10) NOT NULL PRIMARY KEY CLUSTERED
    );
    INSERT...

  • RE: Select from table with to colums in to different levels

    simon.vasiljevic - Friday, June 15, 2018 4:07 AM

    Hello, I have a SQL table with two columns that contain numbers. The first...

  • RE: Return last amount larger than 0

    Try this:
    CREATE TABLE #ClosingEntries (
        Unique_ID char(14) NOT NULL,
        TRAN_DATE date NOT NULL,
        CLOSING_CREDITS decimal(20,10) NOT NULL,
        CLOSING_DEBITS decimal(20,10) NOT NULL
    );
    INSERT INTO #ClosingEntries (Unique_ID, TRAN_DATE, CLOSING_CREDITS, CLOSING_DEBITS)

  • RE: Columnstore Index testing- advice on different table sizes

    dbodell - Thursday, June 14, 2018 12:17 PM

    Fortunately both databases are on the same server so that keeps other variables out of...

  • RE: Top 2 records with range

    Oops... missed a column, and while I'm at it, improved the performance characteristics by analyzing the execution plan:
    CREATE TABLE #ScoreRange (
        IdScore int,
        ScoreLow int,
        ScoreHigh int,
        RangeName varchar(100),

  • RE: Top 2 records with range

    Here you go:
    CREATE TABLE #ScoreRange (
        IdScore int,
        ScoreLow int,
        ScoreHigh int,
        RangeName varchar(100)
    );
    INSERT INTO #ScoreRange (IdScore, ScoreLow, ScoreHigh, RangeName)
        VALUES    (1,  0, 1499, 'Poor'),
                (2, 1500, 3499,...

Viewing 15 posts - 1,066 through 1,080 (of 4,820 total)