Try to add the column to Oracle DB

I'm no expert with Oracle, so excuse my ignorance. However, I am trying to use CF to add a column to a table in Oracle 10 g DB. The code I use is:

< cfquery name = "addCol" datasource = "SOWGEN" >
ALTER TABLE 'TBL_PASSWORDS '.
Add a column 'approved' char (1) DEFAULT ' don't
< / cfquery >


I received this an error of:

[Macromedia] [Oracle JDBC Driver] [Oracle] ORA-00903: invalid table name

Certainly I double checked spelling and the existence of this table, but I can assue you, it exists. What I am doing wrong? Again, sorry for the newb question. Thanks in advance for the help.

Nevermind, just after that I posted this question, I solved it mine by using the syntax in this way:


ALTER TABLE TBL_PASSWORDS
ADD (approved char (1) default 'n')

Maybe this will help someone else.

Tags: ColdFusion

Similar Questions

  • Can I add the column to the playlist to my music list in itunes?

    I consult my entire list of music, and I'd like to know what category of playlist I created that the song is in. Can I add the column to the playlist to my music list?

    I use an older iTunes. You cannot create a column for playlists, but you can right click on individual tracks and is one of the elements to display the items in the lists of reading in which it is contained.

  • Using script - library locked when you try to add the file to it

    Hello

    I'm just a simple script that I can run with my engines of the action, so if I add new enum values I can create new wrappers quickly. I am able to create a new VI on disk, but when I try to add the the VI to the library, I get "error 1562: library, or the specified project is locked." Just before adding the article, I tried to adjust the State of the library "Not locked", but has not been the tower.

    Directions to see the error:

    Open attached zip file

    Open 'Engine.lvlib Action '.

    Run "Script - Create Wrapper.vi.

    Please let me know how to get around this, I thank you,

    Gregory

    There are two reasons at least a library locks: 1) something he possesses is running, 2) is open in two or more instances of the application.  (This applies to classes too.)

    I started a project and took your scripts out of the library (to avoid the #1) and then open your Library Reference by path in your script, be sure to include the reference of the application (to avoid the #2).

    Works now.  (With the exception of the Init.vi but you mentioned earlier that you knew about it. But point 1 and 2 of article work fine.)

  • I get "access denied" when you try to add the component 4543BD

    I get "access denied" when you try to add the 4543BD to my diagram. This component has been added since a previous version. I use Multisim version 12.0.0 student edition.

    Hi Diarra,

    I checked my database and the 4543 isn't in the student edition. If you open a drawing that was created in a version more recent as the education edition and copied the part to your database, when you place this part, you will get the access denied message.

    Attached is a diagram with the part, you can open it and build you circuit around it.

  • My MMC crashes when you try to add the Certificates snap-in

    My MMC crashes when you try to add the Certificates snap-in

    Error: Microsoft Management Console has encountered a problem and needs to close.

    When to see the details, it shows a mfc42u.dll error.

    Hey Sankar,

    Try Mircosoft Fixit: http://support.microsoft.com/gp/slow_windows_performance

    You will need to authenticate Windows.

  • I am trying to install a printer wifi (Kodak ESP 7250) and they are both connected to the same wifi but when I try to add the printer, my PC can't find it.

    I am trying to install a printer wifi (Kodak ESP 7250) and they are both connected to the same wifi but when I try to add the printer, my PC can't find it. I made sure they are both connected to my home network and when I go to control panel / printer and try to add a network printer / wireless. He won't find it. Any ideas?

    Hello

    I suggest you to visit these links and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/add-or-remove-a-printer

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-printer-problems

    It will be useful.

  • Media center immediately crashes when I try to add the extender for the Xbox 360

    I am running Windows 7 Home Premium.  I try to add the extender for the Xbox 360 to Windows Media Center. When I go to Media Center tasks and add an Extender, Media Center crashes immediately after I enter my Xbox console 8-digit code and click Next.  I have disabled the firewall of the router and firewall windows without success.  Restart the computer and the Xbox has not helped either.  Any suggestions that I can not yet put in place the Extender?

    Thank you.

    Hi Eric,.

    Thanks for posting your query in Microsoft Community Forum!

    According to the description of the problem, it seems that you have trouble connecting Xbox 360 extender for Windows Media Center.

    I will certainly help you with this issue.

    Here are some methods that you can try in order to solve the problem.

    Method 1: Disable the antivirus software and make sure.

    http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 2: Clear the Xbox 360 console system cache and check.

    http://support.Microsoft.com/kb/971755

    Method 3: Reconnect to Windows Media Center

    In the event that something happened to your connection, try to disconnect and reconnect to your Windows Media Center computer.

    To disconnect and reconnect to Windows Media Center:

    a. in the Xbox Dashboard, go to My Xbox and open Control Panel.
    b. Select computers, Windows Media Center.
    c. Select Disconnect.
    d. Select the installation program and follow the instructions on the screen to complete the Media Center Windows Installer.

    For more information, see the articles.

    www.Microsoft.com/Extender/Help

    Here is a demo for an Xbox 360 as an Extender for Windows Media Center unit setting http://Windows.Microsoft.com/en-us/Windows7/set-up-a-Windows-Media-Center-Extender
    http://www.Microsoft.com/Windows/Windows-Media-Center/learn-more/Extenders/help/Extenders-firewalls.aspx

    Tips for solving problems with Windows Media Center Extender Setup

    http://Windows.Microsoft.com/en-us/Windows7/tips-for-solving-Setup-problems-with-Windows-Media-Center-Extenders

    If the problem persists, or you have questions about Windows, do not hesitate to let us know. We will be happy to help you.

  • I have purchased Adobe Design Standard CS6 2013 with serial number, but can't find the to no download on a new mac laptop. When I try and add the serial number to 24 digits on my account it doesn't seem to work?

    I have purchased Adobe Design Standard CS6 2013 with serial number, but can't find the to no download on a new mac laptop. When I try and add the serial number to 24 digits on my account it doesn't seem to work?

    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html

    You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    CS6: http://prodesigntools.com/adobe-cs6-direct-download-links.html

  • I try to add the Youtube widget, but I get a plugin saying blocked black box. I even tried to incorporate both YouTube and it does the same thing. But when I drag the widget Vimeo more, it connects properly. What I am doing wrong and

    I try to add the Youtube widget, but I get a plugin saying blocked black box. I even tried to incorporate both YouTube and it does the same thing. But when I drag the widget Vimeo more, it connects properly. What I am doing wrong and how can I solve this problem?

    Make sure that the web browser you are using and its Flash plug-in is up-to-date. Google Chrome has its own plug-in Flash, it updates on its own. Firefox, IE and others have separate plug-ins.

  • How to add the column to Adobe flex mxml or actionsctpt mx:DataGrid?

    I have the simple mxml code

    <mx:DataGrid id="DGG"
                
    editable="true">
       
    <mx:dataProvider>
           
    <mx:Object scheduledDate="4/1/2006"/>
       
    </mx:dataProvider>
    </mx:DataGrid>
    <mx:Button id="SetBut"
              
    label="Set Array as Data Provider"
              
    click="SetDP(); AddBut.visible = true;"
              
    x="100.5"
              
    y="164"
              
    width="211"/>
    <mx:Button id="AddBut"
              
    label="Add a column!"
              
    click="AddCol();"
              
    x="100.5"
              
    y="194"
              
    width="211"
              
    visible="false"/>
    <mx:Script>
        <![CDATA[
            import mx.controls.dataGridClasses.DataGridColumn;
            import mx.collections.ArrayCollection;

            [Bindable]
            public var MyAC:ArrayCollection=new ArrayCollection([{scheduledDate: "4/1/2006", homeTeam: "Chester Bucks"}]);

            public function SetDP():void
            {
                DGG.dataProvider=MyAC
            }

            public function AddCol():void
            {
                MyAC.addItem({scheduledDate: "4/5/2007", homeTeam: "Long Valley Hitters", Umpire: "Amanda Hugenkis"});
                DGG.columns.push(new DataGridColumn("Umpire"));
            }
        ]]>
    </mx:Script>

    I want to add lines to my datagrid table how do such thing?

    How to add the column to Adobe flex mxml or actionsctpt mx:DataGrid?

    (You can place this code in a Flash or AIR application - it compiles without error, but will not add any columns =)

    Change this:

    public void SetDP (): void
    {
    DGG.dataProvider = MyAC
    MyAC.addItem ({scheduledDate: "05/04/2007", homeTeam: "long hitters Valley", umpire: "Amanda Hugenkis"});
    }
               
    public void AddCol (): void
    {
    var dgc:DataGridColumn = new DataGridColumn ("Umpire");
    var ca:Array = DGG.columns;
    CA.push (DGC);
    DGG.columns = ca;
    }

    Dany

  • Error: Windows print spooler is not running when you try to add the HP printer wireless

    I'm trying to start the Windows printer spooler and do not know how.  Can anyone help?

    Thank you

    Original title: I TRY to ADD a PRINTER of HP WIRELES in MY PORTABLE AND I GET AN ERROR MESSAGE THAT SAYS THAT my WINDOWS PRINT SPOOLER NOTR IS RUNNIN'.  How can I START THE SPOOLER?

    Hi Samsodano,

    ·         Did you do changes on the computer before the show?

    Follow the suggestions below for a possible solution:

    Method 1: You can run the Microsoft Fixit to the below mentioned link and check if it works.

    Problems printing and printing errors

    http://support.Microsoft.com/mats/printing_problems/en-us

     

    Method 2: You can consult the following Microsoft article Knowledge Base and follow the steps in the article to resolve the problem.

     

    You cannot add a printer and you receive Printer Spooler error messages in Windows XP

    http://support.Microsoft.com/kb/324757

    Let us know if it helps.

  • BlackBerry Smartphones for business enable when you try to add the email account

    Hello

    I recently got a BlackBerry Torch 9860 running OS 7.1 and I try to add my personal GMail account. However, whenever I try to add an email in the menu setup, he invites me 'enable Enterprise. "

    Is there a way to disable this? My phone is personal and it is not related to any company.

    Thank you

    gajariam

    Without a blackberry data plan, that you cannot set up an email.  You must get this plan first.

  • Classic report - add the column "select box"?

    I have a classic report and you want to add a column with a check box so that the user can select several lines and perform an action on all of the lines (delete selected, for example).  Looks like it should be easy and maybe integrated features, but I don't find it.  Is there a standard way to do this?

    Steve

    APEX 5.0

    Hello

    to add a box to your classic report using apex_item.checkbox like this API function:

    select
        APEX_ITEM.CHECKBOX(p_idx=>1, p_value=>DEPTNO)  as select_dept,
        DEPTNO as DEPTNO,
        DNAME as DNAME,
        LOC as LOC
    from DEPT
    

    You can access the values checked (for example in a process page)

    declare
    v_deleted_depts number := 0;
    begin
    FOR i in 1..APEX_APPLICATION.G_F01.count
    LOOP
      v_deleted_depts := v_deleted_depts + 1;
      delete from dept where deptno = APEX_APPLICATION.G_F01(i);
    END LOOP;
    :P1_DEPTCOUNT := v_deleted_depts;
    end;
    

    P1_DEPTCOUNT (hidden) is just for later interaction with this procedure - for example, you want to present your users with a message of success and error custom as "Deleted & P1_DEPTCOUNT. departments. »

    Maybe you would like to add an option to check all checkboxes at once. If so, read this blogpost Blog of Carl Backstrom: September 2007.

    Kind regards

    Pavel

    Edit: don't forget to toggle the leak key for special characters not your column "checkbox.

  • Unable to store the component "time" in the column date Oracle's ADF

    Hi friends,

    I have a table with the date column. I'm trying to set the current date with the time in the column of the table. Java.sql.Date refers to the field of the VO. When I try to turn it using the setLastUpdatedDate() it not be saved. The time is get truncated and the time is saved is 16-mar-2015 00:00:00.  How can I keep the component "hour" as well in the column with the date data type. FYI the component "hour" is saved when I do the sql uisng the insert.

    JDev version is 11.1.1.7.0

    Thank you

    Hello

    java.sql.Dateis the DATE of SQL which means it stores years, months and days whilehour, minute, second and millisecond are ignored. Also sql.Date is not related to time zones.

    java.sql.Timestampcorresponds to the SQL TIMESTAMP, which is the exact nanosecond (Note that util.Date only supported milliseconds!) with customizable precision.

    try to use the timestamp if you want exact

  • Add the column in the collection

    Hi gurus

    I created 1 collection as below:

    Create the Collection with the type of table emp

    type c_emp is the table emp % rowtype;

    v_emp:=c_emp() c_emp;

    Now I want to add more than 2 columns in this collection, first name of the column is varchar2 (10) and and 2nd name column is varchar2 (10) s but unable to understand how will I achieve this?. Please guide. Thank you

    Concerning

    Shu

    I created 1 collection as below:

    Create the Collection with the type of table emp

    type c_emp is the table emp % rowtype;

    v_emp:=c_emp() c_emp;

    Now I want to add more than 2 columns in this collection, first name of the column is varchar2 (10) and and 2nd name column is varchar2 (10) s but unable to understand how will I achieve this?.

    You cannot change this collection. You must create a new. And you use no reserved words (for example, the "group") for the names.

    DECLARE

    CURSOR c1 IS (SELECT e.*, cast (null as varchar2 (10) GroupName, cast (null as name varchar2 (10))))

    FROM emp e);

    TYPE typ_tbl IS TABLE c1% rowtype;

    v typ_tbl;

    BEGIN

    . . .

Maybe you are looking for