Store binary string

How can I save the following encrypted password to Oracle
database? What datatype should the field be defined? (varchar2?
long raw? etc.) I did try to insert it into a field of varchar2
type and got the error 'Input truncated to 87 character'.
The binary string is:
QqV”™&Q/pmW5/S†j$O+(u!Q6w–#/oy”N_F.0,=bŒ4Xrˆ& }]5%+
I've been looking up Oracle books and found nothing related to
this. Please give me some helps if you know.
Thanks.

I'd like to thank every one for the very helpful inputs. I just
found down that varchar2 type will work just fine. The problem
that I had earlier is SQLPlus - it does not recognize non-
printable characters (it's a 100% text editor!). However, I was
able to insert the string through ODBC. Again, thank you.

Similar Messages

  • Converting a binary string into a JPEG image in Crystal Reports 2008

    Hi Gang
    Iu2019m having problems converting a binary string into an image in Crystal Reports 2008
    I have JPEG images stored in ECC.  ECC stores the data in binary format.
    Iu2019m using the ECC function module SKWF_PHIO_CONTENT_ACCESS_GET to retrieve the data.  This function module has an export table, FILE_CONTENT_BINARY, which returns several lines of data.  Each line contains a maximum of 1,024 characters.
    When I drop the T_ FILE_CONTENT_BINARY.LINE field into my Crystal Report detail section, I wind up with a report that displays all the lines in FILE_CONTENT_BINARY table.  (in my case, 19 lines are displayed.)
    I created a formula to collect all the data into a single string.
    whileprintingrecords;
    stringvar data:= data & {SKWF_PHIO_CONTENT_ACCESS_GET.T_FILE_CONTENT_BINARY.LINE}
    I added the formula to the detail section and itu2019s doing a great job collecting the data.
    I then inserted a picture object in the report footer, opened the format editor, navigated to the u201Cpictureu201D tab, and inserted a formula for the u201Cgraphics locationu201D.
    whileprintingrecords;
    stringvar data:=data;
    data
    My clever idea turned out to be a disappointment . . . . my picture object is blank.
    Does anyone have a solution for converting a binary string into a JPEG image?

    Save the JPEG in a format CR supports. Refer to the help file for the file types.

  • How can I convert a U32 array into binary string?

    Hi
    I would like to find an efficient way to convert an array of 8192 U32 into a single binary string!!!
    the solution below  last 550 ms on an RT target to convert 8192 U32.
    The same code running on Labview (not RT) last 100ms. I don't understand why there is such a difference.
    I've tryed to replace the inner loop and convert by a format string whith U32 on entry and %032b as parameter but it lasted same time.
    Thanks a lot

    Your picture of your code didn't come through. You can't link to a picture that's on your computer, as a server on the internet cannot access your computer to display the picture for others to see. You have to upload the picture as an attachment. Then, if you want to actually display the picture in the message you have to edit your post, insert a picture, and when it asks for the URL you enter the URL of the picture. You can get the URL when viewing the message, as the link is within the message itself.
    As for your question, can you just use the TypeCast function?

  • Conversion of Decimal to Binary String

    Hello Labview People:
    I'm rather new to Labview, so this may be a simple-minded question . . .
    I would like to take a numeric control and have the decimal input
    converted to a binary string of 8 bits. So, for example, if I were to
    put in the number '127', I would get out (on an indicator) the string:
    01111111
    The number '128' would show on the indicator as:
    10000000
    It seems to me that this should be simple, but somehow I cannot figure
    out how to do it. Must an array be built bit by bit to accomplish this?
    (I'm afraid I don't yet know how to build arrays.)
    Thanks in advance for any help you provide!
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    Or, you can go under the numeric function, and look for conversions, get
    decimal to byte array conversion.
    Then what you need to do is to get an array selection vi, and index to zero.
    I don't remember the exact name of the VI's because I don't have LabView
    here with me.
    Perhaps this complicates things
    Steven
    "Timo Miettunen" wrote in message
    news:[email protected]..
    > use format into string VI from string palette
    >
    > format string should be "%08b" for 8 bits, "%016b" for 16 bits etc.
    >
    > timo
    >
    > Ananda Dave wrote:
    > >
    > > Hello Labview People:
    > >
    > > I'm rather new to Labview, so this may be a simple-minded question . . .
    > >
    > > I would like to take a numeric control and have the decimal input
    > >
    converted to a binary string of 8 bits. So, for example, if I were to
    > > put in the number '127', I would get out (on an indicator) the string:
    > >
    > > 01111111
    > >
    > > The number '128' would show on the indicator as:
    > >
    > > 10000000
    > >
    > > It seems to me that this should be simple, but somehow I cannot figure
    > > out how to do it. Must an array be built bit by bit to accomplish this?
    > > (I'm afraid I don't yet know how to build arrays.)
    > >
    > > Thanks in advance for any help you provide!
    > >
    > > Sent via Deja.com http://www.deja.com/
    > > Before you buy.
    >
    > --
    > -------------------------------------------------
    > Timo Miettunen
    >
    > Fincitec Oy Production Department
    > e-mail: [email protected]
    > Address:
    > Lumikontie 2 Tel: +358-16-2151245
    > PO BOX 11 Fax: +358-16-221561
    > FIN-94600 KEMI Finland
    > -------------------------------------------------

  • Converting a Hexadecimal String to a Binary String

    Hello NG,
    I would like to convert an 8 Bit Hexadecimal String (example C0034000)
    to it´s equivalent in binary (in this case---> 1100 0000 0000 0011...
    and so on), I didn´t find any possible way to do this. I´am not
    talking about the simple representation on the front pannel. Some
    Postings say that this ist possible with the "Format Value" Function
    adding an "%b" to the entring, but in my case it does not function.
    Could someone help me, thanks in advance!

    > I would like to convert an 8 Bit Hexadecimal String (example C0034000)
    > to it´s equivalent in binary (in this case---> 1100 0000 0000 0011...
    > and so on), I didn´t find any possible way to do this. I´am not
    > talking about the simple representation on the front pannel. Some
    > Postings say that this ist possible with the "Format Value" Function
    > adding an "%b" to the entring, but in my case it does not function.
    The task here is to convert a string to a different string. The easiest
    way to do this is to convert the string to a numer, then format the
    number as a binary string.
    On the string palette the Scan from String using %x can be used to
    change a hex string into a numeric integer. The Format to String with
    %b and other nodes can take a numeric i
    nteger and return a string of
    binary characters. These two nodes wired together with the correct
    constants should do what you want.
    Greg McKaskle

  • Converting a binary string to a number...

    Hi guys,
    I'm trying to convert a binary string into a decimal integer. I'm not sure if LabVIEW has a VI that does that. I haven't found one yet. Basically, say I have the string '0101'. I want to convert that to the value '5'. Or say I'm using hex, I want '10101111' to be converted to 'AF'. So that's my dilemma. I'm hoping I'm not going to have to make my own VI. Thanks a lot!
    -Mike

    LabVIEW has exactly what you want even if it can be hard to find it.
    To convert a binary text string like "0101" to a decimal value can easily be done using the Scan Value function found under the String/Number conversion section. If you provide the format %b to it (not mentioned in the manual) you will get the decimal value of your binary string.
    Also, on your front panel you can change the format of your numerical indicators by right clicking on it and selecting Format & Precision. If you have a numerical indicator you can set it do display the numbers in e.g. hexadecimal form.
    However, if you want to convert a number to a hexadecimal text string you can use the Number to Hexadecimal String function also found under the String/Number conversion section.
    I
    attached a simple example, Conversions.vi, that shows how it works. I hope this helps. /Mikael
    Attachments:
    conversions.vi ‏14 KB

  • How to store multiline string literal in to java bean shell variable

    Hello Experts
    How to store multiline string literals in java bean shell like we use triple quote for jython variable
    Using Jython
    str=""" helllo
    welcome to my world"""
    above syntax is working but not for java bean shell like below
    String str=""" hello
    welcome to my world""";
    So how to do this in java bean shell. I came to this scenario while storing logs to a variable. I believe there is no solution for storing multiline strings to java bean shell variable.
    <@
    String str="<%=odiRef.getPrevStepLog("MESSAGE")%>";
    @>
    Any suggestion will be highly appreciated.
    Thank You.

    maddythehunk wrote:
    Im trying this but its not working...
    while(billingQueryParamsItr.hasNext()) {
         billingQueryParam = (BillingQueryParam) billingQueryParamsItr.next();
         System.out.println("****** Param Name-->"+billingQueryParam.getParamName());
         String[0] name = billingQueryParam.getParamName(); // giving error ; expected
         //billingItemActionForm.setParamName(billingQueryParam.getParamName());
    Declare the array outside of the loop. Fill the array as you iterate. And stop putting your error messages inside of comments in the code.

  • Mail Excel as attachment with input as binary string

    Hi Experts ,
    I want to design BAPI which will have one string as import parameter.
    I will get binary data in this string.
    Now i want to mail this binary data string as excel attachment.
    Anyody knows how to convert this binary string to internal table and then send this as attachment?
    Thanks & Regards ,
    JIgar.

    check these sample programs
    BCS_EXAMPLE*

  • What to use to store binary data in Java

    Hello,
    I have to read data stored as varbinary in the SQL database. What kind of class, data type I can use to store binary data from database?
    I need to store binary data finally in ByteBuffer.
    Please, help.
    Thank you!

    Unfortunately, when I am doing following I am getting an exception:
    ByteBuffer lUTF8BIN=ByteBuffer.allocate(6)
    byte [] lTempByteArray lTempByteArray = Recordset.getBytes(VarBinColumn);
    if (lUTF8BIN.remaining()>=lTempByteArray.length)
    lUTF8BIN.put(lTempByteArray);
    Exception is java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Unsupported data conversion

  • How to convert binary string to ascii

    Hi,
    See i have a string like this,
    String str = "10011100110001011001110011000101";
    Now i want to find exact ascii value of the binary string.
    Thanks in advance.

    First want to convert these bits to corresponding
    characters and then have to find ascii of the same.... corresponding to what? I think converting these "bits" to the corresponding chars is the whole story. But what about the original format?
    Guessing mode on ... does this help?
    String input = "...";
    StringBuffer result = new StringBuffer();
    for (int i = 0;i < input.length();i += 8) {
      result.append((char) Integer.parseInt(input.substring(i, i + 8), 2));
    System.out.println(result);

  • Binary String to numerical binary array

    Hello,
    I initially created binary strings from numerical numbers using the
    "%03b" command on the 'Format into String' block. I then concatenated
    the various strings into one string that is now composed of 16bits.
    However, I need to convert this string that I created back to a binary
    numerical array for further processing.
    Can you help me with this?
    Thanks,
    Rajesh.

    triniboy wrote:
    I initially created binary strings from numerical numbers using the
    "%03b" command on the 'Format into String' block. I then concatenated
    the various strings into one string that is now composed of 16bits.
    In general, you are out of luck, because the number of characters for each value when formatted to binary with "%03b", will be variable. Any number greater than 7 will use more than 3 digits. (since you use "03" instead of 3", smaller numbers will have three digits with possible leading zeroes for padding).
    After you concatenated all the formatted strings, you loose all boundary information unless ALL numbers are less than 8, but in this case they result would be a multiple of 3 and would not add up to 16 bits, right?
    My best suggestion would be to NOT create a binary formatted string in this way, because it is a one-way operation and cannot be undone because you loose information in the process.
    Back to square one!
    Maybe we can backup a few steps and you can explain to us what you really want to do with your original numbers. Why would you even consider formatting them this way? Do you need to save them to a file for later retrieval, for example?
    LabVIEW Champion . Do more with less code and in less time .

  • Conversion of binary string into headecimal

    Ho will i convert binary string into hexadecimal fromat

    HI,
    Thanks but the above module is not present my system.
    I have number which needs to be converted into binary first and then into Hex.
    I have written it code for conversion of decimal number into Binary.But i am not able to convert it into Hex.
    My rough code is ....
    types : begin of t_temp,
            r1 type i,
            end of t_temp.
    data : ty_temp type standard table of t_temp ,
           wa_temp type t_temp.
    DATA : num TYPE i,
           temp1 TYPE string,
           temp2 TYPE string,
           temp3 TYPE string,
           temp4 TYPE x.
    temp1 = 0.
    temp2 = ''.
    num = 64.
    while num ne 1.
      temp1 = num MOD 2.
      num = num / 2.
      If temp1 = 1.
        num = num - 1.
      endif.
      concatenate temp1 temp2 into temp2 .
    endwhile.
      temp1 = 1.
      concatenate temp1 temp2 into temp2 .
      condense temp2 no-gaps .
      WRITE : temp2 .

  • Activation - Error:Cannot store binary and a few other NWDI questions.

    Hi all!
    I'm working on the Internet Sales Application (crm/b2b) in CRM 6.0. The work i do is an upgrade from CRM 4 to CRM 6, so I'm new to NWDI.
    I'm following the "ISA50DevExtGuideConcepts21.pdf" (since I haven't found a document for version 6), and have managed to add java extensions and librares successfully. I now work on the web-project and have started an activity to merge changes to stylesheets, and also added own mimes like stylesheets and images (.jpg, .gif). The files where added to the project folder (webContent in crm/isa/web/b2b) and then located and added to DTR through a refresh in NWDS. When I try to activate this activity I get the post-proccesing error in the request log below. This might have been caused by an image file renamed to .bak, although its recoginzed as an image in NWDS.
    Questions:
    1. Any idea what goes wrong? How should I solve this?
    2. Can I check out or remove the activity to correct the problem? How?
    3. I have a few Activities,already activated on the development server that I would like to get rid of. How do I do that?
    4. I have a few Activities that aren't properly named. Is it possible to change the name after activation?
    /Anders
    CBS Request Log
        ===== Processing =====  started at 2009-04-08 15:53:19.110 GMT
            BUILD DCs
                'sap.com/crm/isa/web/b2b' in variant 'default'
                        'war' PP has been changed. Dependent DCs will be re-built.
                    The build was SUCCESSFUL. Archives have been created.
        ===== Processing =====  finished at 2009-04-08 15:54:15.958 GMT and took 56 s 848 ms
        ===== Post-Processing =====
        Waiting for access: 10 ms
        ===== Post-Processing =====  started at 2009-04-08 15:54:15.968 GMT
            Check whether build was successful for all required variants...
                "sap.com/crm/isa/web/b2b" in variant "default"   OK
            STORE activation build results... started at 2009-04-08 15:54:15.972 GMT
                Update DC metadata... started at 2009-04-08 15:54:15.972 GMT
                    'sap.com/crm/isa/web/b2b' DC is CHANGED
                Update DC metadata... finished at 2009-04-08 15:54:16.276 GMT and took 304 ms
                STORE build results... started at 2009-04-08 15:54:16.276 GMT
                ===== Post-Processing =====  finished at 2009-04-08 15:54:17.849 GMT and took 1 s 881 ms
                Change request state from PROCESSING to FAILED
                Error! The following problem(s) occurred  during request processing:
                Error! The following error occurred during request processing:Database Error:Cannot store binary.
         Original Cause: DB2 SQL Error: SQLCODE=-968, SQLSTATE=57011, SQLERRMC=null, DRIVER=3.50.153
            REQUEST PROCESSING finished at 2009-04-08 15:54:17.855 GMT and took 1 m 6 s 42 ms

    I have done some more testing regarding the case with "Database Error:Cannot store binary."
    Unfortunately, the behaviour doesn't seem to be consitent or related to particular files. I had a successful activation with 79 of the files in one folder, but could'n add one single file in a new activity. When i removed one of the 79 files and added another file, one of those not possible to add before, it was successful.
    After this I tried to remove all 79 files again i one activity, and the add the original 79 files in another. The remove was successful while the adding was unsuccessful. All with the same error message in Request log.
    Does anybody have an idea of what is happening here? I don't have a clue.
    /Anders

  • Convert signal to binary string

    Hi all : I get waveform signal (square signal) from scope .. and  I want to convert this signal  to binary string …   Can I do that in labview 8.5
    thanks

    elyan a écrit:
    Hi all : I get waveform signal (square signal) from scope .. and  I want to convert this signal  to binary string …  
    Hello,
    Is that what you want to do ?
    http://img514.imageshack.us/my.php?image=scopetost​ringls7.jpg
    sage Edité par tinnitus le 12-31-2008 05:35 AM
    Message Edité par tinnitus le 12-31-2008 05:36 AM
    CLAD / Labview 2011, Win Xp
    Mission d'une semaine- à plusieurs mois laissez moi un MP...
    RP et Midi-pyrénées .Km+++ si possibilité de télétravail
    Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
    Don't forget to valid a good answer / pensez à valider une réponse correcte

  • Can you store a String arrray in a String

    I would like to know how to store a String array in a string basically i want to concatenate the array of strings into a string how can you do it please help its urgent!.

    If you're doing String concatenation, your best bet is to use StringBuffer. StringBuffer allows appending of strings to each other and is faster that using String objects for concatenation.

Maybe you are looking for

  • Discoverer viewer displaying all the reports instead of one report

    Hi Team, I have created one menu and attached 4 reports to that.after that that menu is attached to the main menu.This menu is attached to the one xyz responsibility. Now i am facing the problem is : After logging to the responsibility,i clicked on i

  • Integration between PA & OM

    hi everybody..... i have just made my structure using the OM plan, and i entered some data in it like cost center, address, work schedule, area, subarea and many other things. all i want is to read these data while i'm hiring someone or while i'm sho

  • Export movie from Premiere for import into Encore

    I created an animation in 3D Studio MAX and rendered it to sequential stills for compositing in Premiere Pro 1.5. I want to export it out so it's ready for inport into Encore 2.0. I understand that Encore compresses it to MPEG-2 format while it is bu

  • Loading 10%...20%, etc

    All: How do I get the graphic to appear that says "loading 10%...20%, etc.) when the viewer is awaiting a swf file to load on the web? Thanks in advance......

  • Protect workbook

    Hi, I want to protect only the resultarea in the workbook. how do I do that. Thanks Kumar