Results 1 to 3 of 3
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    DELETE distinct ... (2000)

    with ado....
    how to delete all record where in field PROVA7 are value AAAA....
    or
    seect distinct if in PROVA/ are AAAA and then delete all

    ???????????
    SQL = "DELETE FROM MERCATI WHERE '" & AREA & "' = PROVA7"
    CNSQLST.Execute SQL
    ??????????

    in this case AREA = AAAAA

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: DELETE distinct ... (2000)

    <code>SQL = "DELETE FROM MERCATI WHERE PROVA7 = '" & AREA & "'"</code>

    (There is no "DELETE DISTINCT")

  3. #3
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: DELETE distinct ... (2000)

    Respect you.... because post a alway a good solution and explain very well the possible error.
    Tks for that!

    ....(There is no "DELETE DISTINCT")....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •