Inserting strings over 2000 in length

Hi,
I'm trying to populate a database table which contains a long and
I've been running into two Oracle errors:
ORA-01462: cannot insert string literals longer than 2000
characters
and
ORA-01489: result of string concatenation is too long
Can someone point me to documentation or a solution of how you
can get a 29k string into the database? I have code regarding how
to use LOBs, but I'm unfamiliar with any stored procedures which
will allow you to append to a long column with new content. I
need to use long for the project I am working on.
Thanks in advance for your help!
Jill
null

Hi Ralf,
If you read the documentation on
http://java.sun.com/products/jdbc/index.html you will
find a statement saying that the JdbcOdbcDriver is
only for test and experimental use.Yes, but my and other's experiences with the JDBC-ODBC bridge itself are very well.
Since it is only a bridge over the specific vendor's ODBC driver, you are limited to the capabilities of that.
But the bridge is not to blame for this.
For MS products you may reach efforts by updating to an actual MDAC version.
Nethertheless, with MS ODBC there are some problems.
Search the driver database (a link is on the above web
page) for another (commercial) driver. I recommend the
type 4 driver from i-net.Ok.
Have you tried out that error David reported with the i-net driver?
I use JDBC-ODBC with MS SQLServer 2000, actual MDAC, and I get that error with PreparedStatement.
But it's all ok with a normal statement.
So if you could test them both with the i-net driver, we would see if it's again the MS ODBC driver.
Regards,
Ralf SchumacherI think, I'm not the first you asks this:
you are not the quick one we saw in Suzuka on Sunday, are you?

