Forum Replies Created

Viewing 15 posts - 7,501 through 7,515 (of 8,760 total)

  • RE: SQL DBA high ended question (5+ years’ experience)

    Ed Wagner (8/11/2014)


    GilaMonster (8/11/2014)


    paul.knibbs (8/11/2014)


    Jeff Moden (8/9/2014)

    With the understanding you have of that counting problem and the additional understanding that I don't ask "trick" questions or questions based on trivia,...

  • RE: Assign Row number to the result set without using Row_Number

    Koen Verbeeck (8/15/2014)


    GilaMonster (8/15/2014)


    Eirikur Eiriksson (8/14/2014)


    You can try out these methods as previously suggested

    However OP said

    I really don't like this temp table creation

    So, no row number, no temp tables....

  • RE: PIVOT without aggregate function?

    serviceaellis (8/15/2014)


    JeeTee (8/15/2014)


    If MemberTypeID 2 is all you care about, you can simply omit the lines of code from Eirikurs example that reference MemberTypeIDs you don't care about.

    Is this for...

  • RE: Assign Row number to the result set without using Row_Number

    You can try out these methods as previously suggested, hard to understand why going through all the trouble instead of using ROW_NUMBER!

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    DECLARE @RESSET TABLE

    (

    ...

  • RE: Stored Procedure slower on faster newer machine ?

    Look into the MAXIMUM DEGREE OF PARALLELISM and COST THRESHOLD FOR PARALLELISM[/url] settings.

    😎

  • RE: PIVOT without aggregate function?

    serviceaellis (8/14/2014)


    Not really understanding the difference?

    Main thing with what I need is it's not an aggregate

    My bad, sorry for the incomplete answer;-)

    The complexity of not using an aggregate is...

  • RE: 1MB datafile growth size?

    It is of course possible on almost static databases with mostly reads and hardly any inserts/updates, but in general it is unlikely. There may be other reasons where one would...

  • RE: PIVOT without aggregate function?

    Quick thought, you might want to use cross-tab instead of pivot, take a look at this article by Jeff Moden, Cross Tabs and Pivots[/url]

    😎

  • RE: XML to file

    It is SSMS which is playing tricks on you, for an automatic process it should not be in the picture. Create a stored procedure with your select statement and call...

  • RE: OLTP process question

    sandie_zarate (8/14/2014)


    If our processes run every 2 minutes on 3 DBs simultaneously, everything is fine... why are we encountering problems if we run our processes every 2 minutes on more...

  • RE: Stored Procedure slower on faster newer machine ?

    It is obviously the keyboard:-P

    There are so many possibilities here that it's hard to say where to start. First thing is probably the laptop's power management, make certain it is...

  • RE: Are the posted questions getting worse?

    SQLRNNR (8/14/2014)


    Eirikur Eiriksson (8/14/2014)


    Luis Cazares (8/14/2014)


    Grant Fritchey (8/14/2014)


    Evil Kraig F (8/14/2014)


    djj (8/14/2014)


    ChrisM@Work (8/14/2014)

    remember '76/'77

    Wish I could remember what last year was like, I remember some nice days for '77...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (8/14/2014)


    Eirikur Eiriksson (8/14/2014)


    Luis Cazares (8/14/2014)


    Grant Fritchey (8/14/2014)


    Evil Kraig F (8/14/2014)


    djj (8/14/2014)


    ChrisM@Work (8/14/2014)

    remember '76/'77

    Wish I could remember what last year was like, I remember some nice days for...

  • RE: Are the posted questions getting worse?

    Luis Cazares (8/14/2014)


    Grant Fritchey (8/14/2014)


    Evil Kraig F (8/14/2014)


    djj (8/14/2014)


    ChrisM@Work (8/14/2014)

    remember '76/'77

    Wish I could remember what last year was like, I remember some nice days for '77 as I have...

  • RE: How to determine which column is causing Error converting data type varchar to numeric

    Quick thought along with previous suggestion, selecting with a conversion will still return the rows up to the conversion failure, here is an example code

    😎

    USE tempdb;

    GO

    CREATE TABLE dbo.TBL_CONVERSION_TEST_SOURCE

    (

    ...

Viewing 15 posts - 7,501 through 7,515 (of 8,760 total)