Forum Replies Created

Viewing 15 posts - 4,336 through 4,350 (of 8,753 total)

  • RE: SQL Server shuts down after starting the service !!

    sandeepraichura (10/26/2015)


    I'm running SQL 2012 on a Win 2012 VM and the SQL server shuts down automatically after starting the SQL Server & SQL Server Agent Jobs.

    Did anyone came across...

  • RE: Missing Relationships

    Ratheesh.K.Nair (10/25/2015)


    Hi Experts,

    We are observing very strange scenario in which some relationships are getting removed from tables. We havent deleted any tables? Can anyone help me understand or any...

  • RE: Today's Random Word!

    Ed Wagner (10/23/2015)


    anthony.green (10/23/2015)


    Ed Wagner (10/23/2015)


    anthony.green (10/23/2015)


    djj (10/23/2015)


    anthony.green (10/23/2015)


    Ed Wagner (10/22/2015)


    Math

    School

    Study

    Invest

    Risk

    Assessment

    Process

    Inflation

  • RE: Today's Random Word!

    ZZartin (10/22/2015)


    Ed Wagner (10/22/2015)


    eccentricDBA (10/22/2015)


    DonlSimpson (10/22/2015)


    Ed Wagner (10/22/2015)


    anthony.green (10/22/2015)


    crookj (10/22/2015)


    anthony.green (10/22/2015)


    djj (10/22/2015)


    anthony.green (10/22/2015)


    Ed Wagner (10/22/2015)


    BL0B_EATER (10/22/2015)


    crookj (10/22/2015)


    anthony.green (10/22/2015)


    Ed Wagner (10/22/2015)


    Dumbledore

    Professor

    Gandolf

    Beard

    Hair

    Biker

    Leather

    Cow

    Tipping

    Tractor

    Hay Ride

    Allergies

    allegories

    Euphemism

    Schism

    Ism^2

  • RE: What's wrong with this query ? Why am I not getting the correct output

    mw112009 (10/22/2015)


    Why is the name of the column BABY_DOB not appear in the output ?

    I am simply trying to get a listing of table_name , col_name for those tables that...

  • RE: how to insert xml declaration

    sam-433147 (10/22/2015)


    OK

    I see what you mean

    but what about xml that exceed the varchar(max)?

    If it exceeds the 2Gb limit then you have two options, chop it into 2GB chunks or export...

  • RE: The TOP 10 Count

    Stewart "Arturius" Campbell (10/22/2015)


    martin.whitton (10/22/2015)


    Of course, if you have more than 2^21 columns in your database, it will return an error ... 😀

    if one has that many columns, they will...

  • RE: how to insert xml declaration

    sam-433147 (10/22/2015)


    hai,

    how can i insert the declaration

    <?xml version="1.0" encoding="UTF-8"?>

    to my query?

    declare @tbl table(Color varchar(20))

    insert into @tbl(Color)

    values ('Green')

    insert into @tbl(Color)

    values ('Red')

    select Color

    from @tbl Colors

    FOR XML AUTO, ROOT ('MyColors'), ELEMENTS...

  • RE: Removing duplicate character from string

    nadersam (10/19/2015)


    Unfortunately the lag function is not supported on the servers on site, they have SQL Server 2008.

    Any other option please?.

    Self-join the character list cte is another option

    😎

  • RE: Problem attaching database to re-install of SQLExpress 2014

    Quick question, is the new install running under the same credentials as the old one? Looks like a simple permission issue.

    😎

  • RE: Differences Between Lower Compatibility Levels and Level 120

    Thanks for the question Junior.

    Given the answers it could as well have been "Pick the combination of two correct dates";-)

    😎

  • RE: Removing duplicate character from string

    Quick solution

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    DECLARE @INPUT_STR VARCHAR(500) = 'WWWWWWHY DDDDDDDDDDDOOOOOOOOO YYYYYYYYOOOOOOOOOOOOOOOOOUUUUUUUUUU WWWWWWWWWWANNNNNNNNNNNNNTTTTTTT TOOOOOOOOO DOOOOOOOO TTTTTTTTHIIIIIIIIIIISSSSSSS??????????';

    ;WITH...

  • RE: Column Store Disabling

    Quick suggestion, query sys.indexes to check if the columnstore index is disabled or not before attempting to manipulate the data.

    😎

  • RE: Deleting large batches of rows - optimum batch size?

    Quick thought and further on Jeff's fine answer, observing the wait stats during the operation usually gives a good indication of whether to alter the batch size or even change...

  • RE: help to get first occurrence value when the value is duplicated

    Another quick solution

    😎

    SELECT

    MIN(T.hierarchyid) AS [hierarchyid]

    ,T.hierarchyval

    FROM #test T

    GROUP BY T.hierarchyval;

    The two solutions posted are close in performance or rather lack there of,...

Viewing 15 posts - 4,336 through 4,350 (of 8,753 total)