mx 6.1 selecting smalldatetime

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default mx 6.1 selecting smalldatetime

    - just upgraded to 6.1 and now getting this error when trying to select
    smalldatetime values, but only WITH ntext values..

    can select either field individually but together they give me the error.

    Macromedia]Numeric value out of range

    SELECT request,date_created
    FROM dbo.requests

    any ideas??

    drdave2 Guest

  2. Similar Questions and Discussions

    1. SQL: Selecting everything BUT
      I have a table with 439 records in it. This table is linked to another, which is related to a 3rd via a 4th relationship table. I have a gigantic...
    2. selecting different css
      stu75 wrote: You could just attach a print media style sheet to accomplish this and won't need another page: Take a look at these articles:...
    3. Selecting
      I want to read the Elements of the Subject of a client certificate sent to a Web Service via HTTPS. This can be done by the following code...
    4. <<Error converting data type char to smalldatetime>>
      Hi All (IIS 5, SQL 2k, Win 2k) I'm stumped and can't find where I would be "mis-converting" data. I receive the following error ONLY when I update...
    5. cast from datetime type to smalldatetime type?
      Hi, How can I cast from datetime type to smalldatetime type. I get the records from a table which has got a datetime type column but I want to...
  3. #2

    Default Re: mx 6.1 selecting smalldatetime

    Looks like a driver bug. However, the cause can also be invalid values in a
    date column. Check, using

    <cfquery name="q" etc>
    select date_created
    from requests
    </cfquery>
    <cfoutput query="q">
    <cfif NOT isDate(date_created)>
    Invalid date in DB: #date_created# <br>
    </cfif>
    </cfoutput>

    BKBK Guest

  4. #3

    Default Re: mx 6.1 selecting smalldatetime

    drdave2 wrote:
    > - just upgraded to 6.1 and now getting this error when trying to select
    > smalldatetime values, but only WITH ntext values..
    its usually a good idea to put the Ntext or text column last in the select list:

    SELECT date_created,request
    FROM dbo.requests
    PaulH *ACE* Guest

  5. #4

    Default Re: mx 6.1 selecting smalldatetime

    thx for the replies, in the administrator there was a checbox for "return timestamp as string", unchecked that and Boo YeaH!

    back in business..

    Dave

    GaryGlitter 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