Forum Replies Created

Viewing 15 posts - 1,411 through 1,425 (of 5,109 total)

  • RE: Give integer value to column based on sort

    Have you had a look at ROW_NUMBER? Specifically, you need to make sure you at your PARTITION and ORDER BY expressions. I suggest having a look at the...

    Thom~

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

  • RE: how do i do a partial string search in a Full Text Index?

    stiej1977 - Thursday, November 22, 2018 5:32 AM

    yes i've been using contains. The LIKE does return the row. Contains doesn't.

    The post you...

    Thom~

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

  • RE: how do i do a partial string search in a Full Text Index?

    Are you not looking for CONTAINS (Transact-SQL)? Even so, if your LIKE isn't returning a result, that means that no rows contain the string "mypartialstring".

    Thom~

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

  • RE: Problem using expression in SSIS

    mohanbabu.s - Wednesday, November 21, 2018 11:15 PM

    Phil Parkin - Wednesday, November 21, 2018 5:25 AM

    Thom~

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

  • RE: What are the project settings in SSRS deployment?

    I recommend against Overwrite Datasources and Datasets being set to True; especially if you're working with Dev and UAT environments.

    If a folder doesn't exist on your server when...

    Thom~

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

  • RE: Another Reason to Care About Security

    I think the thing that I really care about when i hear a company I use, or I'm looking to, has a data breach is how much that put into...

    Thom~

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

  • RE: Obfuscating character columns

    VoldemarG - Wednesday, November 21, 2018 8:47 AM

    But that requires 2 loops , tables and columns, a lot of T-SQL writing and...

    Thom~

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

  • RE: Obfuscating character columns

    Otherwise, RedGate offer a tool called Data Masker.

    Thom~

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

  • RE: Obfuscating character columns

    If the columns all have the same name, and definition, why not just use some dynamic SQL?

    Thom~

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

  • RE: Case when inside of partition by?

    Give this one a go:

    SELECT TOP 1

    Thom~

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

  • RE: Case when inside of partition by?

    Data Cruncher - Wednesday, November 21, 2018 7:09 AM

    @Thom-A uhm, if you insert also the following line:
    INSERT INTO #TAB1(ID, MY_STATE,...

    Thom~

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

  • RE: Case when inside of partition by?

    Why not:
    [Code]
    SELECT TOP 1 WITH TIES
           ID, MY_STATE, EVENT_TS
    FROM #TAB1
    ORDER BY ROW_NUMBER() OVER (PARTITION BY ID ORDER BY EVENT_TS DESC);[/code]

    Thom~

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

  • RE: Extract/Normalise XML data

    MacDaddy - Tuesday, November 20, 2018 6:00 AM

    Thom,
    First of all, massive thanks for the code above - that's totally nailed it!
    I...

    Thom~

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

  • RE: Extract/Normalise XML data

    When posting, you should really show your attempts too; it really helps us understand how far you've got and may mean that we don't have to do all the work...

    Thom~

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

  • RE: Can a person learn to use SSIS for free ?

    primitivefuture2006 - Monday, November 19, 2018 7:28 PM

    Hi Thom A, my sincere apologies in advance if this question is basic, I...

    Thom~

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

Viewing 15 posts - 1,411 through 1,425 (of 5,109 total)