Forum Replies Created

Viewing 15 posts - 1,471 through 1,485 (of 1,837 total)

  • RE: Awaiting command problem in sql server 2008

    Wow, I read that 3 times and I'm still not sure what you're asking. Could you possibly post the stored proc code and trigger code?

  • RE: Why the server are running to slow?

    Have you looked at the execution plan of the query to see what part seems to be a bottleneck? It could be possible that an index that used to...

  • RE: Creating a Household "Pecking Order"

    you may want to look into using the OVER CLAUSE with aggregate functions, I think that could simplify the number of steps you're taking to get to the IsHead column...

  • RE: select top 1 row for each customer

    I typically use one of the ranking function techniques like ROW_NUMBER(), but my favorite alternative to that if you're using SQL 2005 or newer is the CROSS APPLY:

    SELECT c.CustomerID, o.OrderDate,...

  • RE: Isolation Levels

    call.copse (11/21/2012)


    ...I am surprised at only 34% right so far.

    I'm not surprised at all. Most of the isolation levels provided by SQL Server cause way to much blocking to...

  • RE: Shadow IT

    In my 18 year IT career, I've been on both sides of the fence at various companies I've worked for. At one company I was even on both sides...

  • RE: Learning C

    GSquared (8/15/2012)


    ...Make everyone learn Malboge (http://en.wikipedia.org/wiki/Malbolge)...

    Ouch! Why did I click that link? Why?

    Personally I fall in the anti-C group. I did take a C class in college,...

  • RE: Transactions 1

    baabhu (5/15/2012)


    Nice Question. I was distracted by the factor of go will make it as one transaction.

    Personally the gotcha wasn't the GO, it was figuring out if Management Studio would...

  • RE: Buggy Forever

    Unlike physical goods where the customer can manufacture their own replacement parts when the product is no longer supported, software is bound with a license that doesn't allow the customer...

  • RE: Msg 257, Level 16, State 3, Procedure procReceiveDeadLock_Graph, Line 28 Implicit conversion from data type xml to nvarchar(max) is not allowed. Use the CONVERT function to run this query.

    the problem seems to be in the INSERT statement:

    INSERT dbo.tblDeadLock_Log (DeadLock_Detected, DeadLock_Graph)

    VALUES (@event_datetime, @deadlock_graph)

    SELECT @deadlock_id = SCOPE_IDENTITY()

    what's the definition of DeadLock_Graph column of this table? If that's...

  • RE: Finding Multiple Start and End Dates

    this looks kinda ugly, but the best way I could figure was to find the end date ranges and go from there:

    -- try partitioning by ends

    WITH endings AS

    ...

  • RE: how can i insert in udf

    Are you asking how you add more columns to the resultset table of the function or are you asking how you get the resultset to include more rows or some...

  • RE: Database Design

    asm1212 (4/13/2012)


    ...tables being Databases, Applications, Servers, and Reports...One server can have many databases, and one database can be across multiple servers...DatabaseID || DatabaseName || ServerName || ServerID

    From what you've described,...

  • RE: Database Cluster vs single Database

    Have you done any work to determine what types of waits are happening on the new server? Depending on what the requests are waiting for will help determine where...

  • RE: Adding new Object

    hit the key combination [ctrl] + [shift] + [R], that causes the intellisense to refresh the current window. It usually only gets the object names once when you first...

Viewing 15 posts - 1,471 through 1,485 (of 1,837 total)