The question about RAW datatype in VBA with OO4O

Hi all.
I have developed a sort of VBA program with oo4o.
When I issued "select rawtohex(saddr),saddr from v$session where rownum < 2" and I displayed the result on excel spread sheet.
The result was below.
RAWTOHEX(SADDR)      SADDR
C0000000E14ADDF0     &#65533;
I found I couldn't display a raw datatype result without using RAWTOHEX function.
But, I query the table using "*",such as " select * from v$session" sometime. So I have to display the raw datatype result without using oracle function.
I heard that the "RAW" datatype is a array of byte, so I used byte array.
The following is my first idea and the result is wrong.
The result is 'FF000000......', not 'C000000....'
Is there any good idea?
Dim oSession As Object
Dim oDatabase As Object
Dim oRs As Object
Dim cntCol, cntRow As Long
Dim rowNum, colNum As Long
Dim sraw() As Byte
Dim k As Integer
Dim hexaString As String
Set oSession = CreateObject("OracleInProcServer.XOraSession")
Set oDatabase = oSession.DbOpenDatabase(gTargetServer, gUserID & "/" & gPasswd, 0&)
Set oRs = oDatabase.DbCreateDynaset(gSqlString, 0&)
cntCol = oRs.Fields.Count
cntRow = oRs.RecordCount
ReDim resData(cntRow, cntCol) ' the variant type array to store result
'To store column title.
For colNum = 0 To cntCol - 1
resData(0, colNum) = oRs.Fields(colNum).Name
Next colNum
'To store data.
For rowNum = 1 To cntRow
For colNum = 0 To cntCol - 1
Select Case oRs.Fields(colNum).Type
Case 11
sraw = oRs.Fields(colNum).Value
For k = 0 To UBound(sraw)
hexaString = hexaString & Hex(sraw(k)) '<= here.***********
Next k
resData(rowNum, colNum) = hexaString
Case Else
resData(rowNum, colNum) = oRs.Fields(colNum).Value
End Select
Next colNum
oRs.MoveNext
Next rowNum
I hope I get helps.
Bill.

But, I query the table using "*",such as " select * from v$session" sometimeCan't you use
select rawtohex(saddr) hexaddr, t.* from v$session t
(if you really need '*' ) ?
Rgds.

