Forum Replies Created

Viewing 15 posts - 706 through 720 (of 927 total)

  • RE: Question: Find out SPID executed statement that ran a day ago

    did you able to get the query ?

    try this , it will show you the top most running queries for that server. hope you will able to find something....

  • RE: Order By Column

    nice question .... but Who Cares 😛

  • RE: Non Clustered index on Primary key is not used by the execution plan and showing Table scan

    ChrisM@Work (3/4/2014)


    Remove the index hint from the query whilst you are still testing and developing. Index hints are used when you've exhausted other, simpler, possibilities.

    Add rua.userIsBound to the index...

  • RE: union all slowing down stored procedure

    Please post the actual execution plan as a .sqlplan file attachment.

    Furthermore, If your queries have something like this :

    select Col1

    from Table1

    UNION

    select Col2

    from Table2

    Replace the 'UNION' with 'UNION ALL',...

  • RE: Non Clustered index on Primary key is not used by the execution plan and showing Table scan

    Please post the actual execution plan of the problematic query as a .sqlplan file attachment.

  • RE: EXCEPT 2

    Michael Poppers (3/3/2014)


    marcia.j.wilson (3/3/2014)


    I do appreciate the easy point, even though I don't think I earned it.

    Speak for yourself 😀 -- I thought this QotD was EXCEPTional! 🙂

    ++++1 :hehe:

  • RE: SSIS Newbie - Need Help

    you can definitely can do

    select * from Table1

    to

    select * from AnothTable

    you can achieve this through Variable of Type string.

    Let say you define a...

  • RE: SSIS Newbie - Need Help

    Great to see that you made a working SSIS package with all the logic you have in your mind. 🙂

    I think its a typo but need to highlighted,

    I've set...

  • RE: Stored Procedure Boundaries

    nice question. Thanks for sharing

  • RE: SSIS Newbie - Need Help

    Its all about making your mind 1st.

    if you are having problem writing sql ( as per you stated) you can do the following

    IF (SELECT Count(*) FROM DL_5010_5010 WHERE CallStatusZone1 =...

  • RE: Columns in Sub Queries

    nice question ... thanks for sharing

  • RE: Update a varchar with xml tags

    you have to convert this nvarchar(4000) to xml 1st and then apply the code which i shared earlier. you cannot update the varchar field containing xml.

  • RE: Update a varchar with xml tags

    try this

    declare @table table (id int identity(1,1), docxml xml)

    insert into @table (docxml)

    select CAST(N'<?xml version="1.0" encoding="utf-16"?> <InterfaceConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Source>.</Source> <Archive>.</Archive> <Log>.</Log> ...

  • RE: Update a varchar with xml tags

    Ryan Keast (2/19/2014)


    Thanks for that - it doesn't actually update the vchConfig field though?

    There is no 'vchConfig' tag available in the xml you shared. OR im missing something here ??

  • RE: Update a varchar with xml tags

    declare @xml as xml

    select @xml = CAST(N'<?xml version="1.0" encoding="utf-16"?> <InterfaceConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Source>.</Source> <Archive>.</Archive> <Log>.</Log> <Filter>PU*.csv</Filter> <Delimiter>"|"</Delimiter> <CreateAssets>true</CreateAssets>...

Viewing 15 posts - 706 through 720 (of 927 total)