Databases....ActiveX, Access, SQL, ODBC, DAO what it all means!?

So I know I need a database in the software I'm developing, but it seems like there are so many ways to implement it, that I don't know what to choose, and I'm having a hard time wrapping my mind around the concepts of how each works.  I have been trying to read as much as I can, but I'd like to get a handle on the different ways to implement the databases before I delve in to one particular method.
I'm using windows XP for this, so some of what I mention below is only related to windows.
From my understanding now(correct me if I'm wrong)...
1. I can use ActiveX to control MS Access Application to create a database, add/delete from the database, generate reports etc..etc...
2. I can use a Data Access Object(DAO) to open a reference to a database to create and edit the database using SQL commands, which requires that I use Open Database Connectivity(ODBC) and define a Data Source Name(DSN) with the ODBC Data Source Administrator...
3. I can use the Database Connectivity Toolkit, which can use either SQL or ActiveX Data Objects(ADO) or some other connection I don't know about?...
So I guess what I'm wondering is if there are advantages/disadvantages to each of these implementations?
For example, will using the first option with ActiveX add overhead vs. the other options since its going out to query MSAccess? By using the ActiveX commands is it always loading the Access Application?
Are there any pitfalls with using ODBC Data Source Administrator in windows? If I'm deploying to a number of system, will I need to setup the DSN on every system, or is this something I can do programmatically?
How does the Database Connectivity Toolkit compare to using ActiveX directly, or using a DAO and SQL? is the toolkit just a wrapper for these operations?
Any help is appreciated!
Thanks,
Jonathan 
Using LabView 8.5
LV 8.2/8.5/8.6 - WinXP

Malkier,
A lot of questions there...I am no expert on databases, but hopefully I can provide a few snippets of knowledge...
LabVIEW Database Connectivy Toolkit uses ADO(Activex Data Objects), which is obviosuly based on ActiveX commands.  I suppose you could almost refer to the toolkit as a wrapper, however the individual activex commands would take a lot of work.  In addition, they do not go through Microsoft Access and are easier to work with SQL, which is free(as opposed to Access).  You still need to set up your DSN in OBDC Data Source Administrator, however.
If you use file DSN, you set up one file, then distribute this file to all the computer you want to access. You do not need to 'set it up' for each machine.
For speed, NI recommends using the Native OLE DB server rather than a generic ODBC server.
For more information, I would recommend these two links:
Difference between ADO vs ODBC vs OLE DB
LabVIEW Database Connectivity Toolkit User Manual
Both of these may provide some more insight into what you are looking for.
Message Edited by Rob_K on 10-22-2008 03:52 PM
Rob K
Measurements Mechanical Engineer (C-Series, USB X-Series)
National Instruments
CompactRIO Developers Guide
CompactRIO Out of the Box Video

Similar Messages

  • I have an early 2011 MacBook Pro which has been running slow for a while. After looking at responses to similar problems I have downloaded and run EtreCheck and will post the output. Please can someone help me with what it all means.Thanks in advance

    I have an early 2011 MacBook Pro which has been running slow for a while. After looking at responses to similar problems I have downloaded and run EtreCheck. Please can someone help me with what it all means.
    Thanks in advance.
    EtreCheck version: 1.9.15 (52)
    Report generated 19 September 2014 08:07:14 GMT+8
    Hardware Information: ?
      MacBook Pro (13-inch, Early 2011) (Verified)
      MacBook Pro - model: MacBookPro8,1
      1 2.3 GHz Intel Core i5 CPU: 2 cores
      4 GB RAM
    Video Information: ?
      Intel HD Graphics 3000 - VRAM: 384 MB
      Color LCD 1280 x 800
    System Software: ?
      OS X 10.9.4 (13E28) - Uptime: 0 days 0:4:29
    Disk Information: ?
      Hitachi HTS545032B9A302 disk0 : (320.07 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted>: 209.7 MB
      Macintosh HD (disk0s2) / [Startup]: 319.21 GB (147 GB free)
      Recovery HD (disk0s3) <not mounted>: 650 MB
      MATSHITADVD-R   UJ-898 
    USB Information: ?
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ?
      Apple Inc. thunderbolt_bus
    Gatekeeper: ?
      Mac App Store and identified developers
    Kernel Extensions: ?
      [not loaded] com.seagate.driver.PowSecDriverCore (5.2.4 - SDK 10.4) Support
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.4 - SDK 10.4) Support
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.4 - SDK 10.5) Support
      [not loaded] com.seagate.driver.SeagateDriveIcons (5.2.4 - SDK 10.4) Support
      [loaded] com.sophos.kext.sav (9.1.55 - SDK 10.7) Support
      [loaded] com.sophos.nke.swi (9.1.50 - SDK 10.8) Support
    Launch Daemons: ?
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [running] com.sophos.autoupdate.plist Support
      [running] com.sophos.configuration.plist Support
      [running] com.sophos.intercheck.plist Support
      [running] com.sophos.notification.plist Support
      [running] com.sophos.scan.plist Support
      [running] com.sophos.sxld.plist Support
      [running] com.sophos.webd.plist Support
      [running] com.trusteer.rooks.rooksd.plist Support
    Launch Agents: ?
      [loaded] com.divx.dms.agent.plist Support
      [loaded] com.divx.update.agent.plist Support
      [running] com.sophos.uiserver.plist Support
      [running] com.trusteer.rapport.rapportd.plist Support
    User Launch Agents: ?
      [loaded] com.adobe.ARM.[...].plist Support
      [running] com.amazon.music.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [not loaded] jp.co.canon.Inkjet_Extended_Survey_Agent.plist Support
    User Login Items: ?
      iTunesHelper
      TomTomHOMERunner
      AdobeResourceSynchronizer
      Dropbox
    Internet Plug-ins: ?
      FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support
      DivX Web Player: Version: 3.2.1.977 - SDK 10.6 Support
      AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support
      AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.152 - SDK 10.6 Support
      EPPEX Plugin: Version: 10.0 Support
      Default Browser: Version: 537 - SDK 10.9
      OVSHelper: Version: 1.1 Support
      QuickTime Plugin: Version: 7.7.3
      SharePointBrowserPlugin: Version: 14.4.4 - SDK 10.6 Support
      iPhotoPhotocast: Version: 7.0 - SDK 10.7
    Safari Extensions: ?
      Ultimate
    Audio Plug-ins: ?
      BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
      AirPlay: Version: 2.0 - SDK 10.9
      AppleAVBAudio: Version: 203.2 - SDK 10.9
      iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins: ?
      Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes: ?
      Flash Player  Support
      Perian  Support
      Trusteer Endpoint Protection  Support
    Time Machine: ?
      Skip System Files: NO
      Auto backup: YES
      Volumes being backed up:
      Macintosh HD: Disk size: 297.29 GB Disk used: 160.38 GB
      Destinations:
      Data [Network] (Last used)
      Total size: 2 TB
      Total number of backups: 99
      Oldest backup: 2012-04-20 17:05:32 +0000
      Last backup: 2014-09-18 23:49:25 +0000
      Size of backup disk: Excellent
      Backup size 2 TB > (Disk size 297.29 GB X 3)
      Time Machine details may not be accurate.
      All volumes being backed up may not be listed.
    Top Processes by CPU: ?
          6% InterCheck
          5% iCalExternalSync
          3% WindowServer
          2% CalendarAgent
          2% SystemUIServer
    Top Processes by Memory: ?
      152 MB SophosScanD
      147 MB InterCheck
      106 MB SophosAntiVirus
      66 MB Dropbox
      57 MB com.apple.iTunesLibraryService
    Virtual Memory Information: ?
      161 MB Free RAM
      1.55 GB Active RAM
      1.41 GB Inactive RAM
      902 MB Wired RAM
      611 MB Page-ins
      0 B Page-outs

    Uninstall Trusteer software
    http://www.trusteer.com/support/uninstalling-rapport-mac-os-x
    Remove Sophos
    https://discussions.apple.com/message/21069437#21069437

  • My macbook seems to be running slow deleted bunch of stuff and pictures and close things not in use i have 889mb wired 1.94gb active 323mb inactive and 879mb free idk what that all means but hopefully someone can tell me

    deleted bunch of stuff and pictures and close things not in use i have 889mb wired 1.94gb active 323mb inactive and 879mb free idk what that all means but hopefully someone can tell me. is there a program i can use and fix it or if its easy can i do it myself

    macworld.com/mac-troubleshooting-what-to-do-when-your -computer-is-too-slow.
    Basically... Make sure you have enough Free Hard Drive space for your Mac to Perform as expected...

  • Anyone know what this all means !!  - Sense Key = hardware error ?

    I have just been tring to make a Back-up copy of a CD using Toast ( v7.1 ) and at the end I keep getting this message, does anyone know what it all means please.
    Sense Key = Hardware Error
    Sense Code = 0x44, 0xD6
    Internal Target Failure
    Now before we go on, I have been using Toast all week making Back-ups with out a problem so I don't know why all of a sudden I am getting this message.
    It also states that the Lead in & Out failed.
    Hope some one can enlighten me.
    Steve

    In some cases if you have done a lot of burning you will need to empty the cache files before you can burn successfully. I have had to do this after I burned 4 or 5 movies and then I was good to go again.
    I use 3 programs.
    Macjanitor.
    http://personalpages.tds.net/~brian_hill/macjanitor.html
    Cache Out X.
    http://www.versiontracker.com/dyn/moreinfo/macosx/14850
    Onyx.
    http://www.titanium.free.fr/pgs2/english/download.html
    If I am doing a lot of burning I run these 3 once a week need to or not just to keep the trash all cleaned out of my system.
    I try to always follow this Media guide as well and find it to be invaluable when buying good media, for DVD.
    http://www.digitalfaq.com/media/dvdmedia.htm
    This may do the trick for you.
    Don

  • TS1372 I-Pod classic 120GB just will not sync with tmy i-tunes.....I-tunes reports error 1415, 1417, 1418, 1428, 1429, 1430, 1436 or 1439......No idea what that all means. Ipod is very tempermental about saving my tunes, anyone no what to do?

    I-pod classic 120GB will not sync with my i tunes errors reported 1415, 1517, 1418, 1428, 1429, 1430, 1436 or 1439, completely unsure what any this means? Is my I-pod for the bin seems strange as its only about 2 years old? It finds it very difficult to sync with any of my tunes at all, can anyone help with what to do please. Thanks

    Read this thread. Post back your hard drive stats...
    tt2

  • ITunes tells me I don't have permission to access my iPod touch.what does this mean?

    when i connect my touch to my mac I get the message stating I don not have permission to access this ipod. why is it saying this?

    What is the exact wording of the message?
    Did you successfully connect to this computer before and not another computer?

  • Mercury, CUDA, and what it all means

    [I just posted an article on the Premiere Pro team blog based on the information and questions in this forum thread.]
    'Mercury Playback Engine' is a  name for a large number of performance improvements in Premiere Pro CS5.  Those improvements include the following:
    - 64-bit application
    - multithreaded application
    - processing of some things using CUDA
    Everyone who has Premiere Pro CS5 has the first two of these. Only the third one depends on having a specific graphics card.
    Confusingly---because  of one of our own early videos that was just plain unclear---a lot of  people think that 'Mercury' just refers to CUDA processing. This is  wrong. To see that this was not the original intent, you need look no  further than the project settings UI strings 'Mercury Playback Engine  GPU Acceleration' and 'Mercury Playback Engine Software Only', which  would make no sense if 'Mercury' meant "hardware" (i.e., CUDA).
    The official and up-to-date list of the cards that provide the CUDA processing features is here:
    http://www.adobe.com/products/premiere/systemreqs/
    Some of the cards on that list are only enabled if you have the recent updates.
    On Mac OS, CUDA processing features of Premiere Pro CS5 require Mac OSX v10.6.3 or later.
    CUDA is an Nvidia technology, so only Nvidia cards provide it.
    If you don't have one of these CUDA cards, you can still use Premiere Pro CS5; you just won't get the advantages of processing with CUDA.
    Here's a list of things that Premiere Pro CS5 can process with CUDA:
    - some effects
    - scaling
    - deinterlacing
    - blending modes
    - color space conversions
    It's worth mentioning one set of things that Premiere Pro CS5 doesn't process using CUDA: encoding and decoding.
    Note  that whether a frame can be processed by CUDA depends on the size of  the frame and the amount of RAM on the graphics card (VRAM). This article gives details about that, toward the bottom.
    Processing  with CUDA doesn't just mean that things are faster. In some cases, it  can actually mean that results are better, as with scaling. See this article for details.
    The  term 'Mercury Playback Engine' refers to Premiere Pro. It has nothing  to do with After Effects. After Effects CS5 is a 64-bit application, and  it has been multithreaded for a long time, so those improvements are  there. But After Effects doesn't use CUDA (though a few third-party  plug-ins do).

    Todd, others, one of the things I'm still a bit unsure about is the difference of using GPU and non-GPU Mercury when it comes to real-time playback.
    When I added my cards, I guess I assumed my realtime playback would either stay the same, or in some cases improve, due to processing being conducted by the GPU.
    What I have found in some of my HDV projects, especially where I have an embedded AE comp, is that I can't get anything approaching realtime playback, UNLESS I turn off GPU assistance and go back to software only.
    So I'm wondering, if I can't get realtime using the GPU, do I need a better card, a better machine, or both? Are there cases where using the GPU is not advised/appropriate?
    Could you clarify for me what GPU is doing or not doing for realtime playback?
    W64, E8400, 8GB, GTX470
    cheers
    Matthew P

  • Re: I have an early 2011 MacBook Pro which has been running slow for a while. After looking at responses to similar problems I have downloaded and run EtreCheck and will post the output. Please can someone help me with what it all means.Thanks in advance

    I am having similar problems here is my etrecheck:
    EtreCheck version: 1.9.15 (52)
    Report generated September 18, 2014 10:54:44 PM EDT
    Hardware Information: ?
      MacBook Pro (13-inch, Mid 2012) (Verified)
      MacBook Pro - model: MacBookPro9,2
      1 2.5 GHz Intel Core i5 CPU: 2 cores
      4 GB RAM
    Video Information: ?
      Intel HD Graphics 4000 - VRAM: 512 MB
      Color LCD 1280 x 800
    System Software: ?
      OS X 10.8.5 (12F45) - Uptime: 0 days 4:57:11
    Disk Information: ?
      APPLE HDD TOSHIBA MK5065GSXF disk0 : (500.11 GB)
      S.M.A.R.T. Status: Verified
      disk0s1 (disk0s1) <not mounted>: 209.7 MB
      Macintosh HD (disk0s2) / [Startup]: 499.25 GB (472.13 GB free)
      Recovery HD (disk0s3) <not mounted>: 650 MB
      MATSHITADVD-R   UJ-8A8 
    USB Information: ?
      Apple Computer, Inc. IR Receiver
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. FaceTime HD Camera (Built-in)
    Thunderbolt Information: ?
      Apple Inc. thunderbolt_bus
    Gatekeeper: ?
      Mac App Store and identified developers
    Problem System Launch Daemons: ?
      [failed] com.apple.coresymbolicationd.plist
    Problem System Launch Agents: ?
      [failed] com.apple.accountsd.plist
      [failed] com.apple.coreservices.appleid.authentication.plist
    Launch Daemons: ?
      [failed] com.adobe.fpsaud.plist Support
      [running] com.fitbit.galileod.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [loaded] com.prosofteng.DriveGenius.locum.plist Support
    User Launch Agents: ?
      [loaded] com.google.keystone.agent.plist Support
      [running] com.prosofteng.DGMonitor.plist Support
      [running] com.spotify.webhelper.plist Support
    User Login Items: ?
      Spotify
      Fitbit Connect Menubar Helper
      Google Chrome
    Internet Plug-ins: ?
      Silverlight: Version: 5.1.30514.0 - SDK 10.6 Support
      FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.152 - SDK 10.6 Support
      QuickTime Plugin: Version: 7.7.1
      JavaAppletPlugin: Version: 14.6.0 - SDK 10.8 Check version
      SharePointBrowserPlugin: Version: 14.4.4 - SDK 10.6 Support
    Safari Extensions: ?
      Searchme
      Amazon Shopping Assistant
      Ebay Shopping Assistant
      Slick Savings
    Audio Plug-ins: ?
      AirPlay: Version: 1.7 - SDK 10.8
      iSightAudio: Version: 7.7.1 - SDK 10.8
    iTunes Plug-ins: ?
      Quartz Composer Visualizer: Version: 1.4 - SDK 10.8
    3rd Party Preference Panes: ?
      Flash Player  Support
    Time Machine: ?
      Time Machine not configured!
    Top Processes by CPU: ?
          17% mds
          5% Google Chrome
          2% Google Chrome Helper EH
          1% WindowServer
          0% ps
    Top Processes by Memory: ?
      209 MB Google Chrome Helper EH
      160 MB Google Chrome
      89 MB Google Chrome Helper
      63 MB mds
      57 MB Dock
    Virtual Memory Information: ?
      301 MB Free RAM
      1.87 GB Active RAM
      640 MB Inactive RAM
      1.21 GB Wired RAM
      2.95 GB Page-ins
      52 KB Page-outs

    Here are some of the results from console:
    9/19/14 11:12:45.808 AM UserEventAgent[11]: Captive: en1: Not probing 'busecure' (protected network)
    9/19/14 11:12:45.811 AM configd[16]: network changed: v4(en1!:149.125.79.239) DNS Proxy SMB
    9/19/14 11:12:46.168 AM netbiosd[233]: name servers down?
    9/19/14 11:31:11.536 AM spindump[937]: Google Chrome [285] timed out, and it's responsive
    9/19/14 11:33:30.000 AM kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=946[GoogleSoftwareUp] clearing CS_VALID
    9/19/14 11:47:00.954 AM mdwrite[962]: [ERROR] [0.000s] com.apple. UBItemStatusNotification.c:805 _do_UBItemStatusNotificationRegisterURLs() can't find realpath for "/Users/paolocuyno/Library/Mobile Documents/com~apple~system~spotlight/mdlabels", was blocked at "/Users/paolocuyno/Library/Mobile Documents": 2 (No such file or directory)
    9/19/14 11:47:00.955 AM mdwrite[962]: [ERROR] [0.001s] com.apple. UBItemStatusNotification.c:805 _do_UBItemStatusNotificationRegisterURLs() can't find realpath for "/Users/paolocuyno/Library/Mobile Documents/com~apple~system~spotlight/mdlabels", was blocked at "/Users/paolocuyno/Library/Mobile Documents": 2 (No such file or directory)
    9/19/14 11:47:43.656 AM WindowServer[89]: CGXDisableUpdate: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.
    9/19/14 11:47:57.656 AM WindowServer[89]: disable_update_likely_unbalanced: UI updates still disabled by application "Finder" after 15.00 seconds (server forcibly re-enabled them after 1.00 seconds). Likely an unbalanced disableUpdate call.
    9/19/14 11:48:10.259 AM WindowServer[89]: reenable_update_for_connection: UI updates were finally reenabled by application "Finder" after 27.60 seconds (server forcibly re-enabled them after 1.00 seconds)
    9/19/14 11:48:33.043 AM coreaudiod[139]: Disabled automatic stack shots because audio IO is active
    9/19/14 11:48:33.049 AM coreaudiod[139]: Enabled automatic stack shots because audio IO is inactive
    9/19/14 11:49:36.887 AM WindowServer[89]: CGXDisableUpdate: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.
    9/19/14 11:49:47.244 AM WindowServer[89]: reenable_update_for_connection: UI updates were finally reenabled by application "Finder" after 11.36 seconds (server forcibly re-enabled them after 1.00 seconds)
    9/19/14 11:50:23.926 AM WindowServer[89]: CGXDisableUpdate: UI updates were forcibly disabled by application "Finder" for over 1.00 seconds. Server has re-enabled them.
    9/19/14 11:50:37.713 AM WindowServer[89]: reenable_update_for_connection: UI updates were finally reenabled by application "Finder" after 14.79 seconds (server forcibly re-enabled them after 1.00 seconds)
    9/19/14 12:29:26.072 PM com.apple.launchd.peruser.501[149]: (com.apple.printtool.agent[557]) Exited: Killed: 9
    9/19/14 12:29:26.000 PM kernel[0]: memorystatus_thread: idle exiting pid 557 [printtool]
    9/19/14 12:30:25.000 PM kernel[0]: (default pager): [KERNEL]: ps_select_segment - send HI_WAT_ALERT
    9/19/14 12:30:26.000 PM kernel[0]: macx_swapon SUCCESS
    9/19/14 12:32:12.000 PM kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=1006[GoogleSoftwareUp] clearing CS_VALID
    9/19/14 12:33:06.523 PM spindump[1007]: Google Chrome [285] timed out, and it's responsive
    9/19/14 12:34:18.901 PM coreaudiod[139]: Disabled automatic stack shots because audio IO is active
    9/19/14 12:34:22.799 PM coreaudiod[139]: Enabled automatic stack shots because audio IO is inactive

  • DBIF_RSQL_SQL_ERROR: SQL error in the database when accessing a table

    Hi Gurus,
    Im getting DBIF_RSQL_SQL_ERROR: SQL error in the database when accessing a table error while I was importing support pack in the system. This is ERP 6.0 with EHP4 with MS SQL in back ground and I was applying the BASIS SP 04. It was in the TEST scenario and in the SPDD_SPAU_CHECK phase it threw the error.
    Short text
        SQL error in the database when accessing a table.
    What can you do?
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
    How to correct the error
        Database error text........: "[601] Could not continue scan with NOLOCK due to
         data movement."
        Internal call code.........: "[RSQL/FTCH/E071 ]"
        Please check the entries in the system log (Transaction SM21).
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
        "SAPLSVRT" or "LSVRTU01"
        "TR_LAST_IMPORT_OF_OBJECT"
    SPAM  is ending with the above short dump. I have checked the space availability and it is OK.
    Kindly help.
    Renju Aravind.

    Hi,
    this error is very often seen in case of a database corruptions. Please follow note 142731 and perform a complete database check. Send the results when they show errors.
    Best regards
      Clas

  • Root cause of "SQL error in the database when accessing a table. "

    Dear experts,
    I meet this dump "SQL error in the database when accessing a table" when executing a sql.
    Sql:
        SELECT sesssessno poscrm_serplan_id poscrm_ser_h_id poscrm_ser_i_id
               possolution_id sessbundle_id sessdbid sessinstno pos~crm_ordered_prod
               sessdbid sessinstno
          INTO CORRESPONDING FIELDS OF TABLE et_sess_list
          FROM dsvassessadmin AS sess JOIN service_posn_sm AS pos
            ON possession_id     = sesssessno
          FOR ALL ENTRIES IN lt_contractno
          WHERE sess~contractno = lt_contractno-contract_no
           AND sess~status IN lt_status_range
           AND bundle_id IN lt_bundle_id
           AND pos~solution_id GT 0
    This sql works well in dev system SD7, however, it causes dump in another dev system "SMV".
    Can anyone give me any ideas?
    Thanks

    Hi Jovito,
    This is info from ST22
    Short text
        SQL error in the database when accessing a table.
    What can you do?
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
    How to correct the error
        Database error text........: "SQL0101N The statement is too long or too
         complex. SQLSTATE=54001"    Internal call code.........: "[RSQL/OPEN/DSVASSESSADMIN ]"
        Please check the entries in the system log (Transaction SM21).
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
        "CL_AGS_SERVICE_SERV===========CP" or "CL_AGS_SERVICE_SERV===========CM018"
        "GET_OVS_SESSION_LIST"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
        4. Details about the conditions under which the error occurred or which
        actions and input led to the error.
        The exception must either be prevented, caught within proedure
        "GET_OVS_SESSION_LIST" "(METHOD)", or its possible occurrence must be declared
         in the
        RAISING clause of the procedure.
        To prevent the exception, note the following:
    It seems that after translation the native sql is too long. But I think this can be solved.

  • What are all information brought into database buffer cache ?

    Hi,
    What are all information brought into database buffer cache , when user does any one of operations such as "insert","update", "delete" , "select" ?
    Whether the datablock to be modified only brought into cache or entire datablocks of a table brought into cache while doing operations i mentioned above ?
    What is the purpose of SQL Area? What are all information brought into SQLArea?
    Please explain me the logic behind the questions i asked above.
    thanks in advance,
    nvseenu

    Documentation is your friend. Why not start by
    reading the
    [url=http://download.oracle.com/docs/cd/B19306_01/serv
    er.102/b14220/memory.htm]Memory Architecturechapter.
    Message was edited by:
    orafad
    Hi orafad,
    I have learnt MemoryArchitecture .
    In that documentation , folowing explanation are given,
    The database buffer cache is the portion of the SGA that holds copies of data blocks read from datafiles.
    But i would like to know whether all or few datablocks brought into cache.
    thanks in advance,
    nvseenu

  • Rendevous, AppleTalk, Open Directory, LPR: what does it all mean?

    I'd like to learn detailed basics of what all the terms mean when setting up a printer: AppleTalk, Rendevous, IP, Open Directory, LPR are some of the terms I've seen. What I'm looking for is maybe a 20-30 page document, detailed but simple, that explains what all this stuff is, and why it is there. I don't need set-up instructions (that should come with the printer I'm intending to buy), just an idea of what it all means so that if the manual says something like "The first thing you do is setup AppleTalk to Rendevous with IP, using Open Directory via LPR" I at least have some understanding of what the terms mean. As it is I don't have a clue.
    Anyone know of a book, website, downloadable pdf file that might help?
    Thanks in advance.

    846/3292
    Hi Guy,
    I find definitions of the few terms you mention, quite concise and clear in this document:
    - Apple Glossary
    HTH
    Axl

  • What does this mean? 'Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired'.

    Found this at the bottom of my disk repair list. It said 'Warning'.. is it something to be concerned about? Does it matter if it can't be repaired?
    Thanks!

    As long as the report ends up with 'Permissions repair complete' then, as far as permissions go, you are fine. You can ignore the various statements in the report:
    Permissions you can ignore on 10.5 and 10.6:
    http://support.apple.com/kb/TS1448?viewlocale=en_US
    Using 'should be -rw-r--r-- , they are lrw-r--r--' as an example, you will see the that the permissions are not changed, but the | indicates a different location. This is because an update to Leopard changed the location of a number of system components.
    Poster rccharles has provided this description of what it all means:
    drwxrwxrwx
    d = directory
    r = read
    w = write
    x = executeable program
    drwxrwxrwx
    |  |  |
    |  |   all other users not in first two types
    |  | 
    |  group

    owner
    a little more info
    Before the user had read & write. A member of the group had read.
    After, only the user had read & write.
    If you are running Panther or Tiger:
    http://support.apple.com/kb/TA21090

  • Jsp database access using odbc - please help

    Hi friends,
    I�m trying a very simple database access program in jsp data base access using odbc. Odbc has to be used because thin driver or other drivers may not be available in every system of our college and as you know it's not that easy to make changes to those systems. My problem is so simple. I always get an exception in my program.
    My jsp content is as simple as:
    <%@ page import="java.lang.*,java.sql.*,java.io.*,registerbean" %>
    <jsp:useBean id="db" class="registerbean" scope="session"/>
    <%
    String str="insert into reg values('" + db.getName() + "','" + db.getUname() + "','" + db.getPass() + "'," + db.getAge() + ",'" + db.getSex() + "','" + db.getAdd() + "','" + db.getUgcourse() + "','" + db.getUgqual() + "'," + db.getPer() + ",'" + db.getIadd() + "')";
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:yogaesh","scott","tiger");
    Statement stmt=con.createStatement();
    stmt.executeUpdate(str);
    }catch(Exception e1){out.println(str);};
    %>
    the table reg has the structure:
    Name Null? Type
    CNAME VARCHAR2(20)
    UNAME VARCHAR2(20)
    CPSWD VARCHAR2(20)
    CONFPASS VARCHAR2(20)
    CAGE NUMBER
    CSEX VARCHAR2(5)
    CADD VARCHAR2(100)
    COURSE NUMBER
    CQUAL VARCHAR2(10)
    CPER NUMBER
    IADD VARCHAR2(100)
    The registerbean.java file is as below: (This seems to work fine because I tried printing the values using <%= %> tag and it worked out fine and moreover the query string is intact.)
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    public class registerbean
    private String name,uname,pass,cpass,age,sex,add,ugcourse,ugqual,per,iadd,otherugqual,ccode;
    public void setName(String a)
    name=a;
    public void setUname(String a)
    uname=a;
    public void setPass(String a)
    pass=a;
    public void setCpass(String a)
    cpass=a;
    public void setAge(String a)
    age=a;
    public void setSex(String a)
    sex=a;
    public void setAdd(String a)
    add=a;
    public void setOtherugqual(String a)
    otherugqual=a;
    public void setCcode(String a)
    ccode=a;
    public void setUgcourse(String a)
    ugcourse=a;
    public void setUgqual(String a)
    ugqual=a;
    public void setPer(String a)
    per=a;
    public void setIadd(String a)
    iadd=a;
    public String getName()
    return(name);
    public String getUname()
    return(uname);
    public String getPass()
    return(pass);
    public String getCpass()
    return(cpass);
    public String getAge()
    return(age);
    public String getCcode()
    return(ccode);
    public String getSex()
    return(sex);
    public String getAdd()
    return(add);
    public String getUgcourse()
    return(ugcourse);
    public String getUgqual()
    return(ugqual);
    public String getPer()
    return(per);
    public String getIadd()
    return(iadd);
    public String getOtherugqual()
    return(otherugqual);
    I initially thought the problem was with str but then str seems to be perfect and I get a string of the form �insert into reg values('c','c','c',98,'Male','c','B.Tech, Applied Artificial Neural Networks','HSC',9898,'h')� which I verified through a javascript debugger. The session scope used is to get values through the db bean from another jsp file. The problem is in the executeUpdate() line of this code. I even tried changing the updation table, but in vain. What could be done to rectify this? Please help me out and please do remember that I have no option but to use odbc.
    Thanks in advance.
    R. Yogaesh.

    I didn't verify the type of exception and i'm now going to do that, but then when the string is as perfect as needed, what is the need for a prepared statement? What is the basic difference between the two? And basically what is the problem with this piece of code which creates an exception? Please reply as soon as possible.
    Thankyou very much.
    R. Yogaesh.

  • An error has occurred while accessing SQL database or system resources. If this is the first time you have seen this message, please try again later. If this problem persists, please contact your administrator.

    I have SP Server 2010, and when I try to DELETE a rule within an existing Audience, "Property (Account Name) = domain/username", I get this error, "An error has occurred while accessing SQL database or system resources. If this
    is the first time you have seen this message, please try again later. If this
    problem persists, please contact your administrator."  When I try to "MODIFY" the rule I get this error, "One or more values typed on this page are not valid. Check the text for the indicated fields." 
    The last time I checked it was working, I'm not aware of any new updates installed recently?  I did a full Profile Synchronization as well, but still not working, please advise? -- Evenstarline

    Hi Sara,
    First of all thank you very much for your prompt responses. Here are my comments to each of your suggestions below, and just to let you know I am using a Farm Admin account.  I
    was able to do this way after we upgraded from SP 2007 to SP 2010 as well.   I would like to mention I'm not a SP expert, just been given the responsibility due to another person handling it just left, so apologize with some of
    my novice questions below?
    1. When I change the Operators to "Contains" or "Not Contains" get generates this error below.
         Error generating in red towards top of the audience page..."One or more values typed on this page are not valid.  Check the text for the indicated fields."
         Error occurred where you enter your "Value"..."Could not resolve the user identity. Please re-enter the account name."
    2. We have a 3-server-tier topology (SPWeb, SPDB, and SPFarm).  Does the updates only apply to where the Central Admin is installed, which is the "SPFarm"?  I checked all
    3 servers, and NONE of the updates (KB2899494, KB2889845, and KB2883055) you'd mentioned are installed.
    3. I'm new to IISRET, I need to be extra cautious of what I run in production, is this safe to run with no problem?  What does it do?  And How do I run it?
    4. I'm also new to viewing the ULS log.  I'd just downloaded a viewer for it.  I'm assuming the only logs I need to be concern with viewing are within the SPAdmin (where Central
    Admin is installed)?  There's so many of them, what should I be looking for exactly?
    Evenstarline 

Maybe you are looking for