Similar Messages

  • I want to ask the question about phasor measurement.

    I want to ask the question about phasor measurement.the first one is that how can I accomplish the sychronized sampling with GPS?The other question is that how can I adjust the sampling rate for DAQ when the system frequency alter continuously.(if I used the DFT,due to the altering of frequency,I can't get the completed waveform)"

    Synchronising DAQ with GPS depends on the DAQ sampling rate. If the rate is higher than 2 Hz you can sample the 1PPS pulse of your GPS receiver together with your data.
    You change the sampling rate with the AI Clock Config.vi. You cannot do this on the fly so you must stop DAQ with AI Control.vi reconfigure the sampling rate and then start it again.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Hi Everyone Im New, Got Question About Upgrading MSI GT60 0ND With SSD

    Hi Everyone I'm New, Got Question About Upgrading MSI GT60 0ND With SSD.
     :welcome:So As I've stated I'm new here, or at least got a new MSI notebook.
    Ive got the new MSI gt60 0ND with 750GB HD and 675 Ge-Force GTX , anyways to the bottom line.
    I would like to Upgrade my computer with SSD that I bought and install the win8 on it, in order to speed things up, but I have encountered a few problems..
    1. there is no sticker on the back of the computer that gives information about the serial number of my windows 8...
    2. lets say in some magical way I could get the serial number out, can I use it to reinstall ? because Ive heard that you cannot use this CD key anyways unless you got a special win8 installation CD key from MSI because its MSI branded windows 8.
    am I screwed    ? ?? ? I thought it is possible to upgrade with SSD but it seems like MSI made it very hard, I do not understand why they even putted the warranty void sticker on the expansion bay's .... WEIRD..
    Please help !! Thanks in advance,
    David

    Quote from: dudiz10 on 10-January-13, 19:20:54
    Hi Everyone I'm New, Got Question About Upgrading MSI GT60 0ND With SSD.
     :welcome:So As I've stated I'm new here, or at least got a new MSI notebook.
    Ive got the new MSI gt60 0ND with 750GB HD and 675 Ge-Force GTX , anyways to the bottom line.
    I would like to Upgrade my computer with SSD that I bought and install the win8 on it, in order to speed things up, but I have encountered a few problems..
    1. there is no sticker on the back of the computer that gives information about the serial number of my windows 8...
    2. lets say in some magical way I could get the serial number out, can I use it to reinstall ? because Ive heard that you cannot use this CD key anyways unless you got a special win8 installation CD key from MSI because its MSI branded windows 8.
    am I screwed    ? ?? ? I thought it is possible to upgrade with SSD but it seems like MSI made it very hard, I do not understand why they even putted the warranty void sticker on the expansion bay's .... WEIRD..
    Please help !! Thanks in advance,
    David
    I think serial key of windows is in your bios which you cannot See however it should be automatically activates windows

  • Hi, I have answered no to the question about saving password for one spesific site. I have changed my mind and would like Firefox to save the password. How do I reactivate the password saver for one spesific site?

    Hi, I have answered no to the question about saving password for one spesific site. I have changed my mind and would like Firefox to save the password. How do I reactivate the password saver for one spesific site?

    Check exception list of your Firefox password Manager and check if your site is there or not?
    * http://kb.mozillazine.org/User_name_and_password_not_remembered#Password_Manager_settings

  • HT5312 In itune I need to fill up the questions about card but i dont have credit card,what can i do?

    In itunes i need to fill up the questions about card but i dont have a credit card, what can i do about that?

    Hi Huyen1110,
    You can use the steps in this article to create an iTunes Store account that does not use a credit or debit card for payment -
    Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • A Question about RAW and Previews

    I have just recently starting shooting in RAW (mostly for the post production editing abilities - I am an avid amateur photographer bent on learning as much as I can). I set my camera to capture in RAW + L. I don't know why I feel like I want it to capture both the RAW and JPEG file, and thus leads me to my first question: Is it necessary to have the camera capture both the RAW and Large JPEG? I am assuming the answer to be no, as I am sure if after importing the RAW file into Aperture, you could always export a JPEG if you wanted one? So no need to fill up your internal memory (if using managed masters) with the extra JPEG? Is this thinking correct?
    Next, if you do import RAW-only files and then want to export certain images, do you have a choice to export the original RAW image? It seems that it only allows you to export a JPEG Original Size. To answer my own question, perhaps you have to export the Master in order to export the full RAW file when exporting? If you want to export a JPEG, you have to export not the Master, but a version of the Master? Is this correct?
    Lastly, I wanted to ask a question about Previews. I have my preferences set so that previews have the highest quality with no limits to size. What is the significance of setting it this way? I just assumed that if I wanted to share an image at the highest quality without exporting it, this was the way to go. Is there any validity to this? The reason I ask is that I don't want to have all of these high quality previews taking up internal disk space if I really don't need to. Is there a way to change the preview size once previews are created? Meaning, if you have it set to generate low quality previews, can you change it dynamically to high and vice versa?
    I know this is a lot in one post. Thanks for tackling it.
    Mac

    You can change the quality of the Previews in the Preferences -> Previews tab.
    You can regenerate Previews with the Delete and Update Previews under the Images menu.
    Regards
    TD

  • The question about the HA installation on ECC6.0

    Hi Experts,
    We are about to implement a project with HA environment on the ECC6.0 in the near future, which is just about the ABAP stack. After reading the Installating Guide, I stil have several questions related to the procedures of HA installation.
    In the guide document, I got the following steps to process for realizing the HA of ECC6.0:
    1. Run SAPinst to install the central services instance (ASCS) using the virtual host name on the primary cluster node, host A.
    2. Prepare the standby node, host B, making sure that it meets the hardware and software requirements and it has all the necessary file systems, mount points, and (if required) Network File System (NFS), as described in Preparing for Switchover .
    3. Set up the user environment on the standby node, host B. For more information, see Creating Operating System Users and Groups Manually. Make sure thatyou use the same user and group IDs as on the primary node. Create the home directories of users and copy all files from the home directory of the primary node.
    4. Configure the switchover software and test that switchover functions correctly.
    5. Install the database instance on the primary node, host A.
    6. Install the central instance with SAPinst on the primary node, host A.
    7.If required, install additional dialog instances with SAPinst to replicate the SAP system services that are not a SPOF. These nodes do not need to be part of the cluster.
    My Question is that does standby node(host B in above context) need to install the ASCS, database instance and Central Instance?
    If host B does not need to install the database instance, how about the whole system would be when the primary cluster node (Host A in above context) totally crash, such as power failure.

    Hi Rong,
    I would try to explain it in simple words...
    My Question is that does standby node(host B in above context) need to install the ASCS,
    database instance and Central Instance?
    If host B does not need to install the database instance, how about the whole system would be when
    the primary cluster node (Host A in above context) totally crash, such as power failure.
    1. You don't need to install ASCS on Node B. You are installing it using a VIRTUAL HOSTNAME which represent cluster not individual node. VIRTUAL HOSTNAME is assigned to cluster package, so whichever Node is the owner of the package, will have the VIRTUAL HOSTNAME. (it will switch with cluster switchover)
    2. It is actually a cluster package configuration magic. When Node A is active, cluster package owner is Node A. So all mount points (which is on SAN disk) is mounted on Node A. When you switchover the cluster, those packages will be mounted on Node B.
    Some time single cluster package is used (which includes mount points for SAP instance + Database directories). You can also use 2 cluster package seperating SAP and Database directory structure.
    Only OS related directories should be on servers local disk. All other application related mount points should be on SAN disk which is configured in "Cluster Package". (For example /sapmnt, /usr/sap, /oracle etc.)
    You only need identical users and their enviornment settings on both Nodes.
    In simple words, When primary node fails or crashed only users and thier enviornment setting will be lost. On second node, because of identical users and their profiles, same settings will be available to bring up the SAP system. Your all SAP and Database data is intact as it is on SAN Disk.
    I hope, your confusion is cleared now...
    Regards.
    Rajesh Narkhede

  • Questions about VK34 (create condition record with reference)

    Hi experts,
    When clicking the botton "copy condition" via VK34, an error message pops up. It says the error is due to no definition of select rule. I use the  standard condition record PR00.
    Q1: How to define "select rule"?
    Q2: Any chances to download condition record when using VK13 or VK33?

    Hello Colleague.                                                                               
    This Unicode problem occurs mainly with pricing reports (recognized by report names that start with /1SDBF12L/RV14AK).                        
    To regenerate these, call transaction V/LE or use transaction SE38 to execute the report RV14ALLE.                                           
    Leave the selection screen empty and execute (F8).                     
    See SAP note 497850.                                              
    If you have further questions about the generation in the condition maintenance, I recommend to read Note 886771.                
    I hope it can help you.
    Regards
    Ruy Castro

  • I have a question about how to contact HR with e-mail.

    I read the rules about anything about HR is not allowed, but I also read to contact HR directly, so I won't ask anything further here. My question is, how? I searched for an e-mail, but all I have been able to find is a phone number I can't ring since I have no phone, just internet. Thank you.

    Hello Dennis,
    If you're a Best Buy or Geek Squad employee and do not have access to a telephone, then two alternative contact options exist for you: speak with your direct supervisor or use the My HR app within Employee Toolkit. If you are not a Best Buy employee, however, our HR support team will not be able to assist you -- these contact channels are for employee use only.
    Thank you for your understanding, as well as for taking the time to post.
    Aaron|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Question about upgrading iTunes multiple computers with shared library

    Greetings,
    I have a question about upgrading to the current version of iTunes.
    Currently, my household uses 3 Mac computers (2 Powerbook 17in laptops and a Mack Mini). We are all (currently) on system 10.4.11 (with iTunes 9.2.1). Between the 3 computers we have a shared iTunes music and video library on a networked high capacity hard drive.
    We recently purchased an iPad. In order to make it easy for updates and to use media from our iTunes shared library I decided that we should upgrade the systems on our home computers to Snow Leopard. I have ensured that all the computers have at lease 2 Gb of RAM and adequate hard drive space.
    The only possible problem I see is that one of the Powerbook laptops uses the old Motorola processor. (This is one of the last Powerbooks to use that processor.) I don’t think this computer can be upgraded to Snow Leopard.
    My question is, if I upgrade 2 of the computers (and iTunes in the process), will I still be able to access the shared iTunes library using the older computer with the older system and iTunes? Will the upgrade process change the iTunes library in such a way that the one older computer will no longer be able to properly access that library?
    Are there any other problems I might encounter having a mixed system/iTunes environment?
    Thank you,
    Tim

    iantoole wrote:
    Just a thought. Should I somehow open iTunes on MBP2 using MBP1's Library file??
    both Macs can access the same library file, however, only one at a time !
    to do that, you would ideally have the entire iTunes folder (not just the iTunes music folder) on the external. then, on one Mac after the other, launch iTunes while holding the option key, click on +choose library+ when prompted, and select the iTunes folder on the external.
    or, you could have two separate libraries and keep those in sync using third party tools such as Syncopation, TuneRanger or SuperSync.
    for purchases from the iTunes store, you could set up _*Home Sharing*_ - it can be configured to automatically transfer new purchases to home shared libraries.
    Can I create a script to have MBP1 always save the iTunes Library file on the shared hard drive?
    no need.
    JGG

  • 2 questions about RAW

    I'm switching to shooting in RAW (Nikon D80) and read in The Missing Manual that the Photo Downloader in PSE7 may have trouble bringing them in from my card. Barbara suggests that there are other ways to do this and that they can be found on page 40, but I can find nothing there. So...
    Does the Downloader work satisfactorily if I bring back a card with, say, 100 images on it? Or what is the best way to get them into Organizer?
    After you've worked on your RAW images, what file format is best to save them as? Seems silly to save as JPEG unless they're going on the web. But what about TIFF? I see there's an option to save as Photoshop RAW.
    Will appreciate any thoughts and opinions.

    Hi, Jack. You can just use windows to import your photos to the computer, then use Get Photos>from Files and Folders. The problems with the downloader and raw have nothing to do with the number of images, only with the fact that people have more odd situations with raw than with other formats, particularly if you shoot raw + jpg. If you find that the downloader works for you, then it's fine to use it, but just be sure you're getting all the photos every time you download.
    You can save your processed raw images in any format that the editor supports, so TIFF or PSD are both good choices. Photoshop Raw is an older Photoshop format, meaning raw PS data, not really an image format. Don't try to save anything as that.

  • Question about managing application licenses together with netboot

    Hello
    So far I had made no experience with an MacOSX Server netboot configuration but we plan to introduce it in some weeks. Therefore we are "wondering" how management/assignment of application licenses is working in a netboot configuration. Normally in a local MacOSX configuration licenses for application are in generally assigned on the application (some are bound to a certain user name, others to the CPU ID) and is valid for all users login to the same computer. How and at which time are application licenses (for example MS Office 2004, Adobe Acrobat etc.) assigned in a netboot environment?
    Many thanks in advance for any clarification and with best regards, André Müller

    Hi Andre,
    Is this a technical or legal question Either way it is an interesting question about a major grey-area, and I wonder if anyone has the right answer.
    Boiling your question down to specifics, it could be...
    I have 15 individual Photoshop serials. I want to run Photoshop off a NetBoot image for 15 simultaneous users. Can I install one serial on the image, and allow 15 users to open Photoshop simultaneously. What if I want to install the image on 20 machines, but only 15 users will ever use Photoshop simultaneously.
    There is a technical answer and a legal answer to the question. I don't know if there is a 'right' answer since multi-user installations of titles that are technically possible under NetBoot may not be allowed legally under the user license agreement you committed to on breaking the seal on the software. And these agreements are different for different countries.
    Here's the technial answer. Sometime before OSX server 10.0, when Apple introduced netboot technology, developers were advised not to perform network scans checking for duplicate serial numbers when aps start up.
    In practice this means you can install software title on your image, activate with a serial number, and it will not conflict with the other identical versions of the same application on other images on the network.
    FileMaker Pro is the only software I am aware of that doesn't play by these rules, altthough it no longer checks when the applicaton starts, but when any FMPro network activity is started.
    Here's the leagl answer. It depends on the title and the country you are in. The legality is definded under the eulas for the titles concerned. I don't know if the leaglity has ever been tested in a court of law in any country in this context.
    The easy way to do the right thing for some titles it to purchase a multi-user serial number, ie. a single number which will work for 5 or 10, 20, 50... etc. users. Fore example, FileMaker has a volume licensing serial number which I beleieve can be purchased in increments of 10 users. However, not all titles offer this option, though, and it's difficult if you need 12 copies and have to buy 20.
    Sassafras software http://www.sassafras.com/ sells Keyserver, which may be an appropriate solution. Keyserver tracks installations and authenticates serial numbers to ensure no more than the licensed number of copies can be run at the same time.
    I don't think I've answerede your question for you but hope to have expanded the contxt of the question for other suggestions.
    Good luck,
    b.

  • The question about parameter in ECC 6.0 system.

    hi
    T-code RZ10 ,  I checked  the parameters about  DEFAULT.
    but  there are one error and three Warns.
    ---one error
         there is [E:j2ee/dbname changes not permitted]   below  the parameter of  j2ee/dbname.
         PS: the background is red.
    ---three warns
         j2ee/scs/host
         W: Unknown parameter j2ee/scs/host , a check cannot be performed
         j2ee/scs/system
         W: Unknown parameter j2ee/scs/system , a check cannot be performed      
         j2ee/ms/port
         W: Unknown parameter j2ee/ms/port , a check cannot be performed      
         PS: the three parameters  are not  in T-code  RZ11.
    could you help me solution these question.
    thanks and regards

    hi,MIchael
       ---one error
            there is E:j2ee/dbname changes not permitted below the parameter of j2ee/dbname.
            solution:
                      the value of j2ee/dbname  was BS2.   just now, i deleted  the value of j2ee/dbname.                 
                     the error message does not come out,now.
       ---three warns
           j2ee/scs/host
           j2ee/scs/system
          j2ee/ms/port
        solution:
                  there is not the scs in the system. but there is the ms in system.
                  why they are specified , i dont konw.
                  if  those parameter doesn't exist, would i  be going to delete those parameter.
        thanks and regards.
        chu

  • The question about EDI in scenario 'Cross-Company Code Sales Processing'?

    I'm doing the exercise with IDES system for the scenario 'Cross-Company Code Sales Processing'.
    But when posting the EDI, it gave me the error as followings:
    there are related data in table EDPP1, including customer and vendor data, but it still informed me the questions.
    pls help!
    Object 0090033869
    Output type: tst IV for MM by ken
    Processing log for program RSNASTED routine EDI_PROCESSING
    EDI: Partner profile not available
    EDI: Partner profile not available
        Message no. E0332
    Diagnosis
        A partner profile could not be found with the following key:
        /0000000000/LI/
        This involves the key fields of the table EDPP1:
        -PARNUM  partner number
        -PARTYP  partner type
    Procedure
        Please check the EDI partner profiles.
        Execute function

    Hi
    Partner profile is not seems to be maintained in tcode WE20.
    Please maintain in WE20.
    Kind Regards
    sandeep

  • The question about the sharepoint server 2010 install

    Hi Friends,
    i have a question about the sharepoint server 2010 install. 
    my computer is used the windows server 2008 service pack 1. in order to install the sharepoint 2010 server, i need to choose to windows server 2008 service pack 2. my question is when i install the windows server 2008 service pack 2,whether the inside
    of my computer  information will be lost or change? 
    thank you in advance. 
    Qearl

    Hi ,
    No data will be lost either from your Windows program files or other drives as long as it is an upgrade.
    After upgrade you will still be able to see your old program files under windows.ol folder in the C: Drive of the new OS.
    The data will be lost only when you perform a clean install like complete formatting the HArd disk and installing from scratch.
    As mentioned it always good to maintain a backup preferable important files in a skydrive as there is a good chance of external drives crashing.

Maybe you are looking for