Inconsistent data type

Hi,
I imported same procedures from Oracle 8i to Oracle 9i but I get the error ORA-00932-inconsistent datatypes:expected DATE got NUMBER.
Some sugestion?
Thanks.

SQL> declare
  2    v_date  date;
  3  begin
  4    select 21092004 into v_date from dual;
  5  end;
  6  /
  select 21092004 into v_date from dual;
ERROR at line 4:
ORA-06550: line 4, column 10:
PL/SQL: ORA-00932: inconsistent datatypes: expected DATE got NUMBERThis is how you get the error, but that doesn't explain why this worked in the 8i database. What is the code that raises this error?

Similar Messages

  • Problems with java constructor: "inconsistent data types" in SQL query

    Hi,
    I tried to define a type "point3d" with some member functions, implemented in java, in my database. Therefor I implemented a class Point3dj.java as you can see it below and loaded it with "loadjava -user ... -resolve -verbose Point3dj.java" into the database.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    package spatial.objects;
    import java.sql.*;
    public class Point3dj implements java.sql.SQLData {
    public double x;
    public double y;
    public double z;
    public void readSQL(SQLInput in, String type)
    throws SQLException {
    x = in.readDouble();
    y = in.readDouble();
    z = in.readDouble();
    public void writeSQL(SQLOutput out)
    throws SQLException {
    out.writeDouble(x);
    out.writeDouble(y);
    out.writeDouble(z);
    public String getSQLTypeName() throws SQLException {
    return "Point3dj";
    public Point3dj(double x, double y, double z)
    this.x = x;
    this.y = y;
    this.z = z;
    public static Point3dj create(double x, double y, double z)
    return new Point3dj(x,y,z);
    public double getNumber()
         return Math.sqrt(this.x*this.x + this.y*this.y + this.z*this.z);
    public static double getStaticNumber(double px, double py, double pz)
         return Math.sqrt(px*px+py*py+pz*pz);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Additionally, I created the corresponding type in SQL by
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    CREATE OR REPLACE TYPE point3dj AS OBJECT EXTERNAL NAME
    'spatial.objects.Point3dj' LANGUAGE JAVA USING SQLDATA (
    x FLOAT EXTERNAL NAME 'x',
    y FLOAT EXTERNAL NAME 'y',
    z FLOAT EXTERNAL NAME 'z',
    MEMBER FUNCTION getNumber RETURN FLOAT
    EXTERNAL NAME 'getNumber() return double',
    STATIC FUNCTION getStaticNumber(xp FLOAT, yp FLOAT, zp FLOAT) RETURN FLOAT
    EXTERNAL NAME 'getStaticNumber(double, double, double) return double')
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    After that I tried some SQL commands:
    create table pointsj of point3dj;
    insert into pointsj values (point3dj(2,1,1));
    SELECT x, a.getnumber() FROM pointsj a;Now, the problem:
    Everything works fine, if I delete the constructor
    public Point3dj(double x, double y, double z)
    this.x = x;
    this.y = y;
    this.z = z;
    in the java class, or if I replace it with a constructor that has no input arguments.
    But with this few code lines in the java file, I get an error when executing the SQL command
    SELECT x, a.getnumber() FROM pointsj a;The Error is:
    "ORA-00932: inconsistent data types: an IN argument at position 1 that is an instance of an Oracle type convertible to an instance of a user defined Java class expected, an Oracle type that could not be converted to a java class received"
    I think, there are some problems with the input argument of the constructor, but why? I don't need the constructor in SQL, but it is used by a routine of another java class, so I can't just delete it.
    Can anybody help me? I would be very glad about that since I already tried a lot and also search in forums and so on, but wasn't successful up to new.
    Thanks!

    Dear Avi,
    This makes sense when it is a short code sample (and i think i've done that across various posts), but sometime this is too long to copy/paste, in these cases, i refer to the freely available code samples, as i did above on this forum; here is the quote.
    Look at examples of VARRAY and Nested TABLES of scalar types in the code samples of my book (chapter 8) http://books.elsevier.com/us//digitalpress/us/subindex.asp?maintarget=companions/defaultindividual.asp&isbn=9781555583293&country=United+States&srccode=&ref=&subcode=&head=&pdf=&basiccode=&txtSearch=&SearchField=&operator=&order=&community=digitalpress
    As you can see, i was not even asking people to buy the book, just telling them where to grab the code samples.
    I appreciate your input on this and as always, your contribution to the forum, Kuassi

  • ORA-00932: inconsistent data types: expected NUMBER got BINARY

    ORA-00932: inconsistent data types: expected NUMBER got BINARY
    Hi,
    Could anyone help in resolving my problem?
    I ‘m developing cmp beans in Jbuilder X,
    My database is Oracle 10g, running on Linux and Application server is Oracle10gAs. Running on Windows.
    I can deploy my Entity EJB’s OK and look then up using finder methods as long as I’ve created the data directly in the database using SQL*Plus for instance.
    In the database I have my primary keys defined as type NUMBER
    In my EJB the corresponding number fields get mapped as java.math.BigDecimal.
    which according to the Oracle JDBC specification is how they are mapped.
    Problem:
    When I try to create a new database entity through my EJB entity bean I get:-
    Error "ORA-00932: inconsistent datatypes: expected NUMBER got BINARY".
    The value of the number being used as the primary key in this example is 10.
    Eg:-
    BigDecimal pk = new BigDecimal(10);
    TestBean test = home.create(pk);
    The datatype in my EJB Deployment descriptor ejb-jar-xml <pri-key-class> is java.math.BigDecimal>
    The jdbc driver defined in my application.xml is
    oracle.jdbc.driver.OracleDriverand url="jdbc:oracle:thin..." in the connection.
    I’ve even tried mapping a datatype as described in the Oracle FAQ’s but this didn’t work.
    21.     I'm trying to deploy a CMP entity bean with a field type BigDecimal and the table creation fails with an error. How do I work around this?
    You have to perform the following steps prior to deploy your application.
    o     Define the mapping for java.math.BigDecimal in the database-schemas/oracle.xml as follows:
    <type-mapping type="java.math.BigDecimal" name="number(20,8)" />o     Use this schema in your data-source as follows:-
    <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="OracleDS"
    ejb-location="jdbc/OracleDS"
    schema="database-schemas/oracle.xml"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="scott"
    password="tiger"
    url="jdbc:oracle:thin:@localhost:1521:DEBU"
    clean-available-connections-threshold="30"
    rac-enabled="false"
    inactivity-timeout="30"
    />

    Further clarification of my problem.
    Originally I said the error occurred when deploying EJB's
    Correction: I can deploy them OK on the application server However the Error message occurs when I try to create a new EJB entity, the only value required is the Primary key which I pass as type BidDecimal.
    If I create entries directly in the database my EJB findByPrimaryKey can find entities OK.
    But I cant create new ones through EJB.
    What realy baffels me is why I'm able to read data through the connection but not write.
    The datatype in my EJB Deployment descriptor ejb-jar-xml <pri-key-class> is java.math.BigDecimal>
    The jdbc driver defined in my application.xml is
    oracle.jdbc.driver.OracleDriver
    and url="jdbc:oracle:thin..." in the connection.

  • Ora-00932 inconsistent data type expected date got number

    Hi all,
    I have got an error ora-00932 inconsistent data type expected date got number in the below part of query.
    NVL (TRUNC (wdj.date_completed), '14-NOV-2012')
    BETWEEN NVL (TRUNC(:p_wo_completion_date_from),
    NVL (TRUNC(wdj.date_completed), '14-NOV-2012')
    AND TRUNC(:p_wo_completion_date_to)
    can u please help me to resolve the error mentioned.
    Thanks in advance.
    Regards,
    Ravi

    NVL(TRUNC (wdj.date_completed),to_date('14-NOV-2012','dd-MON-yyyy'))
         BETWEEN
              NVL (
                    TRUNC(to_date(:p_wo_completion_date_from,'mm/dd/yyyy hh12:mi:ss am')),
                   NVL (TRUNC(to_date(wdj.date_completed,'mm/dd/yyyy hh12:mi:ss am')),
                              to_date('14-NOV-2012','dd-MON-yyyy'))
            AND TRUNC(to_date(:p_wo_completion_date_to,'mm/dd/yyyy hh12:mi:ss am'))

  • Inconsistent data type in CASE stmnt

    Hi,
    I have a CASE stmnt inside a select stmnt as follows
    CASE 'UNIT_COST_ANALYST'
    WHEN 'COST_POOLS'
    THEN report_cost_pool_sag_gl_if.cost_pool_type --(1)
    WHEN 'UNIT_COST_ANALYST'
    THEN costpools.unit_cost_analyst --(2)
    ELSE report_cost_pool_sag_gl_if.cp_desc
    END
    Now (1) is a varchar type and (2) is a number type and hence giving me inconsistent data type error.
    How to solve this
    Regards,
    S

    try this
    CASE 'UNIT_COST_ANALYST'
    WHEN 'COST_POOLS'
    THEN report_cost_pool_sag_gl_if.cost_pool_type||'' --(1)
    WHEN 'UNIT_COST_ANALYST'
    THEN costpools.unit_cost_analyst||'' --(2)
    ELSE report_cost_pool_sag_gl_if.cp_desc
    END
    /rms

  • Inconsistent data types

    am unable to read a clob column; there is also a long column present. get message "inconsistent data types". how do i fix this, please? oracle 8i

    Thanks, Joel. Yes I'm calling a CLOB from a 9i db, and putting it into an 8i local db. I have a LONG on the 8i local db, and the sql requests the result with the getchunk method. I'm using oraole 8.1.7 and was running into problems. The oraole is now working correctly, just trying to correct the columns to match and work. A CLOB column has been included in the local 8i table, but when I run sql against the local CLOB column, I get the inconsistent data error. Is it because there is also a LONG field in the table? How can I correct the CLOB local column so I don't get the sql error locally?
    Also, once we upgrade to 9i locally, will it not matter if a remote CLOB calls a local LONG?

  • Inconsistent data types error

    I have a query in the VO. No matter what i write, i get the below error.
    java.sql.SQLException: ORA-00932: inconsistent datatypes: expected DATE got NUMBER
    No matter what i do, i get this error.
    The query in the VO is as below
    select * from hr_all_positions_f
    where trunc(sysdate) between trunc(effective_start_Date) and trunc(effective_end_date)
    Please advice.
    Thanks

    your query works perfectly in sql developer...
    as suggested by kumar expand your columns instead of using *
    Also check the data types dynamic where clause if any.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                           

  • Data type of the base attribute or the base value does not match...

    ...the assigned expression.
    Hello all,
    I always get the Error
    +<ERROR+
    TEXT="'DWH.CUB_REGISTRATIONS_AW.REGISTRATIONS': XOQ-02517: Der Datentyp des Basisattributs oder der Basisgröße stimmt nicht mit dem zugeordneten Ausdruck überein.
    XOQ-01400: Ungültige Metadatenobjekte"/>
    The English message must be something like this:
    The data type of the base attribute or the base value does not match the assigned expression.
    when I run my mapping. The attribute REGISTRATIONS is NUMERIC (12,2) in the Cube and I map a NUMERIC(12,2) constant in it.
    I use a simple OWB-Mapping for loading, but I don't understand why it doesn't function. Other mappings where the attributes are out of a
    table I put in a cube are running well.
    I tried different things, but nothing fixed my problem. Any idea ?
    Thanks a lot for help
    Michael

    Technically this is a 'warning' from the server, not an 'error'. This means that the change you made should have been submitted, but you get an warning message on the client. AWM would suppress this warning, but evidently OWB does not. Can you switch to use AWM?
    Here is the definition of the warning along with 'cause' and 'action' sections. (Unfortunately these sections are not translated into German for some reason.)
    >
    02517, 0, "The data type \"%(1)s\" of the base attribute or base measure is different from the mapped expression \"%(2)s\"."
    // *Cause: Either the base attribute or base measure with the mapped expression was set to an inconsistent data type, or it was mapped to an expression of a different data type from its fixed data type.
    // *Action: When changing a mapped expression for a base attribute or base measure, ensure that the expression has the same data type; otherwise, set the data type of the base attribute or base measure to NULL first. When a base attribute or a base measure has an existing mapped expression, do not set it to a different data type.
    >
    It is probably safe to ignore this warning, but if you can post the relevant XML for the cube, then will probably be able to spot the problem. I assume that REGISTRATIONS is a measure in the cube CUB_REGISTRATIONS_AW, so this is what you can look for in the XML:
    (1) The definition of the base measure along with the datatype. It should be something like this
    <Measure>
      <BaseMeasure
        SQLDataType="NUMBER(12,2)"
        ETMeasureColumnName="REGISTRATIONS"
        Name="REGISTRATIONS">(2) The mapping info for the measure, which should looks something like this:
    <MeasureMap
      Name="REGISTRATIONS"
      Expression="...">
      <Measure Name="REGISTRATIONS"/>
    </MeasureMap>I don't know if you can get the XML directly from OWB. If not, then DBMS_CUBE.EXPORT_XML should work (assuming you are in 11.2). You could also attach AWM and save the cube to an XML template.

  • Oracle 01g and forms 6i with BLOB Data type

    Dear All,
    I have upgraded my database from oracle 9i R2 to oracle 10g R2. i have an application developed using oracle forms and reports 6i. this application have a form where it stores and retirive an image from the database, this image is stored in a table with a BLOB data type, it was being retrieved fine until we did the upgrade and now it is impossible for me to see the image and i am getting an error every time i retrive the data. it always pop a message saying that "INCONSISTENT DATA TYPE"
    please guys help.
    Regards

    you can try this procedure
    DECLARE
    t_blob BLOB;
    t_len NUMBER;
    t_file_name VARCHAR2(100);
    t_output UTL_FILE.file_type;
    t_TotalSize number;
    t_position number := 1;
    t_chucklen NUMBER := 4096;
    t_chuck raw(4096);
    t_remain number;
    BEGIN
    -- Get length of blob
    SELECT DBMS_LOB.getlength (PHOTO), ename || '_1.jpg'
    INTO t_TotalSize, t_file_name FROM DEMO WHERE ENAME ='moon';
    t_remain := t_TotalSize;
    -- The directory TEMPDIR should exist before executing
    t_output := UTL_FILE.fopen ('TEMPDIR', t_file_name, 'wb', 32760);
    -- Get BLOB
    SELECT PHOTO INTO t_blob FROM DEMO WHERE ENAME ='moon';
    -- Retrieving BLOB
    WHILE t_position < t_TotalSize
    LOOP
    DBMS_LOB.READ (t_blob, t_chucklen, t_position, t_chuck);
    UTL_FILE.put_raw (t_output, t_chuck);
    UTL_FILE.fflush (t_output);
    t_position := t_position + t_chucklen;
    t_remain := t_remain - t_chucklen;
    IF t_remain < 4096
    THEN
    t_chucklen := t_remain;
    END IF;
    END LOOP;
    END;
    it will work

  • Variable Date type

    Hello,
    I have a date type variable like 05/07/2008 / day/month/year and it works as a string.
    I have a prompt with this date type where I have declared a variable called v_date.
    The problem is how to make a filter in a form with this variable to see actual year and the previous year.
    I have done it many times with other variables like integers or floats like this:
    xxxxxxxx IN (@{v_date},(@{v_date}-1))
    where v_date is an integer variable type.
    I guess I have to convert the string to int with functions like cast and substring to use the formula but it hasn't worked.
    Thank you for your help!

    Thank you for your answer but still not working.
    This is what I have written in my filter of my report:
    "Dim Fecha Dia Curso"."Day Date" IN (Right(@{v_date}, 4),(Cast(Right(@{v_date}, 4) as int) - 1))
    and that's the error I've recieved:
    View Display Error
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 932, message: ORA-00932: inconsistent data types: wait for DATE and got NUMBER at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
    SQL Issued: SELECT "Dim Fecha Dia Curso"."Dia Date" saw_0, "- Actuales"."Nº Cons Revisión" saw_1 FROM Volumen WHERE ("Dim Dpto Resp"."Centro Resp" = 'NAV') AND ("Dim Fecha Dia Curso"."Dia Date" IN (Right( TIMESTAMP '2010-01-27 00:00:00', 4),(Cast(Right( TIMESTAMP '2010-01-27 00:00:00', 4) as int) - 1))) ORDER BY saw_0
    I've translated a couple of sentences in the error because I recieved the error in spanish.
    I hope to help you in the translation.
    Thanks!

  • Cannot Activate data type in ABAP Database Inconsistent

    Hi,
    can you please help me on this? We could not activate the data type abap proxy in SPROXY.
    Here is the error:
    Database inconsistent: TABL XYZ not found.
    The object is inactive. Is there a way to delete the object in the backend?
    Or do you know other way to solve this?

    I already recreated the object in ESR, but we are still getting the error in SPROXY whether you regenerate, delete or activate proxy. If I checked the proxy name, it is in a form of a structure and is  activated but the data type in SPROXY is still in inactive mode.
    I could not remember how this error came up but it seems dependent objects for the data type are not generated properly that's why the error is TABL object is not found.
    Do you have other way on how to delete the inactive proxy in ABAP?

  • Smart Album : Inconsistency in the Date Type format used inside Aperture ?

    Hello,
    After using Aperture 2.0 for some days, I tried to create a Smart Album using as creation option for the Album the Date + "is in the Range" option which is leaving two blank fields for filling the two dates which are supposed to be the date limits of the pictures that the user wants to select.
    My OS X is set to the italian language so our date format is the dd/mm/yy type.
    When I tried to insert some dates in our format (dd/mm/yy) the SmartAlbum seemed to not work at all (not selecting any picture, or was coming out with weird results).
    After checking carefully that there was no filter set which could prevent the correct visualization of the pictures I had no explanation for the problem.
    At first I thought that this specific option was buggy as the other Smartalbum creation options (Keywords etc.) seemed to work properly.
    Then I had the idea and I tried to use the english format (mm/dd/yy) for the two dates inside the date range fields and to my surprise everything worked properly.
    So basically it seems that Aperture recognises the dates correctly only giving in input the american date format mm/dd/yy.
    What is not so noice is that there is no check on the date limit correctness so basically it is possible to really mess up with the dates.
    I'm also actually surprised the Aperture doesn't complies with the OS X date type which could seem the logical thing to do or at least is not consistent with the date type management inside the program because for example the pictures Dates are instead correctly listed in the List View of the browser according to the OS X date type (dd/mm/yy).
    I was wondering what is happening in countries where the date separator is not the "/" but the "." like typically used in Germany which would add another variable to the software routine which is interpreting the date input fields.....
    Maybe this could help other non english users who could have been confused like me on the same issue....
    Did you notice the same behaviour ? Am I missing something ?
    Uby

    Smart Albums will search in the Folder/Project that is shown at the top of the search HUD as well as all Folders and Projects "below" in your structure. However, it will not search through any Albums in that structure. Here is an example:
    You images are always stored in Projects (yellow icons) and lets say this is how it looks:
    FolderA/ProjectA (this Project stores: ImageA1, ImageA2)
    FolderA/ProjectB (this Project stores: ImageB1, ImageB2)
    Let us say that you have two Albums like below but there is an image from ProjectB in AlbumA, which looks like this:
    FolderA/ProjectA/AlbumA (this Album has pointers to: ImageA1, ImageA2, ImageB1)
    FolderA/ProjectB/AlbumB (this Album has pointers to: ImageB1, ImageB2)
    If you create a Smart Album below ProjectA it will only show ImageA1 and ImageA2 since it only search ProjectA and not AlbumA.
    This may be the issue you have.
    Are you 100% sure that the Project your Smart Album is pointing at does include the images you are trying to search through. As you see above then it won't find them if they are only in the albums below that project.
    Here are a few rules that I follow in order to avoid getting confused over where my images are located: A) Only include images in albums below a project that are stored in that project. B) Create all my smart albums at top library level and if necessary add extra filters like project name.
    Hope you understand.
    Karsten

  • Inconsistent behavior of 'Map' data type

    Hi,
    I have a transaction  property of data type 'map' with the values { 1000=[string:bar], 3000=[string:restaurant],  2000=[string:cafe]}.
    The function Transaction.MapProperty returns "bar" only on the first execution of the transaction. The other times, it returns "null". When I looked at the property values, I noticed some leading spaces in front of the index values, which I didn't have in the first place. Could that be causing a mismatch?
    Any thoughts?
    Regards,
    V M.

    Maintaining two list variables solved this issue.
    Used the expression Transaction.List2{#find(Transaction.List1,<matching value>)#}
    Conditions: i) All the values in List1 and List2 are unique.
                       ii) The values in List1 and List2 are mapped by the corresponding indices.
    Regards,
    VM.

  • Inconsistent date formats between Rich Client and HTML client

    Hey All,
    Just wondering if anyone has come across an issue with inconsistent date formats from a universe based on an MS SSAS 2012 database connection in 4.x?
    The value of the date is returned as a string from the query but the object data type has been changed to a Date object meaning BusinessObjects should convert the string into a date if the format is correct.
    The problem in this is that the date being returned in Rich Client is in dd/MM/yyyy format whereas on the Web Client is in MM/dd/yyyy.
    From the Web Client business objects will return a date, however, it is a mix of MDY and DMY format.
    i.e. 15th of March will be displayed as 15/03/2014
    whereas 12th of March will be displayed as 03/12/2014
    All our application servers are configured for English (Australian) regional settings meaning all dates should be in DMY format.
    The date in the database is stored as a non-ambiguous yyyy-mm-dd format so it appears the variation is occurring somewhere between the database and BusinessObjects for the Web Client based reports only.
    I have also checked the sqlsrv.prm file based format and changed this to DMY but this has also not made a difference.
    The same universe in 3.1 and MS SSAS 2008 works correctly but not this one.

    Hi
    The date in the database is stored as yyyy-mm-dd format.
    As per user request.... Set the date format @ the Business layer level. so it will refelct same as in the WebI.
    Please find the below link. how to use custom Display option.
    BI4.1 Business Layer Enhancements - Create Display Format

  • Dbms_crypto package for number and date data type

    Hi,
    I am using Oracle 10g 10.2.0.3 on Linux 64 bit
    I am tryiing to use dbms_crypto package for the first time to encypt my tables column
    Following are my table columns
    NAME1 VARCHAR2(2000),
    ID1 NUMBER,
    SCORE number
    This table is already populated
    i want to encrypt Name1 and Score column. Following are the functions i have created for Encryption and decryption.
    --For Encryption
    create or replace function get_enc_val
    p_in in varchar2,
    p_key in raw
    return raw is
    l_enc_val raw (2000);
    l_mod number := dbms_crypto.ENCRYPT_AES128
    + dbms_crypto.CHAIN_CBC
    + dbms_crypto.PAD_PKCS5;
    begin
    l_enc_val := dbms_crypto.encrypt
    UTL_I18N.STRING_TO_RAW
    (p_in, 'AL32UTF8'),
    l_mod,
    p_key
    return l_enc_val;
    end;
    --For Decryption
    create or replace function get_dec_val
    p_in in raw,
    p_key in raw
    return varchar2
    is
    l_ret varchar2 (2000);
    l_dec_val raw (2000);
    l_mod number := dbms_crypto.ENCRYPT_AES128
    + dbms_crypto.CHAIN_CBC
    + dbms_crypto.PAD_PKCS5;
    begin
    l_dec_val := dbms_crypto.decrypt
    p_in,
    l_mod,
    p_key
    l_ret:= UTL_I18N.RAW_TO_CHAR
    (l_dec_val, 'AL32UTF8');
    return l_ret;
    end;
    Key: I have stored a key in other schema and calling it by using function get_key().
    Following is my insert
    INSERT INTO Score_table VALUES
    (get_enc_val('John',get_key()),25,get_enc_val(79,get_key()))
    it is giving me following error
    ORA-00932:Inconsistent Datatypes:Expected number got binary.
    I checked, it is an error due to Score field, which is of number type. So do i need to change type of Score field to varchar or is there any other way to encrypt number and date field.
    If i need to change the type then what will happen to the data already in Table and how do i encrypt data already in table.

    Hi,
    Is there any one who can tell me that, do i need to change my table column data type as the encrypted value will be character.

Maybe you are looking for