Forum Replies Created

Viewing 15 posts - 1,261 through 1,275 (of 3,480 total)

  • RE: T-SQL help needed to eliminate duplicates from table

    mw_sql_developer - Monday, June 11, 2018 9:46 AM

    pietlinden - Sunday, June 10, 2018 5:08 PM

  • RE: T-SQL help needed to eliminate duplicates from table

    Kinda would help if I wrote an actual delete query... =)
    Test the CTE out by doing SELECT from it first instead of DELETE
    ;WITH
        cteMembers(member, amt_paid,...

  • RE: Export to Excel

    jagjitsingh - Sunday, June 10, 2018 2:50 AM

    Hi
     I want Data from the Sql table to Excel in predefined Excel Template . I...

  • RE: T-SQL help needed to eliminate duplicates from table

    Like this? It's not super clear what you want. In this case, a sample expected result would be a big help.  Something like this?
    Create table #t( member...

  • RE: Query

    jagjitsingh - Sunday, May 27, 2018 10:44 AM

    Hi

      I have below Data .

  • RE: How do you keep yourself from burning out?

    I agree with the "do something that's engrossing that's totally outside of work" - I did that and it kept me sane. Work was crazy, so I'd spend like 15...

  • RE: simple select * from table takes around 15 secons

    Thom A - Thursday, May 17, 2018 11:24 AM

    pietlinden - Thursday, May 17, 2018 11:22 AM

    May 17, 2018 at 11:54 am

    #1990904

  • RE: simple select * from table takes around 15 secons

    if you look in a phone book for everybody with "S" as the second letter of their last name, an index is meaningless, because a phone book is organized alphabetically....

  • RE: Checking Fulfillment of Prerequisites That Can Contain Elaborate AND/OR Relationships

    I really shouldn't take the bait...

    If you create the prerequisites table, this isn't too hard. I still am not totally clear on how you group ORs.  How would...

  • RE: always include value in filter?

    Re-reading my question, you're right... that's not answerable as stated.  I'm doing this in PowerBI / DAX, so I have a simple star schema with Customers and Sales ... 

  • RE: Employee Time Clock

    Henric,
    Nice post for a rookie. Welcome to SSC.  Here's a script to create the table and populate it with some data... I added a few extra records to make...

  • RE: Grouping and displaying of data

    LOL. I just did that yesterday... except it was above my head.

  • RE: Grouping and displaying of data

    Maybe use a Matrix? hard to say without more details or a dummy dataset.

  • RE: Group by month and year

    ...and post the CREATE TABLE script for the 'PersonalProfiles' table... just want to make sure that you've defined the columns properly. Using the wrong datatype could cause unexpected results.

  • Viewing 15 posts - 1,261 through 1,275 (of 3,480 total)