Long data: Use of SQL_LEN_DATA_AT_EXEC(0) and SQL_DATA_AT_EXEC

Hello,
What is the use of SQL_LEN_DATA_AT_EXEC(0) and what does it mean ?
I know that when StrLen_or_IndPtr buffer
pointer of SQLBindParameter is set to SQL_LEN_DATA_AT_EXEC  or SQL_DATA_AT_EXEC
it means that the data for the parameter will be sent with SQLPutData.  Also SQL_LEN_DATA_AT_EXEC(length)
is used when sending long data to a data source that needs to know how many bytes of long data will be sent so that it can preallocate space
But what should be the expected  behavior when we set StrLen_or_IndPtr buffer
to:
     1)  SQL_LEN_DATA_AT_EXEC(0)
or  2)  SQL_DATA_AT_EXEC
Thanks
Mukesh

Hi Elvis,
Thanks for reply!
But my question is what should be the expected  behavior when we set StrLen_or_IndPtr buffer
to:
     1)  SQL_LEN_DATA_AT_EXEC(0)
or  2)  SQL_DATA_AT_EXEC
I think it should insert all data using SQLPutaData limited by the length of columns size.
MSDN is silent in the case of SQL_LEN_DATA_AT_EXEC(0)
Thanks,
Mukesh

Similar Messages

  • How do you remove back up data from the memory storage? my storage data states that i have over 80gb of data used for back ups and i dont know why as i use a external hard drive as a time machine .now my 250gb flash storage is nearly full

    how do you remove back up data from the memory storage? my storage data states that i have over 80gb of data used for back ups and i dont know why as i use a external hard drive as a time machine .now my 250gb flash storage is nearly full.. HELP!

    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
    See this support article for some simple ways to free up storage space.

  • Issue Migrating Character Data Using a Full Export and Import

    Hi There;
    I have a database in my local machine that doesn't support Turkish characters. My NLS_CHARACTERSET is WE8ISO8859P1, It must be changed to WE8ISO8859P9 , since it supports full Turkish characters. I would like to migrate character data using a full export and import and my strategy is as follows:
    1- create a full export to a location in network,
    2- create a new database in local machine that it's NLS_CHARACTERSET is WE8ISO8859P9 (I would like to change NLS_LANGUAGE and NLS_TERRITORY by the way)
    3- and implement full import to newly created database.
    I 've implemented first step, but I couldn't implement the second step. I 've created the second step by using toad editor by clicking Create -> New Database but I can not connect the new database. I must connect new database in order to perform full import. How can I do this?
    Thanks in advance.
    Technical Details
    NLS_LANGUAGE.....................AMERICAN
    NLS_TERRITORY.....................AMERICA
    NLS_CURRENCY.....................$
    NLS_ISO_CURRENCY..............AMERICA
    NLS_NUMERIC_CHARACTERS    .,
    NLS_CHARACTERSET.............WE8ISO8859P1
    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............10.2.0.1.0

    First, if your applications run on Windows, do not use WE8ISO8859P9. Use TR8MSWIN1254.
    Second, if you create a new database, the database is not necessarily immediately accessible to outer world. I do not know Toad and I have no idea if it performs all necessary steps required for the new database to be visible.  For example, in the Toad itself, I assume you should create a new connection that references the new SID of the newly created database and use this new connection to connect. However, connections without a connection string use the ORACLE_SID setting in Registry to tell connecting applications which instance (database) to use.  To change the database accessed with an empty connection string you need to modify Registry (unless Toad has an option to do this for you). If you want to connect without changing Registry, you need a connect string. This requires setting up Oracle Listener to serve the new database (unless default configuration is used and the database registers itself with the default listener). It also requires changing tnsnames.ora file to create an alias for the new database. Net Manager and/or Net Configuration Assistant can help you with this.
    I wonder if Database Configuration Assistant would not be a better tool to create new Oracle databases.
    Thanks,
    Sergiusz

  • Pull large amounts of data using odata, client API and so takes a long time in project server 2013

    We are trying to pull large amounts of data in project server 2013 using both client API and odata calls, but it seem to take a long time. How is this done
    In project server 2010 we did this creating SQL views in both the reporting database and for list creating a view in the content database. Our IT dept is saying we can't do this anymore. How does a view in Project database or content database create issues?
    As long as we don't add a field in the table. So how's one to do this with creating a view?

    Hello,
    If you are using Project Server 2013 on premise I would recommend using T-SQL against the dbo. schema in the Project Web Database for your reports, this will be far quicker that the APIs. You can create custom objects in the dbo. schema, see the link below:
    https://msdn.microsoft.com/en-us/library/office/ee767687.aspx#pj15_Architecture_DAL
    It is not supported to query the SharePoint content database directly with T-SQL or add any custom objects to the content database.
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS |
    MVP | Downloads

  • Fetching the sales order data using both system status and user status

    Hi,
    Could any one tell me how to fetch sales orders using both system status and user status.
    My requirement is to fetch sales order data in a report where the user enters the system status and user status in the selection screen fields.
    For example i need sales orders where the system status is I1002 i.e. OPEN and user status is E0002 (status profile CMSCON0) that is In Process
    Early replies are appreciated.
    Thanks
    Tanveer

    Hi,
    The system status and user status are stored in CRM_JCDS & CRM_JEST tables you can get the all the order GUID on particular status further pass the order GUID in table CRMD_ORDERADM_H to get transaction ID.
    Regards,
    Dipesh.

  • Sample Data Used in Personnel Subarea and Employee Subgroup

    Hi HR Guru,
    Can anyone give me some sample values you used in Personnel Subarea and employee Subgroup?  Our company is looking into HR implementation.  We just wondered how other SAP customer's configuration for this field. 
    Thanks!
    RL

    Hi Reiling,
    There are plenty of threads here that describe the concept of personnel area/subarea, employee group/subgroup. You can also check SAP documentation.
    Based on that and your organization set up you should be able to chalk out the personnel structure.
    Donnie

  • I have broken my iphone 4. Can I retrieve icloud data using an Iphone 3gs and the same sim?

    My iphone 4 is broken due to water damage.
    I'm considering purchasing a cheap iphone until my upgrade.
    If I bought and iphone 3gs would I be able to retrieve the date from my icloud (contacts etc) for the 3gs?
    Thanks
    Sarah

    To access iCloud all your iPhone needs is iOS 5 or later and an Internet connection, either via cell service or WiFi. Then just set up iCloud with the same Apple ID and password you've been using on your iPhone 4.
    You might want to consider just getting your iPhone 4 replaced by Apple. Based on the prices I've seen for iPhone 3GS units, Apple's replacement price isn't that much more, and you'll be certain of getting a working, non-hacked iPhone.  Apple's replacement price for the iPhone 4 is US $149.
    http://www.apple.com/support/iphone/service/faq/
    Regards.

  • How to edit data using a LOV list AND textfield for one Field

    I am trying to edit the templated edit from HTMLDB template when I create a new table. I implemented most of the fields with LOV list like yes/no, joe/bob/john etc. But some fields as many probably have seen have a LOV called "Other" where a person types a different value than the ones available. Can someone tell me how I can accomplish that? Do I need to insert "Other" into LOV and have it be set as the value in the textfield? I am not sure how i can create both LOV list and textfield per category/field i.e. Name.
    Thanks

    Again, I urge you to use HTML DB nomenclature to describe what you've done. For example: "I ran the Form on a Table wizard to create a form" Rather than using the word "template" for everything you describe. "Template" has a specific meaning in HTML DB and it is not what you are referring to.
    You really should invest the time required to accurately phrase your problem. Just like answering questions on this forum requires time, so does formulating your question. It is time well spent and it is effort on your part that the experts on this forum deserve. If you don't put in this effort and instead just post a stream of consciousness, that means the readers of this forum will gloss over your question and ignore it. As a result, you have to ask the question again...and again.
    Having said that, if I understand your question correctly, you should use a popup LOV item. This will allow the user to select from a list but will also allow typing of a non existent option into a text field.
    Sergio

  • Not getting data using FORMULA for GAIN and LOSS

    Hi all,
    I have made a code for my report in which i have to display GAIN or LOSS using formula as told by me is:
    ANLCKANSW-ANLCKNAFA-ANLCNAFAG-ANEAERLBT
    and for this purpose i have create an ITAB,the structure is that:
    BEGIN OF GI_DETAIL OCCURS 0,
            BUKRS LIKE ANEA-BUKRS,
            ANLN1 LIKE ANEA-ANLN1,
            ANLN2 LIKE ANEA-ANLN2,
            GJAHR LIKE ANEA-GJAHR,
            AFABE LIKE ANEA-AFABE,
            KANSW LIKE ANLC-KANSW,"Asset Acquisation Value
            KNAFA LIKE ANLC-KNAFA,"Accumalated Depreciation
            NAFAG LIKE ANLC-NAFAG,"Ordinary Depreciation Posted
            ERLBT LIKE ANEA-ERLBT,"Retirement Revenue
            END OF GI_DETAIL.
    This is my SELECTION criteria for FORM GET_DATA
    SELECT kansw knafa nafag anea~ERLBT
          INTO CORRESPONDING FIELDS OF TABLE gi_detail
          FROM
          ANLC
          INNER JOIN ANEA ON
          ANLC~BUKRS = ANEA~BUKRS AND
          ANLC~ANLN1 = ANEA~ANLN1 AND
          ANLC~ANLN2 = ANEA~ANLN2
        WHERE  ANLC~AFABE eq '01'.
    and this is FORM Organize_Data
    READ TABLE GI_DETAIL WITH KEY bukrs = gi_detail-bukrs
                                      anln1 = gi_detail-anln1
                                      anln2 = gi_detail-anln2.
            gi_main-gain_loss  = ( gi_detail-kansw - gi_detail-knafa ) - ( gi_detail-nafag - gi_detail-ERLBT ).
            MOVE-CORRESPONDING gi_detail to gi_main.
    Problem when i execute with debugger value are coming in my ITAB i-e GI_DETAIL but not displaying in my formula.I can't understand what is the problem in the code.
    Thanks,
    abapfk

    HI
    before reading the table first check, it is balnk or not.
      gi_main-gain_loss  = ( gi_detail-kansw - gi_detail-knafa ) - ( gi_detail-nafag - gi_detail-ERLBT ).
            MOVE-CORRESPONDING gi_detail to gi_main.
    here you have appended the values in gi_main-gain_loss and after that you are moving the gi_detail table to gi_main so as per my knowledge it will overwrite the values in gi_main-gain_loss.
    so you have to append the values from gi_detail to gi_main individually.
    like:
    gi_main-field1 = gi_detail-field1.
    gi_main-field2 = gi_detail-field2.
    and the append gi_main.
    check in debugging whther the values coming correctly or not.
    I hope this will work for you.
    Thanks
    Lalit Gupta

  • In r12 What is use of Purge log and Closed system alerts

    Hi
    In r12 What is use Concurrent reqest "Purge logs and Closed system alerts "
    is there any diffrence with "Purge Concurrent Request and/or Manager Data Program"
    we have to purge cm logs and data.
    '

    In r12 What is use Concurrent reqest "Purge logs and Closed system alerts "The concurrent program "Purge Debug Log and System Alerts" (Short name: FNDLGPRG) is the recommended way to purge messages. This program purges all messages up to the specified date, except messages for active transactions (new or open alerts, active ICX sessions, concurrent requests, and so on). This program is by default scheduled to run daily and purge messages older than 7 days. Internally this concurrent program invokes the FND_LOG_ADMIN APIs, which are described later in this document.
    Oracle® Applications Supportability Guide Release 12
    http://download.oracle.com/docs/cd/B40089_09/current/acrobat/120fndsupp.pdf
    is there any diffrence with "Purge Concurrent Request and/or Manager Data Program" This concurrent program is used to purge concurrent requests log/out file, and/or CM log files.
    we have to purge cm logs and data.Use "Purge Concurrent Request and/or Manager Data" concurrent program.

  • Drive no longer being used by time machine: delete some files?

    Tried unlocking and allowing myself to read and write.  Nope.  Tried holding down the option key.  Nope.
    This drive is no longer being used by time machine and I want to delete some files on it.
    Is there a way to do it without wiping the entire drive?

    nowsthetime wrote:
    It wasnt a dedicated backup and  there's other material on it that I need to keep.
    That's a problem (as you've discovered).  Time Machine works best if it has it's own, exclusive partition.   See Time Machine - Frequently Asked Question #3 for details.
    Aha!  Just found THIS. I'll post if it works. http://www.celiamania.com/wordpress/?p=1038
    That will let you delete individual backups, or all backups of selected items.
    If you don't have room to copy the "other" stuff elsewhere while you erase the disk, you can delete the Backups.backupdb folder.  Emptying the trash will take a very long time, and may give you permissions and/or locked file problems.  If so, see #E6 in Time Machine - Troubleshooting.

  • Adding milliseconds to long date format (tzntstmpl)

    I have a date field called START_DATE defined as type TZNTSTMPL (long date/time format - YYYYMMDDHHMMSS.mmmuuun) and another field call MILLISECONDS also defined as type TZNTSTMPL.
    I want to subtract 625 milliseconds from START_DATE, so I put .625 in the MILLISECONDS field and subtract MILLISECONDS from START_DATE.
    The starting value in START_DATE is "20090701095000.5410000". After I subtract MILLISECONDS from START_DATE the result is "20090701094999.9160000". 
    The result should have been "20090701094959.9160000. The problem is with SS (Seconds) 99 is invalid.
    How can I get it to subtract correctly?
    Are there any ADD or SUBTRACT functions that work with the long date/time format?
    Regards,
    Mike...

    Vindo,
    Thanks that is exactly what I was looking for. It handled the adding and subtract from the long date format correctly.
    Regards,
    Mike...

  • What is causing recent mac data use spike?

    I have a Hughesnet internet data use limit of 15Gb per month which typically for my family is sufficient.  As of last Thursday April 10 around 7AM my data use shot up and continued consistently high every hour.  It started at 200 - 300 Mb / hour, jumped to ~550Mb / hour at 2AM 4/11/14, jumped again to 1 - 2 Gb / hour 7AM 4/11/14 and continued until all the data had been used ~9AM 4/12/14.  I am using the Hughesnet utility to show what was used (after the fact) and I use Activity Monitor to what real time data use.  I think it would be helpful to have  a way of graphing the data use by process realtime if that exists so I can see what exact process is causing the data use.  I do not have any virus software running. 
    As of Sunday 4/13/14 having no data left I contacted Hughesnet and began to troubleshoot the problem.  I disconnected everything from the internet and shut down my wireless modem.  All that has been connected since then (today is 4/16/14) is my iMac which is directly connected to my Hughesnet modem.  I was given an additional 2Gb for troubleshooting.  I left my iMac alone for 2 days.  Very little data was used and almost no programs were running when I started using it again around 11:30AM 4/15/14.  Unfortunatly, as my wife started using the iMac for a few hours that data use went up again and used up all the data.  One thing i noticed was that the data use coincided with iMail being on. 
    How can i identify the problem and stop it?

    Gmail is an intentionally broken implementation of IMAP that often causes problems with Mail. The problem seems to have gotten worse in Mavericks. Google has no incentive to make Gmail work well, or at all, in any mail client, because the company makes money by delivering targeted ads via the Web. The Gmail servers analyze your messages to glean information about you and your contacts that Google can then sell to marketers, or to anyone who will pay for it. You agreed to those terms when you registered a Gmail address.
    I suggest either not to use Gmail at all, or to access it through the website as Google intends. You might get better results with another email client. I don't recommend any one in particular.
    If you insist on trying to make Gmail work with Mail, the following links may help:
    Configuring OS X Mail For Gmail Without Duplicates
    Setting up Apple Mail to Rock and Roll with Gmail

  • Huge Cellular Data Use / Drain, While On Wi-Fi

    Anyone else got this? I'm very concerned as my 8gb / month data allowance is being swallowed up, and my carrier, Vodafone, just advise it must be the handset - and charge me for extra data, and Apple so far haven't diagnosed the problem...
    On my iphone 5s I'm having a huge cellular data drainage problem, seen in Settings > Cellular > System Services > Docs and Sync  and I'd be very surprised if there aren't many others with the same as it seems to me to be fundamentally linked to the iOS or the handset.
    In the first 12 days of this billing month ( since Nov 22 ) my cellular data usage was nearly 8GB - my limit is 8GB and usually I use around 500mb of that. So I'm now paying Vodafone for extra data.
    Spent a couple of hours online with Apple Support today  - my cellular data usage increasing from 3mb to 30mb  as we spoke  - and much of the time I was on wifi.
    Result was that Apple had me restore iphone as a new phone over itunes and reinstall 8.1.1 afresh; theory being that a fresh restore ( ie none of my apps, non-Apple mail accounts, or media on the phone ) should clear anything that may be causing Settings > Cellular > System Services > Docs and Sync to show high data usage.
    But with Settings > Cellular Data switched on, and no apps open or any activity on my part,  I'm seeing he exact same thing - around 45mb of data use in Settings > Cellular > System Services > Docs and Sync in less than an hour.
    Feels like the phone has been hacked in some way.
    Update the following day:
    I've kept the phone on the full  restore (ie not reverted to any of  my backups, as I had planned ) today - kept a record of the apps i installed and Settings changes made... the data drain has continued, so in Settings > Cellular > System Services > Docs and Sync the data use is now 108mb - and this is while being on Wifi the whole day except for around 30 mins walking to / from a restaurant.
    I've seen this iPhonedata drain issue raised elsewhere on the web, dating back to 2012 - but the posts I see never update to a conclusion.
    Another talk to Apple tomorrow. If anyone has had this issue and resolved it I'd really like to hear from them!

    I haven't been able to solve the problem yet but I think I'm getting closer. I've noticed that the data drain stops when my iMac is turned off, and that the data drain on the iPhone starts immediately once the iMac is turned on!!
    I turned off my iMac on Friday and had no data drain all weekend. As soon as I turned the iMac on today the iPhone "Documents & Sync" started to go crazy again. I logged out of iCloud on the iMac and the drain on the iPhone stopped! So, I don't think this is an iPhone hardware problem at all!
    To me it seems it's a bug in the iCloud service. Although all the configurations on the iPhone are saying that it should not use 3G, and that it should use the WiFi, it still uses the 3G somehow for some sort of synchronisation with my iMac. This is clearly a bug as I don't have anything on my iCloud drive and I have set Calendar/Contacts and Notes to sync only on WiFi. Apple please sort this one out. For now I'm switching cellular data off on the phone when I'm working on the iMac. It's the only solution at the moment.

  • I had itunes years ago but the email address associated with this is not longer in use. Is there anyway to updating and transferring all music and data to a new email address?

    I had itunes years ago but the email address associated with this is not longer in use. Is there anyway to updating and transferring all music and data to a new email address?

    Hello Graceevelyn23,
    Thanks for the question, and welcome to Apple Support Communities. You can update the primary email address that is used for your Apple ID:
    Apple ID: Changing the email address you use for your Apple ID
    http://support.apple.com/kb/HT5621
    Thanks,
    Matt M.

