Create Table Through Coldfusion

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

  1. #1

    Default Create Table Through Coldfusion

    Hello,

    I'm trying to create a table through Coldfusion, but I keep getting the
    following Oracle error:

    ORA-01031: insufficient privileges

    Is it possible to create a table through Coldfusion using CF 5 and Oracle 8i?
    The create table sql works in Toad, so it seems that I have the appropriate
    privileges.

    Here's the code I'm using:

    <CFQUERY NAME="CreateTable" DATASOURCE="#myDSN#" dbtype="Oracle80">
    create table myschema.newtable as
    select col1, col2 from myschema.sometable
    </CFQUERY>

    Is it my DSN, or can it not be done, or something else?

    Thanks in advance for any help,
    Mark


    tbemcf14 Guest

  2. Similar Questions and Discussions

    1. create table space
      i am using db2 udb v8.1 for windows 64 bit, based on the doc, i can create DMS to achieve high performance, to add the container, i can do file or...
    2. Using ColdFusion to create directories
      I was wondering if it is possible to use ColdFusion to dynamically create directories. For example, I have a form that a user fills out (First...
    3. How to create a table with dynamic table name
      <html><div style='background-color:'><DIV> <DIV class=Section1> <P class=MsoNormal style="mso-layout-grid-align: none"><FONT face="Times New Roman"...
    4. CREATE TABLE IN ACCESS
      Hi all, Quick question, how do you create a table in MS Access from with an asp script? I will be creating the table name from ...
    5. Use sequense in Create Table
      In Oracle 9.20.1.0, there is a error in " autoUid.nextval uid" this is statement SQL: create table AAA as ( select autoUid.nextval uid , makh,...
  3. #2

    Default Re: Create Table Through Coldfusion

    It looks like the user account assigned to your DSN lacks the appropriate privileges to create database objects.

    Phil
    paross1 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