Forum Replies Created

Viewing 15 posts - 4,021 through 4,035 (of 5,109 total)

  • RE: Are the posted questions getting worse?

    Sean Lange - Wednesday, March 29, 2017 9:10 AM

    HAHA!!! This reminds me of very first job as a dev. I had...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Are the posted questions getting worse?

    jasona.work - Wednesday, March 29, 2017 8:45 AM

    Um, is it bad if I ran this in production a week ago:
    [code...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Are the posted questions getting worse?

    GilaMonster - Wednesday, March 29, 2017 8:27 AM

    Thom A - Wednesday, March 29, 2017 8:12 AM

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Are the posted questions getting worse?

    Concerning that someone who has probably created at least 100 topics on this forum is now asking what ISNULL, MAX and CAST "means".

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Menaing of the select statement

    Firstly, that query is incomplete, there should be a further Right Parenthesis at the end of it. (there's also no FROM clause, but I'm ignoring that).

    If we break...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Are the posted questions getting worse?

    On a totally unrelated note, why has our webdev suddenly decided he wants all of his data unpivoted >_< ARGH.

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Display column 2 horizontally and matched with column 1.

    So the data isn't already in SQL? Do you not use a Pivot table in Excel already then? These are generally pretty quick, and the direction my thought was going...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Display column 2 horizontally and matched with column 1.

    Do you have to do this in T-SQL? Could you, instead, for example, use Reporting Services or Excel to do your Pivot for you?

    T-SQL can Pivot, but you...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Are the posted questions getting worse?

    Grant Fritchey - Tuesday, March 28, 2017 4:19 AM

    Thom A - Tuesday, March 28, 2017 3:09 AM

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Are the posted questions getting worse?

    Grant Fritchey - Tuesday, March 28, 2017 3:00 AM

    Luis Cazares - Monday, March 27, 2017 11:58 AM

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: paramter refresh

    In the Paramter properties, in the advanced pane, change Refresh data when the parameter changes to never refresh. You'll have to physically refresh it then.

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Two sets of numbers, one 6 in LEN, the other 7..need to match the first 6 digits in both as a query?

    Is this along the lines of what you're looking for?
    DECLARE @Sku VARCHAR(7), @NewPrice DECIMAL(8,2);
    --Set your parameter values

    UPDATE Product
    SET Price = @NewPrice
    WHERE SKU...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Problems quering XML

    What information are you trying to get out of the xml? What do you want your output data to look like?

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: brain freeze on exists

    I might being silly here, but what does you're sub query have to do with your outer query? As far as I can tell, every row in the AdminProduct table...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Issue with Patindex

    Like this?
    CREATE TABLE #Emp (EmpID VARCHAR(8));
    GO

    INSERT INTO #Emp
    VALUES ('00000000'),('02005523');
    GO

    SELECT *
    FROM #Emp

    UPDATE #Emp
    SET EmpID = RIGHT(EmpID,7)
    WHERE...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

Viewing 15 posts - 4,021 through 4,035 (of 5,109 total)