Kodo can you check this SQL for me

Discussion in 'Software' started by Wookie, Sep 3, 2004.

  1. Wookie

    Wookie Sergeant Major

    OK I finally am back working on this program. So check out this joint statement.


    Code:
    SELECT CUST.ID, CUST.FNAME, CUST.LNAME FROM CUST, PUR_HST WHERE
    CUST.ID = PUR_HST.ID AND PUR_HST.ID AND PUR_HST.FDATE BETWEEN CALENDAR1.VALUE AND CALENDAR2.VALUE AND PUR_HST.TYPE = 'F';
    



    Everything Legal there? if that works that will take a lot of work out and I can just write that to an array and print it. What do you think?
     
  2. Kodo

    Kodo SNATCHSQUATCH

    doesn't look valid to me.

    try this one
    Select cust.id, cust.fname,cust.lname from cust inner join pur_hst.id on cust.id=pur_hst.id where pur_hst.date between calendar1.value and calendar2.value and pur_hst.type='F';
     
  3. Wookie

    Wookie Sergeant Major

    thnaks will do


    sucks having to program all this with no way to test until I can get onsite
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds