Secure field XE DB data

I have a table I need to secure/encrypt the data in a field (salary). The DB is 10G XE, so my options are limited to exactly what we create around this free version.

Ideally, I would like to hand off APEX development and maintenance of a person who should not see this detail, but who will need access to all of the DB using SQL Developer as well as the GUI of the APEX... in their functions as an administrator/developer.

At present, retail is protected to within the application of the Apex by groups of Apex and authorization scheme - while those of the correct group can display once connected field. There are currently no DB ID or install groups created outside those that come with the DB or that are created at the Apex.

Any direction you can provide to protect this area from prying eyes by Apex or through SQL Developer (as) external tools of Mgmt of DB?

Thank you

Rich

Hello

The better you'll be able to do in this scenario is the use of DBMS_CRYPTO (http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_crypto.htm) package to encrypt the field before storing it using a key (with salt) and decrypt on the fly when you need to display etc. Use a packed routine to perform the encryption/decryption process and make sure that you wrap the package so that the source code (i.e. the key/salt you used) cannot be easily identified.

Of course... If the people you give the DB have DBA privileges, then it becomes quite easy to overcome this (infact almost trivial) coverage, so you can protect you only so far.

Some of the other editions/functions etc do this kind of protection much more easy/more course (but that's why you pay for these options...).

Hope this helps,

John.
--------------------------------------------
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone!

Tags: Database

Similar Questions

  • Im having a problem with your security software.  Your data bass must be bad, now I can't have spent my address question.  Ive answered all questions to the best of my knowledge and software has always said that my answers are incorrect

    Im having a problem with your security software.  Your data bass must be bad, now I can't have spent my address question.  Ive answered all questions to the best of my knowledge and software has always said that my answers are incorrect

    Hello Bernard,.

    You sign a document that has authentication based on knowledge, applied in it? If so, and if you can't go to questions, then you will need to contact the sender of the document because they can remove it and return you the document. You can respond directly to the e-mail received esign and happens directly from the sender.

    Kind regards

    -Usman

  • Field in the data file exceeds the maximum length - CTL file error

    Hello

    I load data into the new system using the CTL file. But I get the error message 'field in the data file exceeds the maximum length "for few records, other records are processed successfully." " I checked the length of the error record in the extracted file, it is less than the length of the target table, VARCHAR2 (2000 bytes). Here is an example of error data,


    Hi Rebecca ~ I just talk to our Finance Department and they agreed that ABC payments can be allocated to the outstanding invoices, you can send all future invoices directly to me so that I could get paid on time. ~ hope it's okay ~ thank you ~ Terry ~.

    This error is caused because of the special characters in the string?

    Here is the ctl file that I use,

    OPTIONS (SKIP = 2)

    DOWNLOAD THE DATA

    CHARACTERSET WE8ISO8859P1

    INFILE '$FILE '.

    ADD

    IN THE TABLE "XXDM_DM_17_ONACCOUNT_REC_SRC".

    WHEN (1)! = 'FOOTER ='

    FIELDS TERMINATED BY ' |'

    SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS)

    < nom_de_colonne >,

    < nom_de_colonne >,

    COMMENTS,

    < nom_de_colonne >,

    < nom_de_colonne >

    )

    Thanks in advance,

    Aditya

    Hello

    I suspect it's because of the construction in default length of character in sqldr data types - char (255) must take no notice of what the definition of the current table is by default.

    Try adding CHAR (2000), to your controlfile so you end up with something like this:

    OPTIONS (SKIP = 2)

    DOWNLOAD THE DATA

    CHARACTERSET WE8ISO8859P1

    INFILE '$FILE '.

    ADD

    IN THE TABLE "XXDM_DM_17_ONACCOUNT_REC_SRC".

    WHEN (1)! = 'FOOTER ='

    FIELDS TERMINATED BY ' |'

    SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS)

    ,

    ,

    COMMENTS TANK (2000).

    ,

    )

    See you soon,.

    Harry

  • When loading, error: field in the data file exceeds the maximum length

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    CORE Production 11.2.0.3.0

    AMT for Solaris: 11.2.0.3.0 - Production Version

    NLSRTL Version 11.2.0.3.0 - Production

    I am trying to load a table, small size (110 lines, 6 columns).  One of the columns, called NOTES is less error when I run the load.  That is to say that the size of the column exceeds the limit max.  As you can see here, the column of the table is equal to 4000 bytes)

    CREATE TABLE NRIS. NRN_REPORT_NOTES

    (

    Sys_guid() NOTES_CN VARCHAR2 (40 BYTE) DEFAULT is NOT NULL.

    REPORT_GROUP VARCHAR2 (100 BYTE) NOT NULL,

    POSTCODE VARCHAR2 (50 BYTE) NOT NULL,

    ROUND NUMBER (3) NOT NULL,

    VARCHAR2 (4000 BYTE) NOTES,

    LAST_UPDATE TIMESTAMP (6) WITH ZONE SCHEDULE systimestamp NOT NULL default

    )

    TABLESPACE USERS

    RESULT_CACHE (DEFAULT MODE)

    PCTUSED 0

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    80K INITIAL

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    PCTINCREASE 0

    DEFAULT USER_TABLES

    DEFAULT FLASH_CACHE

    DEFAULT CELL_FLASH_CACHE

    )

    LOGGING

    NOCOMPRESS

    NOCACHE

    NOPARALLEL

    MONITORING;

    I did a little investigating, and it does not match.

    When I run

    Select max (lengthb (notes)) in NRIS. NRN_REPORT_NOTES

    I got a return of

    643

    .

    Which tells me that the larger size of this column is only 643 bytes.  But EACH insert is a failure.

    Here is the header of the file loader and first couple of inserts:

    DOWNLOAD THE DATA

    INFILE *.

    BADFILE '. / NRIS. NRN_REPORT_NOTES. BAD'

    DISCARDFILE '. / NRIS. NRN_REPORT_NOTES. DSC"

    ADD IN THE NRIS TABLE. NRN_REPORT_NOTES

    Fields ended by '; '. Eventually framed by ' |'

    (

    NOTES_CN,

    REPORT_GROUP,

    Zip code

    ALL ABOUT NULLIF (R = 'NULL'),

    NOTES,

    LAST_UPDATE TIMESTAMP WITH TIME ZONE ' MM/DD/YYYY HH24:MI:SS. FF9 TZR' NULLIF (LAST_UPDATE = 'NULL')

    )

    BEGINDATA

    | E2ACF256F01F46A7E0440003BA0F14C2; | | DEMOGRAPHIC DATA |; A01003; | 3 ; | demographic results show that 46% of visits are made by women.  Among racial and ethnic minorities, the most often encountered are native American (4%) and Hispanic / Latino (2%).  The breakdown by age shows that the Bitterroot has a relatively low of children under 16 (14%) proportion in the population of visit.  People over 60 represent about 22% of visits.   Most of the visitation comes from the region.  More than 85% of the visits come from people who live within 50 miles. | ; 29/07/2013 0, 16:09:27.000000000 - 06:00

    | E2ACF256F02046A7E0440003BA0F14C2; | | DESCRIPTION OF THE VISIT; | | A01003; | 3 ; | most visits to the Bitterroot are relatively short.  More than half of the visits last less than 3 hours.  The median duration of visiting sites for the night is about 43 hours, or about 2 days.  The average Wilderness visit lasts only about 6 hours, although more than half of these visits are shorter than the duration of 3 hours.   Most of the visits come from people who are frequent visitors.  Over thirty percent are made by people who visit between 40 and 100 times a year.  Another 8% of visits from people who say they visit more than 100 times a year. | ; 29/07/2013 0, 16:09:27.000000000 - 06:00

    | E2ACF256F02146A7E0440003BA0F14C2; | | ACTIVITIES |. A01003; | 3 ; | most often reported the main activity is hiking (42%), followed by alpine skiing (12%) and hunting (8%).  More than half of the report visits participating in the relaxation and the display landscape. | ; 29/07/2013 0, 16:09:27.000000000 - 06:00

    Here's the full start of log loader, ending after the return of the first row.  (They ALL say the same error)

    SQL * Loader: Release 10.2.0.4.0 - Production Thu Aug 22 12:09:07 2013

    Copyright (c) 1982, 2007, Oracle.  All rights reserved.

    Control file: NRIS. NRN_REPORT_NOTES. CTL

    Data file: NRIS. NRN_REPORT_NOTES. CTL

    Bad File:. / NRIS. NRN_REPORT_NOTES. BAD

    Discard File:. / NRIS. NRN_REPORT_NOTES. DSC

    (Allow all releases)

    Number of loading: ALL

    Number of jump: 0

    Authorized errors: 50

    Link table: 64 lines, maximum of 256000 bytes

    Continuation of the debate: none is specified

    Path used: classics

    NRIS table. NRN_REPORT_NOTES, loaded from every logical record.

    Insert the option in effect for this table: APPEND

    Column Position Len term Encl. Datatype name

    ------------------------------ ---------- ----- ---- ---- ---------------------

    FIRST NOTES_CN *;  O (|) CHARACTER

    REPORT_GROUP NEXT *;  O (|) CHARACTER

    AREA CODE FOLLOWING *;  O (|) CHARACTER

    ROUND                                NEXT     *   ;  O (|) CHARACTER

    NULL if r = 0X4e554c4c ('NULL' character)

    NOTES                                NEXT     *   ;  O (|) CHARACTER

    LAST_UPDATE NEXT *;  O (|) DATETIME MM/DD/YYYY HH24:MI:SS. FF9 TZR

    NULL if LAST_UPDATE = 0X4e554c4c ('NULL' character)

    Sheet 1: Rejected - error in NRIS table. NRN_REPORT_NOTES, information ABOUT the column.

    Field in the data file exceeds the maximum length.

    I don't see why this should be failed.

    Hello

    the problem is bounded by default, char (255) data... Very useful, I know...

    you need two, IE sqlldr Hat data is longer than this.

    so change notes to notes char (4000) you control file and it should work.

    see you soon,

    Harry

  • sqlldr question: field in the data file exceeds the maximum length

    Hello friends,

    I am struggling with a load of simple data using sqlldr and hoping someone can guide me.

    Ref: I use Oracle 11.2 on Linux 5.7.
    ===========================
    Here is my table:
    SQL> desc ntwkrep.CARD
     Name                                                              Null?    Type
     ----------------------------------------------------------------- -------- ------------------
     CIM_DESCRIPTION                                                            VARCHAR2(255)
     CIM_NAME                                                          NOT NULL VARCHAR2(255)
     COMPOSEDOF                                                                 VARCHAR2(4000)
     DESCRIPTION                                                                VARCHAR2(4000)
     DISPLAYNAME                                                       NOT NULL VARCHAR2(255)
     LOCATION                                                                   VARCHAR2(4000)
     PARTOF                                                                     VARCHAR2(255)
     *REALIZES                                                                   VARCHAR2(4000)*
     SERIALNUMBER                                                               VARCHAR2(255)
     SYSTEMNAME                                                        NOT NULL VARCHAR2(255)
     TYPE                                                                       VARCHAR2(255)
     STATUS                                                                     VARCHAR2(255)
     LASTMODIFIED                                                               DATE
    When I try to load a text file data using sqlldr, I get the following errors on some files that do not charge.

    Example:
    =======
    Sheet 1: Rejected - error on the NTWKREP table. CARD, column REALIZES.
    Field in the data file exceeds the maximum length

    Looking at the actual data and count the characters for the data of the "CONSCIOUS" column, I see that it is basically a little more of 1000 characters.

    So try various ideas to solve the problem, I tried to change to "tank" nls_length_semantics and re-create the table, but this does not always helped and always got the same errors of loading data on the same lines.


    Then, I changed back to byte nls_length_semantics and recreated the table again.
    This time, I have changed the table manually as:
    SQL> ALTER TABLE ntwkrep.CARD MODIFY (REALIZES VARCHAR2(4000 char));
    
    Table altered.
    
    SQL> desc ntwkrep.card
     Name                                                              Null?    Type
     ----------------------------------------------------------------- -------- --------------------------------------------
     CIM_DESCRIPTION                                                            VARCHAR2(255)
     CIM_NAME                                                          NOT NULL VARCHAR2(255)
     COMPOSEDOF                                                                 VARCHAR2(4000)
     DESCRIPTION                                                                VARCHAR2(4000)
     DISPLAYNAME                                                       NOT NULL VARCHAR2(255)
     LOCATION                                                                   VARCHAR2(4000)
     PARTOF                                                                     VARCHAR2(255)
     REALIZES                                                                   VARCHAR2(4000 CHAR)
     SERIALNUMBER                                                               VARCHAR2(255)
     SYSTEMNAME                                                        NOT NULL VARCHAR2(255)
     TYPE                                                                       VARCHAR2(255)
     STATUS                                                                     VARCHAR2(255)
     LASTMODIFIED                                                               DATE
    Yet once, loading data failed with the same error on the same lines.

    So, this time, I thought that I would try to change the data type of column in a clob (navigation), and again, it is still impossible to load on the same lines.
    SQL> desc ntwkrep.CARD
     Name                                                              Null?    Type
     ----------------------------------------------------------------- -------- -----------------------
     CIM_DESCRIPTION                                                            VARCHAR2(255)
     CIM_NAME                                                          NOT NULL VARCHAR2(255)
     COMPOSEDOF                                                                 VARCHAR2(4000)
     DESCRIPTION                                                                VARCHAR2(4000)
     DISPLAYNAME                                                       NOT NULL VARCHAR2(255)
     LOCATION                                                                   VARCHAR2(4000)
     PARTOF                                                                     VARCHAR2(255)
     REALIZES                                                                   CLOB
     SERIALNUMBER                                                               VARCHAR2(255)
     SYSTEMNAME                                                        NOT NULL VARCHAR2(255)
     TYPE                                                                       VARCHAR2(255)
     STATUS                                                                     VARCHAR2(255)
     LASTMODIFIED                                                               DATE
    Any ideas?

    Here's a copy of the first line of data that fails to load each time any how to change the column 'TRUE' in the table.
    other(1)`CARD-mes-fhnb-bldg-137/1`  `other(1)`CARD-mes-fhnb-bldg-137/1 [other(1)]`HwVersion:C0|SwVersion:12.2(40)SE|Serial#:FOC1302U2S6|` Chassis::CHASSIS-mes-fhnb-bldg-137, Switch::mes-fhnb-bldg-137 ` Port::PORT-mes-fhnb-bldg-137/1.23, Port::PORT-mes-fhnb-bldg-137/1.21, Port::PORT-mes-fhnb-bldg-137/1.5, Port::PORT-mes-fhnb-bldg-137/1.7, Port::PORT-mes-fhnb-bldg-137/1.14, Port::PORT-mes-fhnb-bldg-137/1.12, Port::PORT-mes-fhnb-bldg-137/1.6, Port::PORT-mes-fhnb-bldg-137/1.4, Port::PORT-mes-fhnb-bldg-137/1.20, Port::PORT-mes-fhnb-bldg-137/1.22, Port::PORT-mes-fhnb-bldg-137/1.15, Port::PORT-mes-fhnb-bldg-137/1.13, Port::PORT-mes-fhnb-bldg-137/1.18, Port::PORT-mes-fhnb-bldg-137/1.24, Port::PORT-mes-fhnb-bldg-137/1.26, Port::PORT-mes-fhnb-bldg-137/1.17, Port::PORT-mes-fhnb-bldg-137/1.11, Port::PORT-mes-fhnb-bldg-137/1.2, Port::PORT-mes-fhnb-bldg-137/1.8, Port::PORT-mes-fhnb-bldg-137/1.10, Port::PORT-mes-fhnb-bldg-137/1.16, Port::PORT-mes-fhnb-bldg-137/1.9, Port::PORT-mes-fhnb-bldg-137/1.3, Port::PORT-mes-fhnb-bldg-137/1.1, Port::PORT-mes-fhnb-bldg-137/1.19, Port::PORT-mes-fhnb-bldg-137/1.25 `Serial#:FOC1302U2S6`mes-fhnb-bldg-137`other(1)
    Finally, for reference, here's the controlfile I use.
    load data
    infile '/opt/EMC/data/out/Card.txt'
    badfile '/dbadmin/data_loads/logs/Card.bad'
    append
    into table ntwkrep.CARD
    fields terminated by "`"
    TRAILING NULLCOLS
    (
    CIM_DESCRIPTION,
    CIM_NAME,
    COMPOSEDOF,
    DESCRIPTION,
    DISPLAYNAME,
    LOCATION,
    PARTOF,
    REALIZES,
    SERIALNUMBER,
    SYSTEMNAME,
    TYPE,
    STATUS,
    LASTMODIFIED "sysdate"
    )

    The default data in sqlldr type is char (255)

    Modify your control file following which I think should work with VARCHAR2 (4000) REALIZES:

    COMPOSEDOF char(4000),
    DESCRIPTION char(4000),
    LOCATION char(4000),
    REALIZES char(4000),
    
  • Required custom metadata field with the date current system as default.

    I want to create a custom type metadata field Date. I want to make mandatory and set its default value as date system.

    I have already created the field of type Date. What expression should I write do the date system as default?

    Because it is a required field, what will happen to existing content. Is there metadata get updated?

    Thank you
    Sanjeev

    Change metadata Information fields and set the default value <$dateCurrent()$>.
    If you want to update the metadata for exisitng documents, you can use archiver to export all the elements and then perform an import. But, before you do the import set up import mappings
    (1) update existing items have the same date, use the value cards (tab cards Import)
    (2) use of field maps to update with arrival,

  • Enumeration of the fields of form data in a PDF file

    Hey there,

    I have an existing VS C++ application and I would like to add the ability to enumerate all fields of form data in an existing PDF file. Before saying anything more, I must admit that I am a total newbie to Adobe technology. This fact will probably be quite obvious in a few sentences: - D.

    In any case, I think I should use the portion of the IAC to the API of Acrobat. I had downloaded the SDK of X, and I found the files acrobat.h and acrobat.cpp that provide the CAcroApp wrapper. I am able to create this object as follows...

    Try

    {

    IUnknown * punkAcrobat;

    IDispatch * pdispAcrobat;

    CLSID clsidAcrobat;

    CLSIDFromProgID (L "AcroExch.App", & clsidAcrobat);

    Create an instance of Acrobat and

    get a ptr to its IUnknown interface

    HR =: CoCreateInstance (clsidAcrobat, NULL, CLSCTX_SERVER,

    IID_IUnknown, (void *) & punkAcrobat);

    If (FAILED (hr)) up at the time.

    Get the IDispatch interface for automation...

    HR = m_punkAcrobat-> QueryInterface (IID_IDispatch, (void *) & pdispAcrobat);

    If (FAILED (hr)) up at the time.

    CAcroApp aa (ab.m_pDispAcrobat); comes from acrobat.h

    AA. Show();

    AA. Masquer();

    AA. Exit();

    }

    catch (HRESULT hrException)

    {

    HR = hrException;

    }

    Life is good. Now, to enumerate the data fields of form (appropriate terminology?) in a PDF file, I * think * I need to get a pointer to the AFormAut.App COM interface. Of course, I can do this, as I've done above and, in fact, I have and it works. But then I would have some sort of sweet wrapper handy for this interface - just like the wrappers in acrobat.h. I also want a pony for Christmas! - D... anywayyyyy, such a wrapper is there? Can you give me some tips on how to get from there where I am above that it is able to call the method ExportAsFDF (I think that's what I need)?

    As I said, I'm a newbie; so be nice .

    Regards and thanks in advance!

    Using AcroAVDoc instead of AcroPDDoc, the get_fields method seems to work. Perhaps one can post an example of MFC project as soon as I get this job.

    Kind regards

    Duke

  • The current text field default value Date

    Thank you for taking the time to read my question.

    I can't understand how to assign a default value of Tex fields the current date. Is there a way to do this?

    Thank you

    Brad

    No, because the script will only trigger when other field values change. It will not update when the document is opened until the user changes a field value.

  • Adding security to SQL 2000 data sources

    Adding security to SQL 2000 data sources

    I made ColdFusion programming for more than 5 years and now I hired an assistant for myself. So far, I have no warranty on my data sources, but now I need to add user rights for these so if my assistant made a mistake, nothing would happen to the tables. Currently I have about 3 sources of data. I did some research on creating users under Microsoft SQL 2000 and I have created a user account under SQL, but given that my data sources are connected via the account, this user always have full powers on all the tables. Maybe it is more than a simple creation of a user account under SQL and allows read only access to the tables under the permissions tab. Or maybe I need to create new sources of data with different configurations, or perhaps use ColdFusion Sandbox!

    This is where I am confused right now and don't know what would be the way to protect my assistant from damaging my paintings!

    I'll explain my situation with an example here:

    Let's say Mike is a project manager / database administrator and it is the only one in the network, which must have full access to all sources of data/tables. Juta is the programmer who has access to all tables except the Update/Insert access read-only on the tables of 1 or 2.

    I would appreciate if someone can help me understand what I need to do to get there.

    Thank you

    Mike R

    I assume you are using RDS for Dreamweaver to connect with your ColdFusion server, etc, but ColdFusion doesn't RDS to connect to the database, just for you to be able to 'talk' to CF with Dreamweaver, right? We have RDS enabled in our development environment so that we can use CF Studio (Yes, I know, an antique), but the same thing applies to Homesite or DW, I guess. We have no active RDS on our production server see If I happen to use CF Studio to change templates on the production system, I can not run (or look at databases, etc) and would need to use Explorer to run the model and Enterprise Manager (or SQL Plus, etc) to 'look' to the database. However, you shouldn't really get used to change production CF models without testing in development anyway, so it should really not a problem, unless you do not have instances of database development, etc., which could be a problem with the security of the database. Take shortcuts by not having does not separate and production environments development can bite you.

    Phil

  • Import of security field

    Environment:
    WebLogic 10.3

    Senario:
    I created a new area of Production for Weblogic 10.3. I imported security field of the production of the old via the migration on the console tab. The development is testing on the new production environment, and they're going to live with her in a month or two. My problem is before they go live with their new production environment, they want me re - import the field of the safety of the former production area, just in case the other users have been added. Is this possible? Do I have to remove all the users first or is he just throw dupilcates and only add new users?

    Thanks for the help,
    Tom.

    Just re - import the realm of security will work fine.

  • Field in the data file exceeds the maximum length

    Dear all,

    I'm trying to download data in a table using SQLLDR, the data field in TAR_BAD_RSN and PCL_ADD1 columns do not have more than 4,000 characters. I pasted the file desc and control table which I use. Pls help me on what I get an error msg like field in the data file exceeds the maximum length for TAR_BAD_RSN and PCL_ADD1
    :> desc dedup_target_upload_new
    
    
    Name                                      Null?    Type
    ----------------------------------------- -------- ----------------------------
    PPL_CON_ID                                         VARCHAR2(20)
    PPL_CON_NO                                         VARCHAR2(20)
    TAR_DIV                                            VARCHAR2(10)
    TAR_MODEL                                          VARCHAR2(50)
    PPL_BOOKED_DT                                      VARCHAR2(20)
    PCL_FIRST_NAME                                     VARCHAR2(100)
    PCL_MIDDLE_NAME                                    VARCHAR2(100)
    PCL_LAST_NAME                                      VARCHAR2(100)
    PPL_IBC_CODE                                       VARCHAR2(100)
    PPL_DLR_CODE                                       VARCHAR2(100)
    INV_CHAS_NO                                        VARCHAR2(20)
    INV_ENG_NO                                         VARCHAR2(20)
    PCL_MOB_NO                                         VARCHAR2(300)
    PCL_PH_NO                                          VARCHAR2(300)
    RC_NO                                              VARCHAR2(25)
    PPL_STS                                            VARCHAR2(300)
    PCL_ADD1                                           VARCHAR2(300)
    PCL_ADD2                                           VARCHAR2(300)
    PCL_ADD3                                           VARCHAR2(300)
    PCL_CITY                                           VARCHAR2(50)
    PCL_PINCODE                                        VARCHAR2(10)
    FLAG                                               VARCHAR2(10)
    ID_DRIVING_LIC                                     VARCHAR2(40)
    ID_ELECTION_CARD                                   VARCHAR2(40)
    ID_PAN_CARD                                        VARCHAR2(40)
    ID_PASSPORT                                        VARCHAR2(40)
    BIRTH_DATE                                         VARCHAR2(100)
    TAR_PH_1                                           VARCHAR2(50)
    TAR_PH_2                                           VARCHAR2(50)
    TAR_PH_3                                           VARCHAR2(50)
    TAR_PH_4                                           VARCHAR2(50)
    TAR_PH_5                                           VARCHAR2(50)
    TAR_BAD_RSN                                        VARCHAR2(4000)
    TAR_STS                                            VARCHAR2(40)
    
    load data infile 'z:\FILE1.txt' append into table dedup_target_upload_new FIELDS TERMINATED BY "     " 
    TRAILING NULLCOLS(
         PPL_CON_ID          "CHAR(4000) TRIM(:PPL_CON_ID)"
    ,     PPL_CON_NO          "CHAR(4000) TRIM(:PPL_CON_NO)"
    ,     TAR_DIV          "CHAR(4000) TRIM(:TAR_DIV)"
    ,     TAR_MODEL          "CHAR(4000) TRIM(:TAR_MODEL)"
    ,     PPL_BOOKED_DT          "CHAR(4000) TRIM(:PPL_BOOKED_DT)"
    ,     PCL_FIRST_NAME          "CHAR(4000) TRIM(:PCL_FIRST_NAME)"
    ,     PCL_MIDDLE_NAME          "CHAR(4000) TRIM(:PCL_MIDDLE_NAME)"
    ,     PCL_LAST_NAME          "CHAR(4000) TRIM(:PCL_LAST_NAME)"
    ,     PPL_IBC_CODE          "CHAR(4000) TRIM(:PPL_IBC_CODE)"
    ,     PPL_DLR_CODE          "CHAR(4000) TRIM(:PPL_DLR_CODE)"
    ,     INV_CHAS_NO          "CHAR(4000) TRIM(:INV_CHAS_NO)"
    ,     INV_ENG_NO          "CHAR(4000) TRIM(:INV_ENG_NO)"
    ,     PCL_MOB_NO          "CHAR(4000) TRIM(:PCL_MOB_NO)"
    ,     PCL_PH_NO          "CHAR(4000) TRIM(:PCL_PH_NO)"
    ,     RC_NO          "CHAR(4000) TRIM(:RC_NO)"
    ,     PPL_STS          "CHAR(4000) TRIM(:PPL_STS)"
    ,     PCL_ADD1          "CHAR(4000) TRIM(:PCL_ADD1)"
    ,     PCL_ADD2          "CHAR(4000) TRIM(:PCL_ADD2)"
    ,     PCL_ADD3          "CHAR(4000) TRIM(:PCL_ADD3)"
    ,     PCL_CITY          "CHAR(4000) TRIM(:PCL_CITY)"
    ,     PCL_PINCODE          "CHAR(4000) TRIM(:PCL_PINCODE)"
    ,     FLAG          "CHAR(4000) TRIM(:FLAG)"
    ,     ID_DRIVING_LIC          "CHAR(4000) TRIM(:ID_DRIVING_LIC)"
    ,     ID_ELECTION_CARD          "CHAR(4000) TRIM(:ID_ELECTION_CARD)"
    ,     ID_PAN_CARD          "CHAR(4000) TRIM(:ID_PAN_CARD)"
    ,     ID_PASSPORT          "CHAR(4000) TRIM(:ID_PASSPORT)"
    ,     BIRTH_DATE          "CHAR(4000) TRIM(:BIRTH_DATE)"
    ,     TAR_PH_1          "CHAR(4000) TRIM(:TAR_PH_1)"
    ,     TAR_PH_2          "CHAR(4000) TRIM(:TAR_PH_2)"
    ,     TAR_PH_3          "CHAR(4000) TRIM(:TAR_PH_3)"
    ,     TAR_PH_4          "CHAR(4000) TRIM(:TAR_PH_4)"
    ,     TAR_PH_5          "CHAR(4000) TRIM(:TAR_PH_5)"
    ,     TAR_BAD_RSN          "CHAR(4000) TRIM(:TAR_BAD_RSN)"
    ,     TAR_STS          "CHAR(4000) TRIM(:TAR_STS)"
    )
    Thanks for reading this post
    * 009 *.

    Hello

    Is it possible to deilmit the fields with ' | '? So you don't have to worry about their variable length.

    Just use the completed fields by "|" in the control file.

    Concerning

  • Collective update to a field in the data sorted in a tubular form

    I do a mass update to a field in the data sorted in a tubular form. I've seen samples where they use Java script, but how can I do the same thing in sql, is this possible?
    Again thanks.

    It is possible to make updates in SQL, but of course after a shipment.
    JavaScript changes the values of the form objects, when you use SQL wil you need a way to know what values should be updated and with what value.
    You can create a process with this update, which is carried out under the condition of a specific button.

    Hope this helps,

    DickDral

  • security field

    Why the change in the field of active safety's default security model is not good?

    Well, it's actually more a perspective of operational management. For example, when you are
    your domain migration. If your applications all define their policies of security using Java EE deployment descriptors.
    Just deploy the application will automatically fill the database of security new environment with this information.
    If the security information that exceed, or the application does not use the security model of DD_only, you will need
    to migrate data using either the ability to export/import or manually copying the tree embedded LDAP protocol
    and the SerializedSystemIni.dat file to the new domain.

    Essentially, a model of application security describes how WebLogic Server should define and manage an application
    role and authorization policies. The domain defines the default application for applications, but each security model
    application has the choice to accept the default template or choose one of the other models at deployment time.
    By default, WebLogic Server sets the realm by default DD application security model only; This mode gives you the
    Java EE standard security model. As well the role and authorization policies are defined within the application
    deployment descriptors.

    To keep your manageable domain name, it is wise to leave the default security model to be DD only. But if it's
    only for testing purposes, you can change the security model if you wish.

  • How to create an automatic text field - has a date of three years from the current date?

    I'm trying to create a PDF form that is automatically entered a three-year expiration date in the future of the current date in a created text field.

    Text field name: ExpDate

    Text field format: mm/dd/yy

    So far, I entered in the following in the Page Properties-> Actions-> Add Action (trigger = Open Page, Action = run a JavaScript script):

    var ExpDate = new Date();

    ExpDate.setYear (ExpDate.getYear () + 3);

    var f = this.getField ("ExpDate");

    f.Value = util.printd ("mm/dd/yy", ExpDate);

    We will attend the correct expiration date the day where I do the certificate (i.e. There will be 07/06/16, June 7, 2016), but when I open it the next day will be always ready 07/06/16 instead of 06/08/16. I'm sure it is something simple that I need to change. Any ideas?

    If she says ' 07/06/16"on 7 June 2016, which means that it does not work properly, either, as it does not add 3 years to the date of the day... It should show ' 07/06/19.

    You see error messages in the console (Ctrl + J) JS when you open the file?

  • Hidden form fields - Landing Page Data Capture

    I'm trying to use 1 generic form on all landing pages we create for Webinar sign.  in order for me to pass the correct form by webinar data via the form of treatment to the module of the event concerned, I need to have a hidden field that contains the identifier of unique landing page.  What would it be?  If that's the name of the destination page, then what is the real call tag and how that I insert in the hidden field?

    the objective here is to have: 1 generic form used in webinar multiple landing pages that transmits data through several modules of the discipline concerned for each webinar.  See below for a brief scheme.

    Thank you!

    DOM

    Quick question - is the landing page for each webinar on a canvas of separate campaign? If so, you can use the URL that contains the elqcampaignid to delimit the module in which Webinar to send it to. You simply need to add as a hidden field on the form, and then add the code to extract the value of the URL. You can find instructions and the code here: How to capture Sources referring to the Landing Pages and forms using query strings

    If they are not on separate canvases, you can use the same method as above, but it would just come with your own query string parameter to add to the url. Example: http://www.url.com?webinar=A

    In the example above, you just have to then a hidden form field "webinar" and update the code to reflect this hidden field. The key he ensure that's connecting to these landing pages then have this added query string.

Maybe you are looking for

  • Capabilitiies OJ6500 Wireless AIO and 'ePrint '?

    OJ6500 Wireless AIO (model - E709n) can be upgraded to have 'ePrint' capabilitiies?

  • HP zbook 15 G2: the bios chip

    Hello could someone tell me if this chip is the right one for my laptop? http://www.eBay.com/ITM/BIOS-chip-password-unlock-chip-HP-ZBOOK-15U-G2-/271975685190 Thank you very much

  • Space free hard drive

    So I have a question that has been so annoying for... months. It's pretty stupid I guess but... anyway. I really wanted to see what eats my hard drive, so... i opened C: and verified through properties of disk space each folder is using. And those wh

  • Windows Update that affect my Disortplay Driver and Windows starts?

    I recently had this problem where I wouldplaying starcraft or just browsing the netand my screen freeze and tell memy display driver has stopped responding and allfarm down and when it starts, the screen splitsin half with a white line. and then fina

  • having problems to install a driver

    Hi I have a windows netbook eepc 7, I have problems to install a driver can help you please? XX