Forum Replies Created

Viewing 15 posts - 4,336 through 4,350 (of 5,393 total)

  • RE: Difference between PARTITION BY and GROUP BY

    PARTITION BY is used in windowed aggregates, while GROUP BY is used in regular aggregates.

    Look up OVER in BOL to find out more.

    -- Gianluca Sartori

  • RE: Which version of SQL Server?

    SQL Server doesn't need a front-end, it just needs a client connectivity library to be installed.

    If you are using a front end, probably you have Access forms, so you might...

    -- Gianluca Sartori

  • RE: Full backup (copy only)

    Yes, that's how it works.

    SQL Server 2005 SSMS doesn't have a GUI switch to perform the copy only backup, but it's built into SQL 2008 SSMS.

    -- Gianluca Sartori

  • RE: Tempdb GROWS

    I don't see how tempdb reads can grow its data file(s).

    At least, I'm not aware of any way this could happen, but I could be flat wrong.

    Can you please...

    -- Gianluca Sartori

  • RE: Which version of SQL Server?

    Grant Fritchey (5/3/2010)


    Gianluca Sartori (5/3/2010)


    I don't know if SQL 2008 R2 has changed something in connection limits for Express Edition.

    The only thing I'm sure of is database size, that...

    -- Gianluca Sartori

  • RE: Which version of SQL Server?

    I don't know if SQL 2008 R2 has changed something in connection limits for Express Edition.

    The only thing I'm sure of is database size, that changed from 4 to...

    -- Gianluca Sartori

  • RE: Tempdb GROWS

    I see that this thread is still alive, so I'm throwing some more 0.02 € in.

    Adam Machanic wrote a great monitoring procedure that could help you tracking down this issue....

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    Grant Fritchey (5/3/2010)


    Gianluca Sartori (5/3/2010)


    I think Paul wants to join the "world's worst procedure" competition... :-P.

    I would have put some more BREAK / CONTINUE in it and maybe nested...

    -- Gianluca Sartori

  • RE: Which version of SQL Server?

    I would use SQL Server 2008 R2 Express Edition. It's free and should do whatever you need. SQL Server Express supports 1 physical processor, 1 GB memory, and 10 GB...

    -- Gianluca Sartori

  • RE: Tricky Query help!

    Reformatting a query with a CTE doesn't affect performance, it's up to the optimizer to choose the appropriate query plan and a simple CTE won't hurt.

    I'm a bit concerned about...

    -- Gianluca Sartori

  • RE: Tricky Query help!

    Can't you apply the replace part later?

    You could use a subquery or a CTE to do that.

    -- Gianluca Sartori

  • RE: Tricky Query help!

    I'm a bit confused...

    Can you post table scripts, some sample data, expected output and what you have coded so far?

    Please read the article linked in my signature, it will...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    I think Paul wants to join the "world's worst procedure" competition... :-P.

    I would have put some more BREAK / CONTINUE in it and maybe nested another cursor, but nice...

    -- Gianluca Sartori

  • RE: How do I use the Datediff?

    I'm sure you can't use Datediff to do that, if I understand what you're after.

    Datediff returns the difference between two dates.

    BOL says:

    Returns the number of date and time boundaries...

    -- Gianluca Sartori

  • RE: format of a Query?

    Use parenthesis around the two LIKE conditions:

    select *

    from resource

    where [date] > '02/02/2010'

    and ( [Alan] like 'In%' or [Alan] like 'R%' )

    -- Gianluca Sartori

Viewing 15 posts - 4,336 through 4,350 (of 5,393 total)