Forum Replies Created

Viewing 15 posts - 226 through 240 (of 2,452 total)

  • RE: Kudos on this choice forum software !!

    Jeff Moden - Thursday, March 30, 2017 8:10 AM

    I've found that copying and pasting from SSMS directly to an SQL Code window...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: How to load and in what order warehouse tables

    Alvin Ramard - Thursday, March 30, 2017 7:54 AM

    J Livingston SQL - Thursday, March 30, 2017 7:31...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: How to load and in what order warehouse tables

    itmasterw 60042 - Thursday, March 30, 2017 6:42 AM

    Hi,
    Thanks for the post I got a lot from this. But what is still...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: How to join these tables together

    what results are you expecting from this.....?

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Access_fe to SQL Server ...very slow

    John524 - Saturday, March 25, 2017 1:38 PM

    Hello folks,
    I have what I think is a rather general question (and this is actually...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: SQL 2016....how to make a "LEAD" statement dynamic based on user input

    Many thanks Eirikur

    I am tending towards this solution  (for reason not explained in my post)

    -- CASE METHOD
    DECLARE @NUM_LEAD INT = 3;
    SELECT

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: SQL code for the below 3

    sqlnewbie17 - Friday, March 24, 2017 11:13 AM

    Mr. Kapsicum - Friday, March 24, 2017 4:10 AM

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Summarize data in query

    can you please why, although you have four different case statements and calculations, you are returning the number of days as a single column?
    I was thinking along the lines...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Summarize data in query

    dont think is too hard to fix for you.....some sample data and expected results will help

    please read https://spaghettidba.com/2015/04/24/how-to-post-a-t-sql-question-on-a-public-forum/ and post back accordingly

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: displaying 2 values when field same

    rmcguire 28206 - Thursday, March 23, 2017 11:12 AM

    If I'm understanding correctly GetDate() is for the current date and the above would...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: displaying 2 values when field same

    rmcguire 28206 - Thursday, March 23, 2017 10:59 AM

    so I believe this should work

    AND sPU.actual_departure > DateAdd(M, -1, GetDate());

    you mention  "dates roll...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: displaying 2 values when field same

    rmcguire 28206 - Thursday, March 23, 2017 10:39 AM

    so now I'm needing based off our scheduler to send the report out based...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Extracting Number from Text

    what are the rules that specifically exclude 25 from ('ABC222249_DAN25') and exclude 99 from ('IN217465_v99') ?
    are there any other possible formats that will need to excluded?

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: displaying 2 values when field same

     with our data we won't be able to insert the data in manually as I believe you are suggesting above

    not sure what you mean?
    the example created...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: displaying 2 values when field same

    I would like you to read this please...as previously suggested  https://spaghettidba.com/2015/04/24/how-to-post-a-t-sql-question-on-a-public-forum/
    posting excel spreadsheets and expecting others, upon whom you are requesting help, to do the necessary work...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

Viewing 15 posts - 226 through 240 (of 2,452 total)