Maybe you are looking for

  • How to extract .sdc file to a .iso file?

    Hello. I download the windows 7 from my university website and I want to install it to my virtual machine. However, after I downloaded it, that windows file is end with .sdc. I searched it in google and it is short for 'secure download content'. I am

  • Disk Utility Crashed during an "erase free space" and now no space exists

    So i have no idea how to recover my space after disk utility crashed while I was out today, All I know is I had close to two hundred gigs freed that I wanted to wipe clean after resetting some things in various applications. I figure I could go find

  • How do I compress a video file so I can send it via email?

    I am trying to email a slideshow I just created in iPhoto.  My email won't accept the file because it is too large.  I tried to compress by right clicking on the file in the Finder application.  It gives me the option to compress it so I said yes.  I

  • Date modified timestamps resetting on login (mouse user preferences reset)

    Hi, Using network accounts on 10.8.2 off a 10.8.2 server. All files in user directory have 'date modified' timestamps reset to login time. This occures for all users. This I believe is also causing mouse user preferences to be reset on login. Has any

  • Explain the terms of  Revaluations,Goods Movements,Material Stocks.

    Hi all, I am technical consultant, need to under satnd the terms in Inventory Evaluation so please help me regarding the below things: 1. Please tell what is" Revaluations" process in Inventory & what is this effect on stock? 2. what is the Goods Mov