Forum Replies Created

Viewing 15 posts - 3,136 through 3,150 (of 8,761 total)

  • RE: IndexOptimize Script

    You are very welcome Mike and thanks for the feedback.

    😎

  • RE: Extract XML column to insert into table

    Hi Rodney,

    this should be easy to fix, will have a look later today

    😎

  • RE: IndexOptimize Script

    If you open the job and select Steps on the left, what is the Type of the job step? It should be "Operating System (CmdExec).

    😎

  • RE: IndexOptimize Script

    Mike Scalise (9/27/2016)


    Hi,

    Has anyone run the latest Ola Hallengren's IndexOptimize script (September 25)?

    I'm not sure why but when I run the job, I get the error "Executed as user: NT...

  • RE: Help with the query

    JackTimber (9/27/2016)


    Thanks Erirkur for the help.

    But i had miss quoted my question in previous screnario.

    I thought there was something odd with desired results 😉

    😎

    Here is a solution to your problem...

  • RE: Are the posted questions getting worse?

    Jeff Moden (9/26/2016)


    We've just been through patch hell. It broke some very important C# code on one of our servers. We had to roll back the update in...

  • RE: Extract XML column to insert into table

    rodjkidd (9/26/2016)


    Row_number order by @@version - which I didn't know about.

    I'm just to lazy to write "(SELECT NULL)" when @@VERSION does the same thing, that is tells the server to...

  • RE: Update Rows across tables sequentially

    Quick questions, are you using SQLite or SQL Server? Can you post the DDL (create table ) scripts for the relevant tables, sample data as an insert statement and the...

  • RE: T-SQL: Pulling Data Based on Only One Value

    Can you please post the DDL (create table) scripts for the relevant tables and sample data as an insert statement?

    😎

  • RE: Help with the query

    The design and the desired results are somewhat odd as it requires a union of the reference data.

    😎

    USE TEEST;

    GO

    SET NOCOUNT ON;

    --

    IF OBJECT_ID(N'tempdb..#SourceData') IS NOT NULL DROP TABLE #SourceData;

    CREATE TABLE #SourceData(

    Name...

  • RE: Cross apply ??

    jbalbo (9/26/2016)


    Shouldn't I have "If_x0020_Other" somewhere in the cross apply?

    The If_x0020_Other does not add a level as it is the sibling of the Delivery_x0020_Method node, therefore the query is the...

  • RE: Cross apply ??

    jbalbo (9/26/2016)


    Hi

    I use :

    CROSS APPLY Data.nodes('/Data/Delivery_x0020_Method/Service_x005F_x0020_Note_x005F_x0020_additions_Delivery_x0020_Method_Option') m(Node2)

    WHERE ( Node2.value('Checked[1]',...

  • RE: How to get a resultant URL using tsql

    Quick suggestion, use WinHttp.WinHttpRequest instead.

    😎

    Here is an example previously posted on this thread

    CREATE function [dbo].[GetHttp]

    (

    @url varchar(8000)

    )

    returns varchar(8000)

    WITH EXECUTE AS OWNER

    as

    BEGIN

    ...

  • RE: Deadlock because of same process

    No, a session cannot deadlock itself and there are two different spids in there, spid="186" & spid="200".

    😎

    On the other hand, this looks like a multi threaded Entity Framework application...

  • RE: SQL question

    Luis Cazares (9/26/2016)


    Different option:

    SELECT '/' + LEFT( newpathx, CHARINDEX( '/', newpathx, CHARINDEX('/', newpathx) + 1))

    FROM #t

    CROSS APPLY( SELECT STUFF( pathx, 1, CHARINDEX('/', pathx), '') newpathx) x

    WHERE pathx LIKE '%/%/%/%';

    YAA (Yet...

Viewing 15 posts - 3,136 through 3,150 (of 8,761 total)