Forum Replies Created

Viewing 15 posts - 481 through 495 (of 1,069 total)

  • RE: "Normal" tables vs local temporary (i.e. #) tables

    In my openion, it is a good idea to use temp table instead of permanent table to avoid deadlock issue.

    Make sure that the tempdb has enough number of data files...

  • RE: Being an extremely productive DBA

    I agree 100% with Stunner.

    I have faced this issue many times.

    Once I told my collegue about this and asked him what should I do.

    He adviced me to give the...

  • RE: installing service pack

    opc.three (6/25/2011)


    Why in the world would you ever want to even attempt that?

    May be he has setup Log Shipping...

  • RE: filegroup in sql server 2008 r2

    Write to script to recreate the clustered index in the filegroup.

  • RE: SSIS Package Runs in MSDB but fails in SQL Server Agent Job

    Check the job history to see the exact reason for job failure.

    I guess there is some permission related issue.

  • RE: Hi to all

    Execution plan is created by the database engine. You need suitable permision excute the query. Then only execution plan gets created.

  • RE: Replace in Sql server

    You can use REPLACE twice...

    SELECT REPLACE(REPLACE(Body, '{{T}}', Col1), '{{K}}', Col2) FROM Table1

  • RE: Cast as

    ringovski (7/17/2011)


    1.

    Current: June 29 2011 12:00 AM

    Expected: dd/mm/yyyy(no seconds)

    Code: CASE WHEN RowId = 1 THEN CAST(IssueDate AS VARCHAR(20))

    ELSE ''

    SELECT...

  • RE: why one is seek and one is scan?

    shanghaigirl-1125377 (7/16/2011)


    ... the difference is dev db has 70k records less than live db, out of 65M total. And actually, fragment % in dev is higher than in...

  • RE: Regarding certification on 2005 and 2008

    I do not have any idea about the upgrade path.

    It is possible to directly go to SQL Server 2008 exams.

    Note: Earlier (during SQL Server 2000) it was known as...

  • RE: Table Without a Primary key?

    It is database design issue. Not RDBMS issue.

    I think no RDBMS (Oracle, SQL Server, MySQL, etc.) forces you to have PK.

    I think forcing PK is against database design principle.

    (Others may...

  • RE: Linked server issue

    This works:

    select * from [Server\UAT3].master.dbo.syslogins

    This also works:

    select * from [Server\UAT3].master.sys.syslogins

  • RE: Table Without a Primary key?

    If lack of primary/unique key constraint caused duplicate rows in your table,

    you can delete the duplicate rows now and add a primary/unique key constraints to your existing table to fix...

  • RE: Table Without a Primary key?

    Why not?

    What are the issues faced becuase of this?

    Why do you think SQL Server should force you to have a primary key?

  • RE: Too much for too little

    You are right. Replication is not possible if the servers are not connected.

    Differential/Log backup is ideal for your scenario.

Viewing 15 posts - 481 through 495 (of 1,069 total)