User Profile

Collapse

Profile Sidebar

Collapse
slingblade
slingblade
Last Activity: Sep 29 '11, 02:09 PM
Joined: Sep 28 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • slingblade
    replied to Help with SQL script
    Awesome! Thanks Rabbit!
    See more | Go to post

    Leave a comment:


  • slingblade
    replied to Help with SQL script
    The duplicate records ALWAYS have the same name, the same street address, but different monthly amounts. The monthly amount on the dupe record is always zero, no exception.

    There could be other zero monthly amounts, but there wouldn't be duplicate name/address records for those, as shown by ID record 9 in my example table. So I can't just say, "select * from site where monthly <> 0". I have to have some kind of name...
    See more | Go to post

    Leave a comment:


  • slingblade
    started a topic Help with SQL script

    Help with SQL script

    There must be a way to do what I want to do without using a cursor, but I can't think of it. FYI, I'm a marketing analyst and not all that good with sql.

    Here's the scenario:

    SITE table
    Code:
    ID  NAME          AD1          CITY          STATE  MONTHLY
    1   JOHN DOE      11 MAIN ST   BIGCITY       FL     30.00
    2   JANE DOE      22 MAIN ST   BIGCITY       FL     25.00
    3   BOB SMITH     33
    ...
    See more | Go to post
No activity results to display
Show More
Working...