Forum Replies Created

Viewing 15 posts - 3,181 through 3,195 (of 26,490 total)

  • RE: SQL Query table relationships issue

    As Sean indicated, formatting your code helps make it legible to humans. Computers for the most part don't care about white space (unless you are working with Python, where...

  • RE: How to code to find out different names with the same memberid?

    adonetok (1/5/2017)


    There are memberid and membername in one table member.

    One memberid shoud match only one membername.

    How to code to find out different names with the same memberid?

    select memberid, membername

    from member

    group...

  • RE: Fantasy Football 2017

    Ray K (1/4/2017)


    Now I have two titles to defend. How do I NOT sign up for next year? 😀 :hehe:

    The question becomes, which of us gets three first. ...

  • RE: Fantasy Football 2017

    Not sure about either, I just play.

    Sign me up for next year.

  • RE: ddl_admin role

    smatu (12/22/2016)


    The table contains data...

    That could be the issue. Plus, looking up the db_ddladmin role, it doesn't appear to have alter permissions to tables, procedures, functions, and a few...

  • RE: ddl_admin role

    Is the individually attempting to make changes to a table that has data or to empty tables?

  • RE: BIGINT TO INT - CAN i DO IT?

    Only if the data in the BIGINT columns will convert to INT. If the values exceed the range of allowable values in an INT column, the conversion from BIGINT...

  • RE: Index with leading BIT column

    Going back a few employers I combined Current and Historical data into the same tables when downloading and importing data from our ISAM databases into SQL Server. Doing this...

  • RE: Fantasy Football 2016

    Looking forward to next year!

  • RE: How to Capture Deleted Records

    Darko Martinovic (12/19/2016)


    Hi,

    Thank you for your observation :-).

    I haven't emphasized enough scenario for using this utility.

    Visibility of this button should depends of your application rights.

    Usually only...

  • RE: Help with XML Splitter De-entitization, please.

    Eirikur Eiriksson (12/19/2016)


    Thanks Lynn

    😎

    You are welcome.

    I am in the process of trying to learn how to shred XML for importing data into our system. It is getting interesting as...

  • RE: Help with XML Splitter De-entitization, please.

    Eirikur Eiriksson (12/18/2016)


    Jeff Moden (12/18/2016)


    You just can't believe all the examples I've been through in the last 24 hours never mind the ones I've seen over the last decade or...

  • RE: How to Capture Deleted Records

    Only issue I really have is that the user can control if the trigger fires or not. Since this is basically an audit feature the users should not have...

  • RE: SQL Days until Christmas

    May have been a lot of typing, but then I built it step by step:

    set nocount on;

    set statistics time on;

    with BaseDate as (

    select DATEADD(day,datediff(day,0,getdate()),0) BaseDate

    ), WorkingDate as (

    select

    Today = DATEADD(second,datediff(second,BaseDate,getdate()),BaseDate)

    from

    BaseDate

    ),...

  • RE: Let the optimizer do it's thing -- wrong

    Indianrock (12/16/2016)


    Regarding the modifications Lynn Pettis made to the OP query. I attached the plan.

    ------LYNN PETTIS CHANGE

    -- 92 rows in QA in 03:29 first run 10...

Viewing 15 posts - 3,181 through 3,195 (of 26,490 total)