Forum Replies Created

Viewing 15 posts - 2,416 through 2,430 (of 15,381 total)

  • RE: CTE within a stored proc

    mar.ko (8/28/2015)


    I don't care what anyone says, CTE's are temporary views and should persist for the life of a stored proc.

    I am sure Microsoft could have made that possible.

    They did...

  • RE: select statement with derived order status

    Assuming you know how to write the sql to get all the details for the order and details for any related orders this is actually pretty simple.

    case when max(case when...

  • RE: Error Msg

    Ed Wagner (8/27/2015)


    I'm glad I'm not the only one who notices the sp_ prefix to the procedure name and knew what it meant. 😛

    It will slow you down because SQL...

  • RE: Error Msg

    ramana3327 (8/27/2015)


    Hi,

    Under sql server errors, I am seeing frequently

    The activated proc 'sp_name' running on queue 'TestDB.dbo.SP_name' output the following: 'The current transaction cannot be committed and cannot support operations...

  • RE: Unable to run the Stored procedure in OLEDB Source

    komal145 (8/27/2015)


    I am trying to run the Stored procedure by passing parameter value in oledb source "SQL Command":

    Something like below. I know that the same stored procedure when i ran...

  • RE: Varchar parameter Tinyint search criteria

    Jason A. Long (8/27/2015)


    Also, get rid of the "WITH (NOLOCK)"s...

    I agree but without an explanation it doesn't make any sense.

    Here is an article that discusses this hint. There are plenty...

  • RE: get max and min date corresponding values

    asranantha (8/26/2015)


    I have two tables.

    Emp:

    id | Deptno | sdate | edate ...

  • RE: max not giving the latest one

    Jacob Wilkins (8/26/2015)


    Sean Lange (8/26/2015)


    A bit late to the party and surprised nobody else commented on this yet. The reason you are having this problem in the first place is...

  • RE: PINTABLE

    TomThomson (8/26/2015)


    Sean Lange (8/26/2015)


    Great question.

    I have always laughed when I saw this because it is all caps it is not exactly clear when reading where the word breaks are. I...

  • RE: max not giving the latest one

    A bit late to the party and surprised nobody else commented on this yet. The reason you are having this problem in the first place is because you have two...

  • RE: PINTABLE

    Great question.

    I have always laughed when I saw this because it is all caps it is not exactly clear when reading where the word breaks are. I have always read...

  • RE: merge below 2 select statements

    Ed Wagner (8/26/2015)


    Going off the post about this query at http://www.sqlservercentral.com/Forums/Topic1714385-391-1.aspx#bm1714502, this is something called Firebird SQL.

    Interesting. As much I would be willing to help I think I will walk...

  • RE: merge below 2 select statements

    chindilog (8/25/2015)


    SELECT

    part.num, woitem.qtytarget AS woitemqty,

    (SELECT LIST(wo.num, ',')

    ...

  • RE: How to give a name instead of an IP adress to a webbportal

    de 33643 (8/26/2015)


    Hi all,

    we have a server (Windows server 2008 R2 Standard) that runs a hyper V manager.

    The Hyper V manager runs 2 virtual servers.

    One of the virtual servers uses...

  • RE: Are the posted questions getting worse?

    Ed Wagner (8/25/2015)


    Alvin Ramard (8/25/2015)


    Ed Wagner (8/25/2015)


    I don't know if it's just me, but SSC has been having some blocks of time where it's very slow recently. I had...

Viewing 15 posts - 2,416 through 2,430 (of 15,381 total)