Forum Replies Created

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

  • RE: I need to get the rank 0f the students without using the rank functions

    Please read the following article to see why that's probably the worst way to do such a thing.

    http://www.sqlservercentral.com/articles/T-SQL/61539/

    This woke me up from a nap after lunch...

  • RE: Replication failed

    Check the table and its dependent objects. One of the objects in your replication set up would have missed.

  • RE: Intellisense Not working..

    Try re-registering TextMgrP.dll.

  • RE: Left Join Vs Where Clause

    sqlzealot-81 (2/22/2012)[hr

    Write a sub query filtering the values from tableb and then join.Try the below...I dint really try it in SSMS.

    SELECT

    FROM ...

  • RE: Left Join Vs Where Clause

    Divine Flame (2/23/2012)


    I don't understand your question. You already have the solution as version 2. True, you should put all the filter criteria in WHERE clause. There is no point...

  • RE: Different Logical Read with same query and SP

    EasyBoy (2/22/2012)


    sqlzealot-81 (2/22/2012)


    SELECT number into #TempInts FROM iter_intlist_to_table(@keyPlantOperatingStatusExt)

    This is the easy way to create a temp table.Use this temp table(#TempInts) for the query.

    Apart, I would recommand you to use Exists...

  • RE: Different Logical Read with same query and SP

    SELECT number into #TempInts FROM iter_intlist_to_table(@keyPlantOperatingStatusExt)

    This is the easy way to create a temp table.Use this temp table(#TempInts) for the query.

    Apart, I would recommand you to use Exists instead of...

  • RE: Different Logical Read with same query and SP

    and (x0_0.KeyPlantOperatingStatusExt in (SELECT number FROM iter_intlist_to_table(@keyPlantOperatingStatusExt))

    The above snippet is not present in your query. Please use the same and look at the execution plan.

    Or other way, change it...

  • RE: Converting data of column into column name

    Try using PIVOT... That would help you for sure.

  • RE: Left Join Vs Where Clause

    SQL_Surfer (2/22/2012)


    Version 1

    ---------

    SELECT

    FROM Table a

    LEFT JOIN Table b ON a.ID= b.ID AND b.BMonth= 2 AND BY= 2022

    ...

  • RE: SQL server memory....

    GilaMonster (2/9/2012)


    I should also add that in the cases where there's other apps on the server (SSIS, IIS, etc) you'd probably want to reduce the max server memory..

    Okei, if only...

  • RE: SQL server memory....

    sqlzealot-81 (2/9/2012)


    GilaMonster (2/9/2012)


    sqlzealot-81 (2/9/2012)


    Will there be a situation for kernal memory pressure?

    Yes, as an example when there's more than 8GB physical RAM and /PAE is on.

    I dont understand this point,...

  • RE: SQL server memory....

    GilaMonster (2/9/2012)


    sqlzealot-81 (2/9/2012)


    Will there be a situation for kernal memory pressure?

    Yes, as an example when there's more than 8GB physical RAM and /PAE is on.

    I dont understand this point, say...

  • RE: SQL server memory....

    Divine Flame (2/9/2012)


    sqlzealot-81 (2/9/2012)


    GilaMonster (2/9/2012)


    32 bit SQL on 32 bit OS is limited to 2GB of memory. Some (around 300 MB) is reserved (called mem_to_leave), the remainder is exactly that...

  • RE: SQL server memory....

    GilaMonster (2/9/2012)


    32 bit SQL on 32 bit OS is limited to 2GB of memory. Some (around 300 MB) is reserved (called mem_to_leave), the remainder is exactly that 1.6GB that you...

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