Forum Replies Created

Viewing 15 posts - 1,786 through 1,800 (of 2,458 total)

  • RE: Looking for suggestions

    I have also had luck with recruiters. I have a couple that I have worked with for years and they periodically send me a 20 hour-project where someone needs some...

  • RE: Query fast one day, slow the next day - can indexes go bad

    Tom John-342103 (2/5/2015)


    Steve Jones - SSC Editor (2/5/2015)


    Could be parameter sniffing, perhaps a plan flush that compiled poorly the next time, it's not the index itself.

    We identified the offending query...

  • RE: Parameter Sniffing or Something else?

    This will give you the info that you need:

    How to Post Performance Problems[/url]

  • RE: Get Date Of Tuesday of Past x Years From Now

    I don't get exactly what you are trying to do but I know that a calendar table is helpful in this kind of situation. If you don't have one available...

  • RE: Parameter Sniffing or Something else?

    If using option Recompile fixes it then you may be dealing with parameter sniffing. One way to know for sure is to capture the query plan when running the query...

  • RE: practical advice arounding indexing and ETL?

    I just left a longer reply and got an error when I attempted to post it :angry:

    Anyhow, take a look at

    SQL University: Advanced Indexing – Indexing Strategies[/url]

  • RE: get xml text from varchar column

    Anju Renjith (2/3/2015)


    create table tblxmldata

    (id int, xmltext xml)

    insert into tblxmldata values(1,'<associatedText><value type="PO">GTT taken</value></associatedText><associatedText><value type="PO">Check sugar today please</value></associatedText>')

    insert into tblxmldata values(2,'<associatedText><value type="PO">Check BP today please</value></associatedText>')

    I want the output as

    1 ...

  • RE: get xml text from varchar column

    I want the output as

    GTT taken

    Check sugar today please

    SELECT id, xmltext.value('(/associatedText/value/text())[1]','varchar(100)')

    FROM tblxmldata;

    Note that you don't need the nodes() method in this case because you are only retrieving one value...

  • RE: Curious interview question

    I have had to read from the registry when creating DTS (back in the day) and SSIS packages. Some app developers like to store information about that custom app in...

  • RE: Search for specified items in report.

    Something to note...

    If you are only looking to extract report data from the reportserver..catalog table it's good to filter for Content that is not null and [Type] = 2....

  • RE: Where do senior SQL DBAs land finally?

    I agree with all the previous comments, particularly what Jeff said about the "better" jobs find you. I am certainly not anywhere at the same DBA skill level as say...

  • RE: Concatenating multiple rows(certain columns)

    DDL, more sample data and a better description make this easier but here is a possible solution...

    -- (1) Sample Data

    DECLARE @table TABLE (ID int, Seq char(2), [desc] varchar(50), DateOpen date,...

  • RE: Need help getting XML data out of SQL table

    You can lose one cross apply and further simplify the query like this:

    SELECT

    o.value('(del_Nr/text())[1]', 'VARCHAR(10)') as PONbr,

    o.value('(del_Third_Nr/text())[1]', 'VARCHAR(10)') AS NCubeID,

    ...

  • RE: 3rd party tools for backup compression

    Michael Valentine Jones (1/26/2015)


    I haven't seen much improvement in compression using third party backup tools compared to the native SQL Server 2008R2 backup compression.

    Some of the third party backup tools...

  • RE: 3rd party tools for backup compression

    As far as 3rd party tools are concerned, SQL Backup Pro[/url] has worked well for me. It has a lot of other useful functionality in addition to compression.

Viewing 15 posts - 1,786 through 1,800 (of 2,458 total)