Long CLOBS with VB

Hi,
We are using VB Components from ASP to read/write data to CLOBS. The trouble is, we are having problems with text over 4k. We get the following error trying to insert text > 4k using the latest Oracle ODBC driver:
Ora-01704: String Literal too long.
I have looked through other postings related to this, and it seems that a solution may be to prepare/bind the statement. I was hoping that someone may have an example of doing this in VB, the code we use at the moment to insert data looks like this:
' Create the ADO objects
Dim cmd As ADODB.Command
Set cmd = New ADODB.Command
cmd.ActiveConnection = sConnect
cmd.CommandText = strSQL
cmd.CommandType = adCmdText
' Execute the query without returning a recordset
cmd.Execute , , adExecuteNoRecords
Can anyone shed some light, and will we need to change the way that we read the data from the CLOBS also (we currently just use a tyical "Select X from Y" statement and assign the recordset to values like this:
sText = rs("A_CLOB_COL")
Thanks in advance,
R

Hi,
You will find ODP samples at http://otn.oracle.com/sample_code/tech/windows/odpnet/content.html
For any questions pertaining to ODP please use the appropriate discussion forum - ODP.NET
Sujatha.
http://otn.oracle.com/sample_code/content.html

Similar Messages

  • My 2nd gen IPOD touch will no longer sync with itunes.

    My 2nd gen IPOD touch will no longer sync with itunes.  it tells me it cannot read the contents of the ipod then it says the ipod software server cannot be contacted.  Any suggestions?

    Update Server
    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - Try on another computer/network
    - Wait if it is an Apple problem
    Then try restoring again.

  • My ipod nano will no longer sync with itunes since i have purchased an iphone 4s and synced it with itunes.

    My ipod nano will no longer sync with itunes since i purchased an iphone 4s and synced the phone with itunes.  When I plug my ipod into my imac, it does not even read or recognize my ipod.  What do i do?

    Are you using the original cable that came with Nano and not your iPhone's cable?  Have you worked through the troubleshooting in this Apple support document?
    http://support.apple.com/kb/TS1410
    B-rock

  • After purchasing songs at the itunes store, ipod touch will no longer synch with the itunes library at all. Also a lock symbol is now on the ipod touch. How do I fix this

    After purchasing songs at the itunes store,  my ipod touch will no longer synch with the itunes library at all. It won't send the purchases to the device and it won't synch any other music to the device. Also a lock symbol is now displayed at the top of the ipod touch. How do I fix this.
    This was the first purchase I made.

    Are you following these instructions?
    iTunes: Syncing media content to iOS devices and iPod
    Where is the lock icon on the screen?

  • Function keys no longer working with a new keyboard...

    I got a new keyboard and my function keys no longer work with it.  I am used to have them used in the standard format, i.e. F10-F12 control the voume, etc.  I have the "Use all f1,f2, etc." button clicked.  I have also tried restarting my computer.  Any thoughts?

    Try doing a SMC reset and PRAM reset.
    SMC RESET
    Shut down the computer.
    Unplug the computer's power cord and all peripherals.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Attach the computers power cable.
    Press the power button to turn on the computer.
    PRAM RESET
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • Hello, I've updated the iPhone I have got I have a problem I hope you respond to some of the applications no longer work, such as the safari and skype and many applications are no longer working with the ios7.0.4

    Hello, I've updated the iPhone I have got I have a problem I hope you respond to some of the applications no longer work, such as the safari and skype and many applications are no longer working with the ios7.0.4

    Standard troubleshooting...
    1. Try a Restart by pressing the sleep/lock button until you see the slider.  Slide to power off.  Restart by pressing the sleep/lock button until you see the Apple logo.
    2. Try a Reset by pressing the home and sleep buttons until you see the Apple logo. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    3. Remove apps from Recently Used (multi-tasking) list...
    - From any Home Screen, double tap the home button to bring up the Recents List
    - Swipe up on the app preview card to remove it from the list
    - Press the home button when done.
    4. If still a problem restore with your backup.
    5. If still a problem restore as new, i.e. without your backup. See how it runs with nothing synced to it.
    6. If still a problem, it's likely a hardware issue.

  • Bluetooth No Longer Working With Headset

    I have a Motorola bluetooth headset that I've used with my ibook before without a hitch, but when I screwed up OS X and reinstalled it (note: reinstalled the operating system, but didn't format) it no longer works with the headset. I can connect to it just fine, but if I try to use it for anything such as switch my audio output to the headset, the program will freeze - same applies to using the headset for input. The headset isn't broken as it works fine with my phone, but my ibook won't cooperate and they are paired correctly. Is their someway to reinstall the bluetooth drivers or something to that extent? Thanks

    jrnet154 wrote:
    Hi - I'm a student with disabilities and rely heavily on accessibility features that make my life easier. For example, I use a Bluetooth headset to trying answer phone calls and use Siri… I especially use the "Raise to speak" option for accessing Siri
    If you have a headset, why use Raise to speak? Kinda defeats the purpose of the headset.
    Press and hold the button on your headest to call up Siri.

  • Firefox no longer working with Mac OSX 10.4.11

    i'm using Mac OSX 10.4.11 and Firefox 3.6.12. As i understand it any of ur upgrades no longer work with this computer system. ( I tried to upgrade last week and ur site said upgrades no available gfor my platform version. Last week every time i conducted a search (default Google) i was redirected to http://search.creativecommons.org/?q=crossword+puzzles&sourceid=Mozilla-search.what gives? Have I been hijacked? also sites that I use daily are clipped and entire pages are smaller than usual . see www.shockwave.com
    If u are no longer supporting Mac users, please let us know in advance or at least post it on ur site. Can no longer use Firefox...

    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Cmd+Shift+r to reload the page fresh from the server.
    (You also can clear Firefox's cache completely using:
    Firefox > Preferences > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now")
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site:
    Tools > Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help?
    If you open about:crashes, you should get links to online crash reports. You could post some of the crash IDs for review by volunteers here.
    Given the timing, another issue might be some ads or media in the page. There are some add-ons to block such things...

  • HT204416 My Safari is no longer working with many sites.  However Chrome and Firefox work fine.  I would like to re-install Safari in an effort to clear up the problem I can not resolve.

    My Safari is no longer working with many sites.  However Chrome and Firefox work fine.  I would like to re-install Safari in an effort to clear up the problem I can not resolve.

    1. From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    2. Select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data...
    and confirm. Test.
    3. If the above steps don't resolve the problem, please describe it in more detail.

  • Facebook and Slacker no longer working with Firefox. Still work with Explorer. Until a week ago problem did not exist.

    I am for about one week not able to input information on Facebook. Also the Facebook page appears in a huge font. Regarding Slacker I do not see any available online radio stations. Until about a week ago everything worked fine. At present I can work with Internet Explorer, but at present can no longer work with Firefox.
    == URL of affected sites ==
    http://www.facebook.com; http //www.slacker.com
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C)

    Haven't tried facebook... But Slacker doesn't work for me either. Running 4.0b7pre on Ubuntu...
    Going to google it at some point, but slacker.com returns:
    VelocityViewServlet : Error processing the template
    Invocation of method 'init' in class com.rockit.webplayer.beans.BrowserDetect threw exception class java.lang.NumberFormatException : For input string: ""
    java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:468)
    at java.lang.Integer.parseInt(Integer.java:497)
    at com.rockit.webplayer.beans.browser.DetectFirefox.detect(Unknown Source)
    at com.rockit.webplayer.beans.BrowserDetect.doInit(Unknown Source)
    at com.rockit.webplayer.beans.BrowserDetect.init(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
    at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
    at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
    at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
    at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
    at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181)
    at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
    at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
    at org.apache.velocity.Template.merge(Template.java:256)
    at org.apache.velocity.tools.view.servlet.VelocityViewServlet.performMerge(Unknown Source)
    at org.apache.velocity.tools.view.servlet.VelocityViewServlet.mergeTemplate(Unknown Source)
    at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(Unknown Source)
    at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at com.rockit.util.servlet.StatsServletFilterAction.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

  • I used to have an application in my iPhone 4 and 4s that captures business card and creates its content to my contacts. Its no longer working with my i5. Can you recommend me a new apps for this same function

    I used to have an application in my iPhone 4 and 4s that captures business card and creates its content to my contacts. Its no longer working with my i5. Can you recommend me a new apps for this same function

    Try CardMunch it works well for me

  • IPod no longer syncs with computer

    My iPod will no longer sync with my laptop. I keep getting the following message:
    "The iPod "JRT's iPod" cannot be syned. You do not have enough access privledges for this operation."
    Apple told me tht it was a problem with my Norton 360 software. I have since removed the software and the problem still persists.

    Try
    iOS: Device not recognized in iTunes for Windows
    I would start with             
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    New cable and different USB port?
    Runs this and see if the results help with determine the cause

  • After my ipad WIFI upgraded to 5.0.1, I can no longer sync with my PC?

    Recently, the new wireless upgrade worked wonderfully.  My ipad is correctly upgraded as of 11/13/11.  For the life of me, I can't figure out why my ipad will no longer sync with Itunes.  I realize that iCloud enables me to push various backups wirelessly, but I still want to sync with my iTunes in order to add playlists and content that will not reside on the cloud.
    When I say that it will no longer sync with itunes, I mean that I cannot get either an iPad or iPod Touch to show as being connected or synced with any number of apple USB cables conntected to my PC and iTunes.  Hard resets, computer reboots...since my upgrade, I can no longer connect these devices.  Can anyone tell me why I can't sync?
    Thank you in advance

    Minor update:  I have multiple PC's in my office.  This same iPad and other apple devices properly work and sync with their connection to this other computer.  Both computers are running the 64bit iTunes and both have Windows 7 64bit OS running on both machines.  I tried deactivating firewalls and even deleted the iTunes with a fresh installation with no avail.
    Something is keeping my Apple mobile devices (iPods, iPads) from being recognized within iTunes.  However, they all are properly recognized by my PC.

  • Why does my ipod no longer work with my alpine car stereo

    my ipod connects directly to my alpine car stereo and up til now it has worked great. i recently synced my ipod to my computer and i think it updated the software on my ipod and now my ipod no longer works with my alpine stereo. what is up? did apple change something that would make my ipod no longer compatible with my car stereo? if so, what do i do? i have about $1000 invested in my car stereo and ipod specifically for car use. this is a serious issue for me! i just want my ipod to work like it did…
    i just connected my friends ipod and it works fine. he has version 1.1.1 software on his. i have version 2.3 on mine. since my ipod works fine by itself i’m assuming that the incompatibility between my ipod and my alpine is due to the software update.
    here again, what do i do? how can i get an older version of software back on to my ipod?
    ipod v.2.3   Mac OS X (10.4.9)  

    what kind of connection do you have? do you use the ipod 30 pin cable that connects directly to the head unit? it so, maybe you could get help on the alpine site, or a similar site?it could just be a bad connection. you may just have to go oldschool and use rca cables and plug those in...

  • Ipod out no longer works with iOS 6.1

    As the title suggests, after updating my iPhone 5 to iOS 6.1 the iPod out function no longer works with connected devices. With the previous version, I could hook up my Kenwood car stereo using the lightning to 30 pin adapter and the stereo would "Read" my iPhone and begin playing the first track of my music collection. I also had song, artist and playlist search support.
    Now, all I get is a constant "Reading" indicator and can't get past this point.
    Is anyone else having any experiences similar to this and does anyone have any suggestions to fix it?
    Thanks

    Try this.
    Go to Settings>General>Date and Time>Set Automatically>Off.
    Set the date one year ahead. Try to get email.
    If you get an error message, go back to the settings. Correct the date and time (set automatically) then go back and try to get email again.

Maybe you are looking for

  • Reg:SAP_REORG_UPDATERECORDS job getting cancelled

    Hi Experts, I have a standard background job,SAP_REORG_UPDATERECORDS getting cancelled regularly in one of our production boxes. It runs only for a few seconds and then gets cancelled. The job log is..... "Job started Step 001 started (program RSM130

  • Can i transfer EVERYTHING from my IPod to a New IPhone 4s?

    I have a IPod Touch and i'm getting a IPhone 4s and i wanted to know if i can everything on my ipod onto my iphone 4s ?

  • Issue While Executing the Internal Order in KO8G

    Hi, Whle executing the internal order in KO8G,I am getting the below error. Complete Allocation Structure A1   and Message no. KD503 I have reversed/cancelled all the relevent Material documents related to that PO,even after i am getting the same err

  • Downloading itunes

    I'm having trouble downloading itunes onto my computer. I go to apple.com and click the download button and a security warning pops up asking if i want to run the file, and i click run. So it downloads with no problems and then i was getting a messag

  • Problem in webview

    Hi, I'm a novice in Cocoa Obj-C progamming. I'm working on a simple tabbed web browser for my college project. According to the Apple documentation, "WebKit Objective-C Programming Guide", every webview contains its own backForward list by default, u