Forum Replies Created

Viewing 15 posts - 2,371 through 2,385 (of 8,754 total)

  • RE: Select List from xml

    Out of curiosity, why duplicate the results?
    😎

    You could do something like this
    DECLARE @x XML = '<revieves>
    <recievemessages>
      <message>test</message>
      <to>111111</to>

  • RE: same query, different behavior on different networks

    pamenta - Sunday, February 5, 2017 9:54 AM

    Hello, 

    I have a scenario where a  query should bring all names that match a...

  • RE: How does SSMS knows about the scalar functions ?

    The function is executed by this line of code in the procedure
    😎

    set @NStatusID =dbo.ePMT_findStatus(@action, @status)

  • RE: Need some help in tweaking tsql logic

    First thought would be to delete from the sysjobhistory table and use the output clause to archive the entries, no risk of any duplication.
    😎

    DECLARE...

  • RE: Rollup Incorrect - One Field

    Quick question, what is the divisor ct in your TotAvg calculation?
    😎

    ((Jan2016t + Feb2016t + Mar2016t + Apr2016t + May2016t + Jun2016t + Jul2016t +...

  • RE: MSDB Corruption

    Rechana Rajan - Sunday, February 5, 2017 5:15 AM

    Eirikur Eiriksson - Sunday, February 5, 2017 3:56 AM

  • RE: Importing Image

    gfx99ne - Sunday, February 5, 2017 3:41 AM

    Hi,

    Why this works: SELECT * FROM OPENROWSET (BULK 'C:\Users\kift\Documents\milkyway.jpg', SINLGE_BLOB) AS BLOB
    but this does...

  • RE: MSDB Corruption

    Rechana Rajan - Sunday, February 5, 2017 3:31 AM

    My msdb database went into suspect mode. How can i find the root cause...

  • RE: Defferance Count days within one year

    Here is a quick suggestion towards a solution that should get you passed this hurdle
    😎

    USE TEEST;
    GO
    SET NOCOUNT ON;
    --https://www.sqlservercentral.com/Forums/1856286/Defferance-Count-days-within-one-year
    IF OBJECT_ID(N'dbo.TBL_SAMPLE_DATE') IS...

  • RE: 1 Tb is How many rows in a databse

    Jeff Moden - Friday, February 3, 2017 4:18 PM

    susmitha117 - Friday, February 3, 2017 7:35 AM

    February 5, 2017 at 2:00 am

    #1926752

  • RE: 1 Tb is How many rows in a databse

    susmitha117 - Friday, February 3, 2017 7:35 AM

    How many rows does a database contain in 1TeraByte?

    As many as there are in there,...

  • RE: Interview Question

    susmitha117 - Friday, February 3, 2017 7:48 AM

    Hi. Recently I have attended a couple of interviews. I have faced a similar question...

  • RE: Any way to guesstimate internet needs for remote DBA?

    Back in the old days I was managing several mission critical database servers using GSM Data / GPRS, SSH and Putty on this device
    😎
    sony_ericsson P900

    Must admit...

  • RE: Are the posted questions getting worse?

    djj - Friday, February 3, 2017 6:14 AM

    Thank you, everyone. 

    Not a lot of postings with my skill level as I have...

  • RE: TSQL query help

    Alternative solution using patindex
    😎

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

    create table #temptbl
    (
    c1 varchar(100)
    )

    insert into #temptbl

Viewing 15 posts - 2,371 through 2,385 (of 8,754 total)