Forum Replies Created

Viewing 15 posts - 2,056 through 2,070 (of 5,393 total)

  • RE: BACKUP WITH FORMAT

    It simply means that you cannot have compressed and uncompressed backups on the same backup media, which means a file (or set of files if you're striping).

    FORMAT will overwrite any...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    SQLRNNR (1/18/2012)


    Gianluca Sartori (1/18/2012)


    SQLRNNR (1/18/2012)


    anybody know a good resource for exporting into sqlplan format the xml from sys.dm_exec_query_plan(qs.plan_handle) for a smallish subset of ~100 plans?

    I have been able to copy...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    SQLRNNR (1/18/2012)


    anybody know a good resource for exporting into sqlplan format the xml from sys.dm_exec_query_plan(qs.plan_handle) for a smallish subset of ~100 plans?

    I have been able to copy the xml and...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    GilaMonster (1/18/2012)


    I was going to compose another reply, but thought better of it.

    Kudos for your patience.

    Also with today's interview questions zealot: http://www.sqlservercentral.com/Forums/UserInfo1006716.aspx

    I understand there's a language issue, but goodness, read...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    From time to time, the questions are really getting worse.

    This one made me LMAO:

    http://www.sqlservercentral.com/Forums/FindPost1237946.aspx

    OP: I have performance issues and I'm totally clueless.

    Gail: Hire a consultant.

    OP: I'm the consultant.

    Gail: Hire a...

    -- Gianluca Sartori

  • RE: Select Top problem

    I think you're looking for this:

    SELECT Id, IP, Requests

    FROM (

    SELECT *, RNK = DENSE_RANK() OVER(ORDER BY Requests DESC)

    FROM ClientRequests

    ) AS data

    WHERE RNK <= 3

    -- Gianluca Sartori

  • RE: disk configuration in OLTP Database?

    ananda.murugesan (1/18/2012)


    Hi,

    Total 600 GB HD, and configured RAID 5 in OLTP SQL server 2008 R2, C drive 80, D drive 520 GB

    As per these disk configuration, could anyone suggestion me...

    -- Gianluca Sartori

  • RE: BEGIN or not to BEGIN

    I prefer using BEGIN/END because it prevents errors.

    Consider this example:

    CREATE PROCEDURE doSomething

    AS

    UPDATE SomeTable

    SET SomeColumn = SomeValue

    WHERE SomeCondition IS...

    -- Gianluca Sartori

  • RE: DBCC CHECKDB

    MasterDB (1/18/2012)


    I've not created or automated any job to do run DBCC CHECKDB.

    Why not? You should IMHO.

    -- Gianluca Sartori

  • RE: T-Log Backup Rolling Back

    Thanks for your feedback!

    -- Gianluca Sartori

  • RE: Help me: is there a way for conditional joins

    There are lots of ways to achieve that, but I suspect none of them is efficient enough.

    Here are a couple of ways:

    -- Using CASE

    SELECT SomeColumns

    FROM table1

    INNER JOIN table2

    ...

    -- Gianluca Sartori

  • RE: ms db crash

    Robert Murphy UK1 (1/18/2012)


    Have you tried a reboot? :w00t:

    I think a lot more detail on the problem is needed in order to help you.

    No, please, don't reboot. Leave the instance...

    -- Gianluca Sartori

  • RE: ms db crash

    vultar (1/18/2012)


    You will also need to stop the SQL agent if it's it still running.

    There's no need to. I would not recommend this (or anyhing else) until the OP comes...

    -- Gianluca Sartori

  • RE: Partitioning based on a field used in frequent Joins?

    Not enough info to give a sensible answer IMHO.

    Usually you see performance gains when partitioning on a column that is frequently used in WHERE clauses. This helps the optimizer finding...

    -- Gianluca Sartori

  • RE: insert multiple rows with a trigger that invoke a function

    fahey.jonathan (1/17/2012)


    Well, a cursor MAY not be the way to go; it depends on the complexity of the function. If it is a large or complex function, you may...

    -- Gianluca Sartori

Viewing 15 posts - 2,056 through 2,070 (of 5,393 total)