Temporary Table Creation Problem in CF7 not CF6.1

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

  1. #1

    Default Temporary Table Creation Problem in CF7 not CF6.1

    We have been preparing for our upgrade to CF7.0 from 6.1 on a test site with a
    test mssql database and come across an issue we cannot resolve. Maybe someone
    can help.

    We cannot create a LOCAL temporary table in the mssql database with CF7 but
    can with CF6.1. Using Enterprise Manager we can create a LOCAL temporary table
    and it seems the problem is with CF7 specifically. We can create a GLOBAL
    temporary table in CF7 just fine so the problem is only with LOCAL temporary
    table creation in CF7.

    Here is the code element to create the LOCAL table that gives the problem in
    CF7 but not in 6.1:
    <cfquery username ="#userName#" password ="#passWord#" name="test"
    datasource="#DSource#">
    select testid into ##ctest from testtable
    </cfquery>

    Ortho Guest

  2. Similar Questions and Discussions

    1. Trouble creating temporary memory table
      I tried to create a temporary memory table using the following: CREATE TEMPORARY TABLE mytable_tmp LIKE mytable ENGINE=MEMORY; However, I...
    2. Get result from temporary Oracle Table
      Hi, Having problem with temporary table from Oracle. Runing my stored procedure (which stores an amount of row in a temporary table) from an Sql...
    3. #26387 [NEW]: TABLE TEMPORARY DOES NOT WORK
      From: davefazio at annulet dot com Operating system: Windows 2003 Sever PHP version: 5.0.0b2 (beta2) PHP Bug Type: MySQL...
    4. Temporary Table Query
      Hi, I am inserting data into a temporary table using the following method: select a into #b from c This method works fine, but...if i...
    5. Is there any equivalent of Sql Server's temporary table in Oracle
      On Thu, 05 Dec 2002, gamaz@eathlink.net wrote: Let Oracle do the temporary set building. You code the join. -- Galen Boyer
  3. #2

    Default Re: Temporary Table Creation Problem in CF7 not CF6.1

    Local temp tables live only for the duration of the connection that created
    them. Perhaps CF7 is timing out the data connection in the middle of your
    process.

    Does the code throw an error, or not? If so, what error does it return?

    philh Guest

  4. #3

    Default Re: Temporary Table Creation Problem in CF7 not CF6.1

    There is not an error; the file is just not created so when you try to access
    the table, it is not there and then you get a standard error message.

    We verified the file was not created in Enterprise Manager.

    Ortho 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