Forum Replies Created

Viewing 15 posts - 3,301 through 3,315 (of 5,685 total)

  • RE: guidance needed for troubleshooting an application timeout issue

    Kevin, running quickly for one ID and not another usually ends up as parameter sniffing.

    System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server...

  • RE: Best way to normalize

    opc.three (4/26/2011)


    I think this constitutes a triangular JOIN:

    ON A.RowNum = B.RowNum - 1

    I didn't go through everything, but that's not a triangular join. This is:

    A.RowNum < B.RowNum

    A common running...

  • RE: Stored proc eating bandwidth on server!

    When you say bandwidth, I think network.

    The only way this could start eating tons of network is if you're constantly getting polled by the app server on the same proc...

  • RE: Are the posted questions getting worse?

    LutzM (4/26/2011)


    GilaMonster (4/26/2011)


    M.Sc, not PhD (yet)

    I dabble in a lot of stuff, some works out well, some doesn't. It's been several years since I last wrote fiction of any form....

  • RE: How to delete 20k records from a table having dependencies(foreign keys in other tables)

    If you want to do this all in one command, you need to turn cascading deletes on for foreign keys. That's what it's built for.

  • RE: Are the posted questions getting worse?

    GilaMonster (4/26/2011)


    I don't do epic verse.

    Though... (read attached at your own risk, very amateur attempt)

    Nice, no reason to be concerned at all. If you spent time on that instead...

  • RE: SSIS Solution pls

    Thanks for the feedback, Nick. Appreciated and glad your found what you needed. Don't mind Phil and I if we abduct your thread for further testing, review, and...

  • RE: SSIS Solution pls

    Phil Parkin (4/26/2011)


    You are looking at the bigger picture whereas I was solving this particular problem.

    I made the assumption that the file was already sorted by VendorID within CustomerID...

  • RE: Are the posted questions getting worse?

    GilaMonster (4/26/2011)


    Working on PASS abstracts tonight. Am strongly tempted to write one of them at least in verse. Just for fun...

    An abstract of limericks! 🙂

  • RE: Select Records For Any Month

    A few items here.

    One, this field is a DATETIME, right? There's no DDL so I'm assuming it is.

    Second, what parameters are you passing in? Just passing in a...

  • RE: SSIS Solution pls

    Phil Parkin (4/26/2011)


    But it seems that it should be possible without too much difficulty, using a combination of appropriately scoped variables and conditional use of the OutputBuffer.AddRow() method on transition...

  • RE: Huge Database and there is no referential integrity maintained

    vidubhushan 49100 (4/25/2011)


    Hi Gurus,

    I have a database with 3800 tables and because of huge number we decided not use referential integrity between the table. the functional experts and DBAs...

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (4/25/2011)


    The UK had holidays Fri-Mon, so I struggled to get someone to come in and check on things this weekend. I managed to get someone...

  • RE: Are the posted questions getting worse?

    [Jim].[dba].[Murphy] (4/25/2011)


    Where'd that Uncle Jesse thing come from? I'll have to read back and figure it out. I missed a bunch of posts because of the notification delay.

    Ya, one...

  • RE: T-SQL 2000 to T-SQL 2008

    You need to turn them into left/right join mechanics, like so:

    SELECT

    tblacc.*

    FROM

    tblacc AS a

    JOIN

    tblreceipt AS r

    ONa.rkey = r.rkey

    JOIN

    tblst AS l

    ONa.stkey = l.stkey

    LEFT JOIN

    tblitem AS i

    ONa.stkey = i.stkey

    AND a.itkey =...

Viewing 15 posts - 3,301 through 3,315 (of 5,685 total)