Forum Replies Created

Viewing 15 posts - 106 through 120 (of 224 total)

  • RE: records disappearing after insert, occasionally of course

    There are some issues with the VB.NET code.

    -- Steps onto soapbox

    I suggest implementing some .NET best practices. Enclose every connection in a Using block, don't use Catch clauses without...

  • RE: How to cascade update when DRI cycles

    I think I said "stuff it into an update trigger." Yeah, right. Well, for anyone who's interested, these are the final triggers. I had to remove the cascade updates from...

  • RE: How to cascade update when DRI cycles

    Sometimes asking other people makes the answer show up in my mind. The posted code below works. I think I can stuff it into an INSTEAD OF UPDATE trigger with...

  • RE: A Personality Test

    1998 New Beetle, yellowish-green (official color name was Cyber Green)

    Attractive car, different, makes people think, fast and powerful engine for the car's size, gets to 90 mph before you realize...

  • RE: How to diagnose deadlocking in production environment

    Thanks for information on extended events. I don't have permission to view them, but I've sent an appropriate query to those who do.

  • RE: How to use case statement in where condition?

    It's not clear from your CASE statement what the intended result is.

    The CASE statment isn't a Boolean expression, it's just an expression. The entire CASE ... END is like a...

  • RE: Filtering IsNull Alternatives

    I wonder why the ISNULL doesn't prevent State and City joins from using an index, but ISNULL on the Zip does?

    If you remove the State and City joins, and provide...

  • RE: Left Join Issue

    BEGIN TRY DROP TABLE #AUM_Raw_Upload1 END TRY BEGIN CATCH END CATCH;

    BEGIN TRY DROP TABLE #temp1 END TRY BEGIN CATCH END CATCH;

    BEGIN TRY DROP TABLE #temp2 END TRY BEGIN CATCH END...

  • RE: How to use dynamic sql and prevent sql injection

    Thanks for the link. The site is blocked by my employer, so I'll take a look at it from home some time.

  • RE: Design question - FK column to more than one table

    William Plourde (3/5/2012)


    Without going into detail we store every version of every row for our primary entities. We also use this data to export any changes back to vendor systems...

  • RE: Service Broker Transactions

    venoym (3/2/2012)


    Stephanie Giovannini (3/2/2012)


    So, how would you fix the posted code so that the uncommittable transaction message isn't reported?

    I'm curious which COMMIT statement is causing the error. There's a COMMIT...

  • RE: Service Broker Transactions

    So, how would you fix the posted code so that the uncommittable transaction message isn't reported?

    I'm curious which COMMIT statement is causing the error. There's a COMMIT statement after the...

  • RE: The Success Trap

    At one time I was a PowerBuilder developer. In 1996, PowerBuilder was a meal ticket. By 2001, the writing was on the wall for PowerBuilder. My employer used only PowerBuilder,...

  • RE: Linker server (sp_addlinkedserver) login timeout

    No, no, no, it doesn't work at all.

    The server I'm using is a named instance. The "successful link" was actually referrring to the default instance on the same box. It...

  • RE: Linker server (sp_addlinkedserver) login timeout

    I've got this working, mostly. I used this script: (IP address replaced with zeros)

    exec sp_addlinkedserver @server = 'LINK1',

    @srvproduct = '',

    @provider= 'SQLNCLI',

    @provstr = 'Library=DMBSSOCN;ServerName=000.000.000.000,1433'

    Now I have the...

Viewing 15 posts - 106 through 120 (of 224 total)