Forum Replies Created

Viewing 15 posts - 6,736 through 6,750 (of 15,381 total)

  • RE: CLUSTERED INDEX SCAN (EmpNonPrjTime)

    RVO (9/23/2013)


    Dear Sean Lange.

    You really are SSChampion !!!!!

    It runs in 1 sec now !!!

    Wow.

    I just need to understand what is the trick

    and what was wrong with my old code

    because I...

  • RE: Are the posted questions getting worse?

    GilaMonster (9/23/2013)


    And now that the paperwork has been signed....

    November it's good bye consulting, back to full time grind. Starting at a software development house as a technical lead. Focusing on...

  • RE: Insert date in yyyy-mm format

    golansimani (9/23/2013)


    I don't have a problem to get a random month or a day I just using this :

    UPDATE table_a

    ...

  • RE: Incomprehensible error in OVER clause with self-JOIN and GROUP BY

    Totally a shot in the dark because we don't have much in the way details...

    See if this helps.

    SELECT p.RollupAllProjectsCommittedTotalCost * CASE WHEN RowNum = 1 THEN 1 ELSE 0 END,...

  • RE: How to search using stored procedure

    Based on your screen shot and the description this sounds like a search criteria based on the values the user wants to use as their criteria. This is a very...

  • RE: CLUSTERED INDEX SCAN (EmpNonPrjTime)

    See if this makes things any better.

    FROM

    vwNzEmpNonPrjTime e

    outer apply getValuesAsTable(@L_ORG, ',') o

    outer apply getValuesAsTable(@L_EMPLOYEE, ',') et

    WHERE

    co_code = @L_CO_CODE

    AND (CHARINDEX('**all**', @L_ORG) > 0 OR o.org_code = o.[SomeColumn])

    AND (CHARINDEX('**all**', @L_EMPLOYEE)...

  • RE: TSQL/SSRS: How to add "dynamics" without dynamic SQL

    Check out the link in my signature about splitting strings. In there you will find a way to do this very easily and fast.

    Your code might be as simple as...

  • RE: Create an Alert for ROW Size increase

    stevewes (9/23/2013)


    Hi Sean,

    That is great info, yeah the info needs to be real time our Help desk ticketing application gets lots of email request into a particular table and seem...

  • RE: identity to Flase

    ramyours2003 (9/23/2013)


    I want to change the identity of the column to false when the column is primary key , how to change the identity property is to be False in...

  • RE: Create an Alert for ROW Size increase

    stevewes (9/23/2013)


    yeah this is a great help many thanks!!!

    next step is to I suppose create a Job with the SQL query in as a step the next step is how...

  • RE: need stored procedure code

    p.avinash689 (9/23/2013)


    Hi All.

    i have to tables like patient table with columns(patient name, DOB,Age,Sex) and table2 with column (regno).

    i want to insert the registration number as first 3 characters of...

  • RE: Rolling 3 month average cost help

    Hi and welcome to the forums. In order to help we will need a few things:

    1. Sample DDL in the form of CREATE TABLE statements

    2. Sample data in the form...

  • RE: Create an Alert for ROW Size increase

    stevewes (9/23/2013)


    Hi, how do I do this ?

    my select statement goes something like this

    Select count(*) AS EMAILQFULL,column name from tablename

    group by column name

    this returns the number of rows in...

  • RE: Search Using Stored Procedure

    kapil_kk (9/23/2013)


    Instead of this:

    SET @SqlQueryFirstName = '@SqlQuery ' + 'firstname = @firstname'

    Write this:

    SET @SqlQueryFirstName = @SqlQuery + 'firstname ='+ @firstname

    Instead of this, read the article that Jeff suggested. The approach...

  • RE: Function returns table from multiple selects

    slpgma (9/23/2013)


    Unfortunately I am not able to release the design of the Person table. But what I can say is that the table will only have a couple of...

Viewing 15 posts - 6,736 through 6,750 (of 15,381 total)