Forum Replies Created

Viewing 15 posts - 91 through 105 (of 359 total)

  • RE: Maximum Consecutive Count

    what makes a condition = true? 
    looking at your query 6 records from the 01/03/2018 are true (1), and from 02/03/2018 2 are true (1)

    so your results...

  • RE: Query

    select Date ,Amount, Location, [Posted Date], [Posted Amount], Camount,Status
    from Tablename
    where status ='posted' 
    and [Posted Amount] - Camount !=0

  • RE: Query

    select Date    ,Amount,    Location,    [Posted Date],    [Posted Amount],    Camount,Status
    from Tablename
    where status ='posted'

  • RE: Need Some Help With Concatenating Columns

    Give this a twirl


    with cte
    as (
    select a.memberid,b.ProgramID,c.ProgramName
    from Member a
    join MemberProgram b on...

  • RE: i need help installing sql server 2017

    are there any windows out of focus? try hitting alt + tab to see if there are any warnings hidden

  • RE: SQL Query Help: Joining on where IN

    it would be easier to help if we knew what the data looked like, can you provide DDL to create representative data?

  • RE: find char in column

    Try patindex 

    where PATINDEX('%[^A-Z]%',LEFT(PAN_NO,5))=0

  • RE: performance

    Hi Lynn

    Runnable task count is 0 and active workers are less that current workers. 

    What does come up with High CPU is a select statement getting info...

  • RE: Select 1 row

    then just add * or column names

  • RE: Select 1 row

    bung your query into a CTE and use Row_number() over partition 

    With CTE 
    as (
    select  HdrID , TabName, rown_number() over (partiton by  HdrID , TabName order by HdrID) as RN
    from...

  • RE: performance

    Lynn Pettis - Thursday, May 24, 2018 1:36 PM

    SGT_squeequal - Thursday, May 24, 2018 1:27 PM

    May 24, 2018 at 1:42 pm

    #1991897

  • RE: performance

    Hi Phil

    its hosted on a VM and there are various processes running on poor performing server however, the majority are sleeping only a handful are background tasks

  • RE: Permissions

    Thanks lowell 
    the trigger fires after insert or update and is as basic as; insert x from inserted or deleted. I have select, update, insert and delete permissions  on both...

  • RE: Permissions

    When i disable the trigger i can insert or update both tables no problems when the trigger is on i get this error the  The user does not have...

  • RE: identity insert

    Cheers Lowell, my insert works perfect now data loaded

    cheers for your help

Viewing 15 posts - 91 through 105 (of 359 total)