Similar Messages

  • I used to have over 2000 songs in my itunes library, now there are only a few and I cannot find the others.

    I used to have over 2000 songs in my itunes library, now there are only a few and I cannot find the others.

    See this post.
    tt2

  • I have over 2000 photos on my iPad2. I have backed them up to my PC. How can I delete most of these from my iPad without deleting them one at a time?

    I have over 2000 photos on my iPad2. I have backed them up to my PC. How can I delete most of these from my iPad without deleting them one at a time?

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • I have ADE on 4 devices and currently over 2000 books which I want on all of them. How do I sync everything so I don't spend my life manually doing this?

    I need help. I have ADE on 4 devices and currently over 2000 books. How do I sync all the devices so I don't spend all my time doing this manually. I have had ADE before, on my Palm, but it crashed and ADE didn't have a mobile app at the time, so I gave up on it.  I discovered that Amazon had removed books from my Kindle library because they were, they say, no longer available, but I bought them, they were mine and I consider their removal as theft. I decided to get a Kobo and discovered that it's primary format is ePUB, si I re-activated my Digital Editions. But, in order for me to keep using it and having my ebooks handy when I want to read them, no matter where I am or what device I have available, I need to be able to put things on one device and have them sync to all the others.  How do I do this? Does anyone know? All help and suggestions gratefully recieved.
    Many thanks.

    Make a backup of your laptops hard drive to an external hard drive or a thumb drive.
    Videos take up a lot of memory.  One second of videos is like dozens of pictures.  How much time, in total minutes & seconds, do all 22 of these videos add up to?

  • I am installing itunes to a laptop and have not sync device to this lap. It is saying that it must first restore device. The problem is I have over 2000 pictures and don't want to lose them. Now my phone is in restore mode and I don't know what to do. I

    I am installing itunes to a laptop and have not sync device to this lap. It is saying that it must first restore device. The problem is I have over 2000 pictures and don't want to lose them. Now my phone is in restore mode and I don't know what to do. I don't want to proceed and loose these very important photos of family. What do I do to get it out of restore mode? My phone will not allow me to do anything to it at this point. I have the itunes downloaded on the laptop now. When I push the button for the phone it just shows Itunes and plug. I can't even call or open phone up.

    Unfortunately... Once the Device is asking to be Restored with iTunes... it is too late to save anything...
    See Here  >  http://support.apple.com/kb/HT1808
    However... Once you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766
    Jessica Sanchez wrote:
    I am installing itunes to a laptop and have not sync device to this lap. ...
    Using a computer, other than the one you have regularily been Syncing and Backing up to, was the begining of your issue.

  • IOS 7, when I plug my phone to my desktop, window xp, I can only see the photos that I took this morning, over 2000 photos in my phone can not be seen right now, can anyone help?

    I have just update my iPhone 5 to iOS 7, everythings gone smooth, however, when I plug my phone to my desktop, window xp, I can only see the photos that I took this morning, over 2000 photos in my phone can not be seen right now, can anyone help?

    Try to connect in recovery mode to restore, without using the latest backup, explained here:
    iOS: Unable to update or restore

  • I can't transfer my photos to my PC -it says that there are no photos available to download (I have over 2000 photos on my iphone)

    I can't transfer my photos to my PC -it says that there are no photos available to download (I have over 2000 photos on my iphone).
    I have followed all the Apple steps in order to trasnfer to your PC but my computer is not rexognizing that there are any photos on my phone.
    Pleas help -I have no memoy, I can't even download apps

    Try following these directions:
    Connect the iOS device to the computer.
    Choose Start > Computer.
    Double-click the logo for the device to browse its camera folders.
    Navigate to [iOS device]\Internal Storage\DCIM\100APPLE.
    Manually copy the content in this folder to your computer, wherever you would like to store it.
    Disconnect your device. Open the Camera Roll and manually delete all the pictures from the iPhone Camera Roll that you just imported.
    If you still need help, please don't hesitate to ask.

  • HT1923 I am using windows 7 and have upgraded itunes to 11. Now when I open my music library in itunes and click on a song it says "original file could not be found" Over 2000 songs come up this way and locate does not seem to work. Before the upgrade all

    With Windows 7 I upgraded itunes to 11. Now in my itunes library, when I click on a song "original file could not be found" comes up. This happens with over 2000 songs, but it seems to be ones I recorded from cd's. Locate does not seem to work. Has anyone else had this problem?

    Highlight a song that is supposedly missing, press CTRL+I to Get Info, say no when asked to locate the file, then look at the summary tab. Where does iTunes "think" the file should be? Where is it really? You may need to give a configuration file a minor tweak.
    tt2

  • Inserting strings in a database

    Hello all!
    I am trying to insert string values in a database with this metode.
        public void insertData(){
       try{
    String url = "jdbc:odbc":"+database;
    Connection connection = DriverManager.getConnection(url, user, password);
    Statement status = connection.createStatement();
    status.executeUpdate("INSERT INTO radiograhy (Title, Red, Green, Blue,"
    + "Hue,Saturation,Value,Color,Path,IdRadiography,Description) VALUES "
    +"("+Title+","+Red+","+ Green+","+ Blue +","
    + Hue+","+Saturation+","+Value+","+Color+","+Path+","
    +IdRadiography+","+Description+")");
    }catch(SQLException e){
    e.printStackTrace();
    System.out.println(e);
    but the metode throws me an exception :
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.

    This has actually nothing to do with JDBC, but with basic SQL knowledge.
    Print the complete query using System.out.println and try to find out what's wrong with it. Play with it, execute it right on the DB, etcetera. If you don't understand it, then don't bother to read some SQL tutorials how to write clean SQL.
    Once you understand SQL, I would also recommend you to use PreparedStatement instead.

  • Inserting String data to BLOB column

    Hi All
    I want to insert String data into BLOB column using DBAdapter - through database procedure.
    anybody can help?
    Regards
    Albin Issac

    I have used utl_raw.cast_to_raw('this is only a test')).But for bigger string I get the error as "string literal too long" do we have any similar function for longer string.
    Thanks,
    -R

  • Inserting text over an image in dreamweaver cc

    I am trying to insert text over an image in fluid grid layout but all i can see is the text.  I have seen the previous query relating to this but it does not help.  Help on this would be great.

    Layers or APDivs won't work in FluidGrid Layouts.  You'll need to drop the image into your container's background with CSS.   Or use Photoshop to apply text directly to your graphic.
    Nancy O.

  • I took my computer somewhere to get it fixed, when I got it all of my purchased music, that means over 2000 of them were missing...what do I do now??

    I just bought a Toshiba, Satellite L55t-A5290 and when I took it to have it fixed, it came back minus the COMPLETE iTunes, I mean it was all missing!  My complete music library which I'd had for over 10 years!!!   To this point I thought it was simple, all I had to do was go to iTunes and it was all going to come back, which I'd done for years before!  Not so fast, it wasn't working, all I got in return for downloading the iTunes was completely 0 except for blank pages.  I have filled it back up with 253 out of over 2000+ songs, from here and there.
    Sincerely,
    Jane

    Are the songs no longer listed in the Music part of your iTunes library, or are they still listed there but the actual music files are no longer stored on your computer (and you've checked to see if there are still on your computer, but no longer listed in iTunes, or not where iTunes is expecting them to be) ?
    In iTunes go into Edit > Preferences and on the Store tab tick the 'show iTunes in the Cloud purchases' - this screenshot is from a Mac but it should be similar on a PC :
    You should see in the Music part of your library what you can redownload - the songs will have cloud icons against them. If the old versions of the songs are still listed in the Music part of your library but iTunes can't locate the music files, then they won't get the cloud icon, you will need to delete these 'missing' entries for them to potentially show with the cloud icon.
    You won't be able to redownload music if you've changed countries since buying it, or if the rights-holder has removed it from the store. Also check to see if you have any of your purchases hidden : iTunes Store: Hiding and unhiding purchases

  • Problem in Inserting string in mysql databse

    Hi all,
    I am trying to insert string in mysql using java query.As I have taken field varchar,that should be in single quotes,whereas string is having double quotes...so as I am trying to insert data that gives null value all the time.
    I did like:
    String name=jTextFieldname.getText();
    String sql="insert into record_master values (name,orderno,email,dob,address,mobile)";Any pointers are appreciable.
    Regards,
    Palak

    Oh I got the sollution...Tat was something like:
    String sql = "INSERT INTO record_master (name, orderno,email,dob,address,mobile,imeino) " +
    "VALUES('" + name + "', '" + orderno + "','" + email + "','" + dob +"','" + address +"','" + mobile + "','" + imei + "')";
    Regards,
    Palak

  • I am using final cut express. It seems that any clip over a certain length, say 5 min, does not fully transfer! All shorter clips are perfectly fine. Is there some reason why longer clips are not fully transferred? (a half blue circle shows up on the tran

    I am using final cut express 4. It seems that any clip over a certain length, say 5 min, does not fully transfer! All shorter clips are perfectly fine. Is there some reason why longer clips are not fully transferred? (a half blue circle shows up on the transfer list, indicating that the clip was not fully transferred. When I check in the capture scratch folder, sure enough the whole clip is not there!
    Is there some glitch in final cut express that only allows short clips to be transferred in full?

    Thanks for the reply. I'll try to answer all the questions (I am a relative novice). Your help is appreciated.
    By the way, the other reply I received suggested the following:
    In Final Cut Express>System Settings>Scratch Discs make sure the Limit Capture/Export File Segement Size To: is not checked.
    I did this and it was already unchecked. So this is not the answer...
    The strange thing is, I have been logging and transferring with FCE for 2 yrs without any problems at all with shorter clips, but have come up against the problem with long clips (over 5 or so min)  the whole time. I got around it by simply making sure I stopped recording after less than 5 min while shooting footage. OR if I accidentally got a long clip, I import into imovie and then import into FCE. Not very streamline and I worry about compressions altering quality!
    I am now trying to import a 20 min and a 17 min clip and it only transfers around 3 minutes of each, I have re-tried several times and it happens repeatedly. The blue circle in the transfer list shows up as a half blue circle instead of full. Clip cuts off after 3 or so minutes.
    ANSWERS
    how you are ingesting the files
    From external flash drive connected directly to mac using FCE.
    the format of the source footage
    digital via ext flash memory. Frame size :1929X1080 / 25fps
    what camera shot the footage
    SONY HXR NX5
    how you are connecting to the computer
    from flash memory directly via usb
    what version of FCE you are using
    4
    what OS your computer is running
    10.6.8
    what model Mac
    macbook Pro intel Core i7
    what drive you are using for Capture Scratch
    3TB external drive (plenty of room left)

  • When i insert string text in hebrew i see ?????????

    hi
    when i insert string text in hebrew i see ????????? how to fix it ?
    i work on:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    Oracle Developer ver. 2.1.1.64
    thanks

    i try this, but still same problem :(
    my Settings:
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     IW8MSWIN1255
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_RDBMS_VERSION     11.2.0.1.0

Maybe you are looking for