Forum Replies Created

Viewing 15 posts - 2,986 through 3,000 (of 8,753 total)

  • RE: historical queries

    sqlserverDBA2016 (10/27/2016)


    Hi guys

    is it possible to retrieve queries which ran a week ago in a sql server database.

    So far i'm only able to retrieve up to one day using...

  • RE: Need extract XML column data with SQL

    Sachin Butala-182900 (10/27/2016)


    I have below XML in Table column and need to extract all account details.

    number | type | nickname

    Quick solution

    😎

    DECLARE @TXML XML = '<profile xmlns="http://schemas.clairmail.com/2008/01/Model/extensions" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <disabledState>

    ...

  • RE: sql server 2012 Integration Services will not start

    tcronin 95651 (10/26/2016)


    Vmware host took a dive about a week ago all servers went down. Everything came back up but now Integration Services will not start (uses same account...

  • RE: Upgrade from SQL 2005... to Which Version ?

    homebrew01 (10/26/2016)


    I'm considering upgrading our production server from 2005, at the same time we upgrade servers. I have not kept up on the most recent versions. No specific need to...

  • RE: Field Order in XML generated from Stored Procedure

    groverparkgeorge (10/26/2016)


    That's much closer. Still a bit of tweaking, I think.

    Thank you.

    George

    Good stuff, just ping back here if you run into any problems

    😎

  • RE: Field Order in XML generated from Stored Procedure

    groverparkgeorge (10/26/2016)


    I apologize if this has been covered, but I couldn't find a reference that fits.

    I have been asked to support an existing web site--the original developer is out of...

  • RE: Windows Function

    Worth having a look at Koen's article, Beware the defaults! (in windowing functions)[/url]

    😎

  • RE: I want to Encrypt data in tables

    mickegohle (10/26/2016)


    Hi folks,

    So, I want to encryot some columns in cetain tables in a database.

    I was thinking creating a table where I specify which tables and columns to be encrypted...

  • RE: Are the posted questions getting worse?

    Phil Parkin (10/26/2016)


    BWFC (10/26/2016)


    jasona.work (10/26/2016)


    Brandie Tarvin (10/26/2016)


    jasona.work (10/26/2016)


    Phil Parkin (10/26/2016)


    HanShi (10/26/2016)


    BLOB_EATER (10/26/2016)


    Lynn Pettis (10/25/2016)


    Spammers are getting better, now even the topics they post look legit.

    I liked Eric's response - "get...

  • RE: SQL server memory reduced to zero

    kesavan.rv (10/26/2016)


    Hi Friends,

    All off sudden in my PROD SQL server memory was reduced to zero(As the minimum memory was set to 0).

    Is there any way to find which one...

  • RE: RabbitMQ via SQL Server

    Jeff Moden (10/25/2016)


    TryingToLearn (10/25/2016)


    i need to create a queue via a trigger(i'm assuming) that will be consumed by a service/event bus in RabbitMQ. Would MSMQ be the proper way to...

  • RE: Comparing records in one table

    LinksUp (10/25/2016)


    Since you posted in a 2008 forum, here is a simple self-join using a cte that gives you your output. If you had access to 2012 or greater you...

  • RE: Comparing records in one table

    Almost identical to LinksUp's solution, does the same thing;-)

    😎

    USE TEEST;

    GO

    SET NOCOUNT ON;

    ;WITH SAMPLE_DATA(ID,Client,Level,[Change Date]) AS

    ( SELECT ID,Client,Level,CONVERT(DATE,[Change Date],103)

    FROM (VALUES

    ( 1,1000,2,'01/07/2016')

    ...

  • RE: The operating system returned error 21(The device is not ready.)

    sqlserverDBA2016 (10/24/2016)


    what would the fix be for this :

    The operating system returned error 21(The device is not ready.) to SQL Server during a

    write at offset 0x000000a87d0000 in file 'D:\SQL_DATA\tempdb1.ndf'

    Could...

  • RE: Help with SELECT where clause (multiple values in multiple columns)

    drew.allen (10/24/2016)


    If I understand correctly, just change your ORs to ANDs in your original query. You're getting rows where ANY column does not contain any of those values, but...

Viewing 15 posts - 2,986 through 3,000 (of 8,753 total)