Forum Replies Created

Viewing 15 posts - 1 through 15 (of 56 total)

  • RE: Copy BAckup Files to Non Prod servers

    Exactly my YMMV point (your mileage may vary).

    Regards, Dave.

  • RE: Stored Procedure help

    My favourite! 🙂

    Declare @SomeField varchar(100)

    Declare @SomeVariable varchar(100)

    If @SomeField = 'ConditionA'

    Select 'It was A'

    Else

    Begin

    Select 'Use the Begin-End for...

  • RE: Copy BAckup Files to Non Prod servers

    We looked at Robocopy and Powershell here and tried various implementations but found them not totally 100% reliable and secure.

    In the end we went with a third party product called...

  • RE: Monitor up-time and connectivity with Powershell

    Thanks. Great article and script.

    Just one question, is there a way to do this without revealing the users password in the script or in the run command if...

  • RE: Insert Stored Procedure Results Into New Table Without Using OPENQUERY

    Great little article Orlando. And a nice neat trick for what I find is a common requirement.

    </ soapbox on

    It's just a shame that Microsoft don't have a single command...

  • RE: NEED URGENT HELP ON DATABASE RESTORATION

    Were you only bothered about the 3 stored procedures in the database? Did the database not hold any data??

    You better get some daily backups set up quickly.... 🙂

    Rdgs, Dave.

  • RE: DBA vs. Developer Question / Issue

    So, each Heap has 16 columns that will include player info such as Account#, first, last, dob, address, and then the rest that are regarding their play that includes number...

  • RE: How to kill current queries taking most cpu.

    Sometimes I find it better to kill the client rather than kill the query.

    🙂

    (I loved Gail's restraint on her second reply.....)

  • RE: Removing Duplicates

    Nice clear example Sioban. Thanks. I frequently come across clients who have unintended duplicates in their tables. Data cleansing is a major part of the ETL process in some organisations.

    Rgds,...

  • RE: ObjectType Reference from Default Trace

    bartedgerton (10/8/2013)


    Basu's suggestion was right.

    Here is my full query to list all DDL changes:

    ALTER PROCEDURE [dbo].[SchemaChangesToday]

    @dbName VARCHAR(128) = NULL

    AS

    BEGIN

    DECLARE @filename nvarchar(1000);

    -- Get the name...

  • RE: Rebuild Index

    You could look for the query on the server to try and identify what table it was accessing.

    For example, if you have Windows Server 2008 then you can...

  • RE: Uncontrolled Code

    Yes I agree Excel is not good for enterprise solutions.

    </vent on> However, Access is even worse.....!!! </vent over....>

    🙂

  • RE: Visitor Parking

    Koen Verbeeck (11/27/2013)


    Indeed. Visitors should register at the reception and give up their license plate. If a car is on the visitors parking space and it has not been registered,...

  • RE: Five Rules For Sucessful Conversations With DBAs

    Cracking article Joshua....

    🙂

  • RE: CXPACKET wait types...

    For faster deletes have you tried repeating the from piece?

    For example, in your original post, change this:

    >>>>>>>>>>>>>>>>>>>

    /* Delete the data */

    DELETE TOP (@BatchSize) FROM MyDB.dbo.DoDetailTxns

    WHERE StatementID IN (SELECT StatementID...

Viewing 15 posts - 1 through 15 (of 56 total)