Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Select Error??

    I am getting the following error when loading my page.
    Syntax error (missing operator) in query expression '(TrueInsert <
    DATEADD('d', -3, NOW())) AND (7Day_Email = 'False')'.


    Can anyone tell me what is wrong with this statement?
    "SELECT * FROM BuyerReferral WHERE (TrueInsert < DATEADD('d', -3, NOW()))
    AND (7Day_Email = 'False')"

    Thanks


    Kory Guest

  2. Similar Questions and Discussions

    1. Please select another location error
      "Please select another location to extract the installer to" I get this when trying to upgrade to 7? No matter where i pick, whats up?
    2. IIF in Select Query Error
      Hello, I need to create a query with a date calculation of elapsed minutes. And, I have made this work. Now I find that some of the...
    3. error : syntax error at or near $1 for over select rows
      This is the error i am getting when calling select * from cas_reset_qi_changedate('CAS','2003-02-03' ERROR: syntax error at or near "$1" at...
    4. SELECT DISTINCT + ORDER BY gives ERROR 145: ORDER BY items must appear in the select list if SELECT DISTINCT is specified.
      Following is my stored procedure. If I take the DISTINCT out then everything works fine. BUT I need the distinct because it returns duplicate...
    5. SELECT DISTINCT + ORDER BY gives ERROR 145: ORDER BY items mustappear in the select list if SELECT DISTINCT is specified.
      Dan, You should be able to do this: SELECT Id, FaxID, ReceivedTime, Pages FROM ( SELECT DISTINCT .Id AS Id,
  3. #2

    Default Re: Select Error??

    in DATEADD...you have to use DOUBLE QUOTES for d..."d" not 'd' ....thats at least what i found on online references...
    nisav19 Guest

  4. #3

    Default Re: Select Error??

    No, that didn't do it. Just created a different error.


    "nisav19" <webforumsuser@macromedia.com> wrote in message
    news:d74kip$l8s$1@forums.macromedia.com...
    > in DATEADD...you have to use DOUBLE QUOTES for d..."d" not 'd' ....thats
    > at least what i found on online references...

    Kory Guest

  5. #4

    Default Re: Select Error??

    7Day_Email...in your database does it actually have the word FALSE in each field...or does it have 0/1, or is it just a boolean value you are trying to compare
    nisav19 Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139