Forum Replies Created

Viewing 15 posts - 31 through 45 (of 239 total)

  • RE: Replace the column with another column when it does not exist

    laurie-789651 (6/25/2014)


    If you're using the sys tables (i.e. views) as source of the table names, use the columns view to identify the required column name & store this along with...

  • RE: Backup and XP_CMDSHELL move .bak files

    Jeff Moden (6/13/2014)


    Eirikur Eiriksson (6/12/2014)


    Quick thought, wouldn't it be simpler to have an SSIS package for shuffling the backup files around, no need for XP_CMDSHELL etc.

    😎

    Since you brought it up,...

  • RE: Is there a way to do this without dynamic sql?

    Lynn Pettis (6/13/2014)


    jfogel (6/13/2014)


    Ah, I see. Once I remarked out two of the select statements in Lynn's query before the cross apply I see just the desired result. Much more...

  • RE: Is there a way to do this without dynamic sql?

    Ah, I see. Once I remarked out two of the select statements in Lynn's query before the cross apply I see just the desired result. Much more graceful method than...

  • RE: Is there a way to do this without dynamic sql?

    Here are the create/insert statements I used in my example:

    drop table Queue

    drop table Tasks

    drop table QueueTaskLink

    CREATE TABLE Queue(

    QueueId INT NOT NULL PRIMARY KEY IDENTITY(1,1),

    MaximumQueueLength...

  • RE: Is there a way to do this without dynamic sql?

    Your insert statements, etc are a complete mess! That didn't help at all, but I hope what is posted below will. I do not claim this is the best, or...

  • RE: Backup and XP_CMDSHELL move .bak files

    Put it in a stored procedure and wrap the groups in a try/catch. Log each group and send an email upon failure.

  • RE: Developers vs. DBAs

    Tell them it is a report. If they want a work of fiction they should call Stephen King.

  • RE: Developers vs. DBAs

    I think Aspergers is on its way out as a diagnosis. Regardless, We've all worked with people who are difficult and the difficult ones who stick around (read not fired)...

  • RE: Developers vs. DBAs

    glyn-1145829 (6/12/2014)


    Success is regarded as normal and not to be praised.

    Spot on. Also, unemployment for a DBA is only one stupid mistake away.

    glyn-1145829 (6/12/2014)


    Many of the DBA's I...

  • RE: Developers vs. DBAs

    Simon,

    It isn't that I do not agree with you, but not involving the DBA is somewhat common. At best those companies have a database designer on staff, but that is...

  • RE: Developers vs. DBAs

    simon.crick (6/12/2014)


    Tavis Reddick (6/12/2014)


    [p]I am having some difficulty understanding the categorizations of roles used here.

    [/p][p]My understanding of a database administration role is close to Wikipedia's, where a DBA looks after...

  • RE: Developers vs. DBAs

    Ed Wagner (6/12/2014)


    I find the most conflict occurs when determining user requirements. The business side doesn't know what they want because the client doesn't know what they want.

    The...

  • RE: Developers vs. DBAs

    It makes a big difference when developers can rely on help from the DBA. I've been in many situations where I've suggested to a dev that their statements, while they...

  • RE: Anyone Using or Planning to Use Memory-Optimized Tables?

    No. I did some testing with it and found the performance increase to be very nice. However, in order to get the tables involved to comply with requirements they basically...

Viewing 15 posts - 31 through 45 (of 239 total)