Forum Replies Created

Viewing 15 posts - 5,191 through 5,205 (of 8,761 total)

  • RE: Critique My Understanding of Window Functions Please...

    Very quick note, you are definitely on the right track here, the notes are all correct and accurate so far.

    😎

  • RE: Advanced ranking function

    Luis Cazares (5/25/2015)


    This might be simpler to understand.

    WITH CTE AS(

    SELECT *, (ROW_NUMBER() OVER(PARTITION BY Country ORDER BY Id)+ 2) / 3 AS rowrank

    ...

  • RE: Advanced ranking function

    _simon_ (5/25/2015)


    Ughhhh... An explanation, yes please πŸ™‚

    The DENSE_RANK provides an one based incremental value for each country in an alphabetical order, the ROW_NUMBER / 3 adds the value of one...

  • RE: Advanced ranking function

    Quick and simple solution, should be enough to get you passed this hurdle, let me know if you need any explanations.

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON;

    if object_id('tempdb.dbo.#Countries') is not null drop table...

  • RE: Selecting data from xml

    Jampandu (5/24/2015)


    Thank you very much sir, I'm able to write the sql script for other elements πŸ™‚

    Happy to help and thanks for the feedback.

    The Stairway to XML[/url] is excellent...

  • RE: Should we set maximum memory setting for each SQL server?

    WhiteLotus (5/24/2015)


    My team said that even if We don’t set up the maximum memory setting in DEDICATED SQL server , SQL will adjust memory usage dynamically and always leave 1...

  • RE: SQL Server 2012 - High Memory Usage

    audiocool (5/24/2015)


    Oh ya, you guys is always talking about RDP. What is the RDP you guys talking about ?

    Is that Remote desktop connection ? If yes, we all login to...

  • RE: Are the posted questions getting worse?

    Luis Cazares (5/24/2015)


    Would someone be interested on helping me to proofread an article that I'm planning to submit to SQLServerCentral? It's about while loops not being evil. πŸ˜€

    I would be...

  • RE: Selecting data from xml

    Jeff Moden (5/24/2015)


    I'm confused. I admittedly don't now much about XML as I avoid it like the plague but the file identifies an "XSD" file. Can't that be...

  • RE: Selecting data from xml

    Jampandu (5/24/2015)


    Hi Experts,

    I am new to xml and confusing on preparation of a query to get the data from xml which has xmlns in first few lines.

    Here I am...

  • RE: Attach AdventureWorks2012 with SQL Server Authentication

    mili.nikolic (5/24/2015)


    Fresh install of SQL Server 2012 Express Advanced edition. I downloaded AdventureWorks2012 database but couldn't attach. After couple of hours I attached it when I connected to Management Studio...

  • RE: Tally OH! An Improved SQL 8K β€œCSV Splitter” Function

    mburbea (5/23/2015)


    I bring up the lack of randomness as it works in the favor of delimitedsplit8k, as the optimizer can basically get to reuse its row plans.

    Viewing the text...

  • RE: SQL Server 2012 - High Memory Usage

    TheSQLGuru (5/23/2015)


    This thread has become a laundry list of worst practices!! πŸ™‚

    That by itself presents an opportunity, care to do a write up?

    😎

  • RE: UTC vs. Local Time

    ray_su (5/23/2015)


    Eirikur Eiriksson (5/23/2015)


    1. The application owner does not want to have the user enter or select a time zone.

    This statement prompts the question of what the possibilities are to...

  • RE: The Scientific Method: a call to action

    Jacob Wilkins (5/23/2015)


    .. with not testing in production, I'd be incredibly happy πŸ™‚

    +100

    😎

Viewing 15 posts - 5,191 through 5,205 (of 8,761 total)