Using database without ODBC

It's possible to use a database without ODBC in Labview??

IDILIO wrote:
Hi Rolf,
At this moment I m using the Microsoft ODBC driver for Oracle and it works ok, but my problem is when i do several reads at the database it reflects in a big delay for the Front Panel.
As i know that the ODBC driver is a very slow method to access database i m searching for a faster way to do it. Do you have any suggestions?
It's not ODBC that is necessarily slow. It is usually the way you retrieve data that has a lot more influence on the speed of the data retrieval. In the case of the Microsoft ODBC driver it might be that this driver is not specifically optimized for speed for various reasons.
First implementing someone elses protocol is always difficult (not sure how well Oracle documents their protocol) and the temptation to stop when it is working rather than when it is working perfect is much bigger. Also it is of course not in Microsofts interest to provide you with a solution for Oracle that outperforms their own SQL Server interface so that is even one more incentive to stop when it is working rather than when it is working perfect.
Have you tried to use the Oracle ODBC drivers? They might be more optimized so that retrieving data through ADO can be faster.
Very important is how you retrieve the data however. The classical and simple way of retrieving data element for element is very slow. For this ADO/OLE DB has introduced rowsets which query several rows of a query result at once in one single driver request and then later allow the client to retrieve the elements locally into the native data. This is for remote databases always a huge performance improvement, since the bottle neck here is the network communication and not the memory manager or IO interface.So requesting one whole bunch of rows at once instead of element by element reduces the network traffic substantially and increases the performance at the cost of some extra memory usage for local caching. And the best thing is that the ADO rowsets can be mapped to ODBC cursor sets if the ODBC driver supports cursor sets and the ADO ODBC bridge does that transparently for you. Accessing ODBC directly you could also use cursor sets, but the API for doing that is really not for the faint hearted. ADO rowsets in comparison are very simple to use.
Try to read a bit about ADO database query optimizations on the web to get an idea of the techniques used and they usually can be quite simply translated to ADO methods as used in the Database Connectivity Toolkit or any of the other ADO based toolkits out there.
Rolf Kalbermatter
Message Edited by rolfk on 01-26-2007 04:14 PM
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • How to use database without wizard

    Can anyone help me to use recordsets without using the appwizard at the creation of my project?
    the purpose is to input on the database values from a form without using a database project, so in my MFC project I do the following and then I faced problems :
    In the class which I use the database I add the member variable
    CDatabase m-Mydatabase;
    on an "OnButton" function of this class I do :
    m_Mydatabase.Open(NULL,FALSE,FALSE,stringconnect)
    I have many dialog boxes, each dialog has a form from which I get data and put them on the database and vice versa.
    I create fo each dialog box a RecordSet, and I include the .h file of the record set in the dialog class in which I'm going to use it.
    So now how to use this recordset and put the values from controls to database ?
    thank's in advance.

    MFC? CDatabase?
    Hmmmm.....are you aware that this forum is for Java (a programming language) and you are asking a question about MFC (Microsoft C++ windows framework.)
    Perhaps if you could clarify the exact problem that you are having with java, jni or one of the other java libraries?

  • How do I send SQL statement to SQL Server and return data without using Database Connectivi​ty Toolkit?

    Hi,  I've been trying to figure out how to pull data out of my SQL Server databases and from reading some posts and doing some tests with examples, I can kind of get data connecting into my SQL server, but so far nothing that helps.  Is it possible to actually get data out of a SQL Server database without using the Database COnnectivity Toolkit?  and if so, how?  are there whitepapers and/or examples of this?  So far, I cannot find anything that works.  thanks.

    I haven't ever done it before in LabVIEW and don't have the time to do much of the research right now.
    That having been said, you will want to look for either a .NET library or an ActiveX control. Aside from the toolkit, you aren't going to find a native solution to LabVIEW - which means using other libraries. A quick google search returns this:
    http://msdn.microsoft.com/en-us/library/ms810810.a​spx
    which may help.

  • Elements 11 vs 13: how can I add a new place tag to my PSE13 database without using the wretched and totally inadequate map technology  that Elements 13 wants to impose.

    HI,
    I have recently installed Elements 13 having used Elements 11.0 successfully to build a database of 30,000 plus images indexed by place, people, and photo date. Elements 11 allowed me to add new places which are meaningful to me but which are a complete mystery to the mapping technology of Elements 13. For example some years ago I lived in London in a road called Argyle Road. In elements 11 I could enter the place tag as Argyle Road. In Elements 13 I am required to locate Argyle Road on the map, but the map presupposes that the Argyle Road I am referring to is in Ealing in West London. It is not!
      I now live in a place called Broadsands but the Elements 13 Map places this 0.5 miles away from what I would describe as Broadsands.
      So the question: how can I add a new place tag to my database without using the wretched and totally inadequate map technology  that Elements 13 wants to impose.

    Thank you for your quick response, BalusC. I really appreciate your answer.
    Yes, you are right. If I manually code the same amount of those components in the JSF pages instead of generating them dynamically, the server will still run out of memory. That is to say, JSF pages might not accommodate a great deal of concurrent visiting. If I upgrade the server to just allow 1,000 teachers making their own test papers at the same time, but when over 2,000 students take the same questionnaire simultaneously, the server will need another upgrading. So I have to do what you have told me, using JS+DOM instead of upgrading the server endlessly.
    Best Regards, Ailsa

  • Is it possible to use SCOM without an Opertaional database?

    Is it possible to use SCOM without an Opertaional database? (and without the data warehouse).

    Hi,
    No, it is not possible, you must at least have the Operational Database. But please check Microsoft Monitoring Agent, is that what you are looking for?
    Monitoring with Microsoft Monitoring Agent
    http://technet.microsoft.com/en-us/library/dn465153.aspx
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to delete/drop all the tables from SQL Server Database without using Enterprise Manager?

    How to delete/drop all the tables from SQL Server Database without using Enterprise Manager?
    I tried using DROP Tables, Truncate Database, Delete and many more but it is not working.  I want to delete all tables using Query Analyzer, i.e. through SQL Query.
    Please help me out in this concern.
    Nishith Shah

    Informative thread indeed. Wish I saw it early enough. Managed to come up with the code below before I saw this thread.
    declare @TTName Table
    (TableSchemaTableName
    varchar
    (500),
    [status] int
    default 0);
    with AvailableTables
    (TableSchemaTableName)
    as
    (select
    QUOTENAME(TABLE_SCHEMA)
    +
    +
    QUOTENAME(TABLE_NAME)
    from
    INFORMATION_SCHEMA.TABLES)
    insert into @TTName
    (TableSchemaTableName)
    select *
    from AvailableTables
    declare @TableSchemaTableName varchar
    (500)
    declare @sqlstatement nvarchar
    (1000)
    while 1=1
    begin
    set @sqlstatement
    =
    'DROP TABLE '
    + @TableSchemaTableName
    exec
    sp_executeSQL
    @sqlstatement
    print
    'Dropped Table : '
    + @TableSchemaTableName
    update @TTName
    set [status]
    = 1
    where TableSchemaTableName
    = @TableSchemaTableName
    if
    (select
    count([Status])
    from @TTName
    where [Status]
    = 0)
    = 0
    break
    end

  • Add rows to a Table object without using database .

    Hi everyone ,
    I'm using visual web javaServer faces framework in Netbeans IDE 6.5.I want to use a Table and bind data to it row by row ,without using database.I dont know how i must do it. i searched and find nothing exept dataprovider that as i undrestood, it use just database to bind data to a table.
    i have a string in a loop that i want to devide it to several substrings and these substrings will be each field of each row and at the end of the loop,the number of rows are equal to reapiting the loop.
    I'll appreciate any help in this matter
    Best Regard,
    Fatemeh

    My Dataout variable contains a long string of personal information. Information such as Name, Family name, Father’s name, Date of birth, National code, Nationality.
    I want to make a personal information table with above mentioned information, whereas Name, Family name, Father’s name, Date of birth, National code, Nationality will be my column values. The number of its row depends on the times that the loop is repeated.
    I can make a JTable by defining an array[6] as above, but this table doesn’t appear in Visual Web javaServer faces framework. I want to be able to do what JTable does in the Table component in visual designer. Can anybody help me?
    Thanks in advance

  • How to use Database adapter as inbound adapter without having polling strategies?

    Hi All,
    I have a requirement wherein I have to use Database adapter to retrieve the data for every half an hour from one(X app) database and update that data into another application(Y app) .That database adapter will be along with BPEL process.My Flow would be like this:
    Database Adapter( In 'exposed services' section) ----->   BPEL (in 'Components') -----> Y app service( in 'External References' section)
    My questions for each step are below
         1) I have to retrieve the data from database(x app database) for every half an hour.So I have to schedule my whole process such that it should execute for every half an hour.
    Means I have to get  whatever the data is updated in the last half an hour in that database.
          The database adapter should be inbound in SOA composite editor(in 'Exposed services' section).
    But in order to have inbound adapter,we have select the 'Poll for New or Changed Records in a Table' option in turn we have to select one of polling operations below:
             Delete the Row(s) that were Read
    Update a Field in the [Table_Name] Table (Logical Delete)
    Update a Sequencing Table
    Update an External Sequencing Table on a Different Database
    Control Table Strategy
    But the problem is I don't have any control on the database(X app database) ,So (I can't update any data on that table,because that table may not have a field or table to update the processed rows)I can't choose any of the above operations.
    How can I achieve what I want that is to retrieve the data and schedule the process?
    Thanks in advance.

    Hi Heckler,
      Thank you very much for your answer that I can proceed further somehow.
    I still need to have some clarifications.
    In order to have a process which retrieves the data (Inbound operation) and updates the data into other application, the data(from X app)  should be the request(through DB adapter) of the BPEL process.
    X app does not do anything to send.We have(the BPEL process) to receive the data (or) no event is triggered.
    The flow :
    Database Adapter( In 'exposed services' section to retrieve data) ----->   BPEL (in 'Components') -----> Y app service( in 'External References' section)
    How can we ensure the data will be  request to BPEL process(means it will be in 'exposed services' section in SOA composite editor) for every half an hour if we use pick activity and database adapter as first activity?
    When we use ''Poll for New or Changed Records in a Table' ,then only adapter becomes inbound and comes into the 'exposed services' section.I can't use it as I don't have any control on the source table.
    I have this confusion before starting the process.Please help me to clear out the doubts.
    And this whole process should be executed automaticallly for every half an hour(means it creates instance for every half an hour)  Once we build the BPEL process.
    How to schedule it?
    And where do I need to create control table ?You mean I have to use some different database where in I have to create the table?

  • Can dw cs3 connect directly to sql server database without a testing server?

    I'm new to dreamweaver but have used script tools that link
    directly to my sql server database.
    Not in dw, so far. As of this early stage, I don't have or
    want to use a web server, and it's blocking me
    without one. I just want to prototype without a testing
    server, directly to my database. And while I'll try php
    later, I didn't want to have to get into it or cold fusion,
    etc. right away.
    Can dw connect directly to sql server database without a
    testing server?
    I'm running XP sp 3 at this point, and don't see IIS. There's
    probably some security issues
    I'll have to tangle with. The goal is for my website to end
    up on the company intRAnet, not the www.
    fwiw, I can Build in Data Link Properties and get a
    successful test to my sql server database via
    Microsoft Data Link, but once I go back and try the test in
    OLE DB Connection it balks on the testing server,
    as I don't have one locally or otherwise. Isn't there a way
    to link to db without a testing server?
    Thanks for any insights.

    Art wrote:
    > You can connect to SQL server using ODBC in windows.
    Yes, you can. However, Dreamweaver's PHP server behaviors
    work only with
    MySQL. To connect to any other database, you need to hand
    code
    everything yourself.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Do I have to install SharePoint Foundation 2013 via a script in order to name my content databases without the GUID references?

    Hi,
    I want to install SharePoint Foundation 2013 on a standalone server with SQL Express but I want to be able to name the content databases without their GUID references. Will I have to use an install script (AutoSPInstaller perhaps?) to achieve this?
    Thanks.

    You can't do a standalone install if you want the alias (also if you plan to move the databases in the future)
    You'll need to create the alias before you create the farm with the Configuration wizard or PowerShell so you can specify the alias. Whether you create the alias before or after installing SQL Express doesn't matter as long as it points to the instance.
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • Is there any way to use iPhoto without it moving my files?

    I tried to use iPhoto ONCE last yer when I bought my Mac Mini, and it moved all my photo files around as it pleased, is there any way to stop it fro moving my files? I like the folder/file structure I have given my pictures and I do not need to have that managed.
    At the moment I am using Picasa but I would like to know if it is possible to use iPhoto without it deciding what to do with my files.
    Thanks!

    No
    It is a SQL database and it must control its database - like any database program
    as long as you think of managing files rather than managing photos it is not the program for you - once you think of managing your photos then having the poser of a database for that will be obvious - if that is not what you want then do not use it
    BTW - iPhoto does not ever "move" your files - it makes a copy of each photo in its database and manages it there - your files are never touched
    LN

  • TNS-12666 error occures when using database link

    When I am trying to use database link
    defined in my database the following error occures:
    TNS-12666 Dedicated server: outbound transport protocol different from inbound.
    In documentation is stated to resolve such an error to
    specify the same protocol in the SQL*Net connect string or alias for the outbound connection as that used for the inbound connection.
    I have in tnsnames.ora defined network service name
    by which I can connect to such a database by SQL*Plus
    without any problems, why can I not do such a thing
    via database link?
    Thanks a lot for advise, ...

    Could you change the following entry in your 'sqlnet.ora' file and try?
    SQLNET.AUTHENTICATION_SERVICES = (NONE)

  • Using database views in ADF mobile client application

    Hi,
    I am using Jdeveloper 11.1.1.4 and WLS 10.3.4.
    I have developed a POC in ADF mobile client application both with and without synchronization. However, both work with entity objects based on tables.
    I need to use database views instead of tables. When I try to include entity object (based on views) in the view object, it shows an error saying "Only the entity objects based on tables can be selected"
    Please guide me if there is a work around for this.
    Also, please let me know if there is way to develop an ADF mobile client application skipping the use of entity objects at all and using view objects directly to specify the database query and fetch data from the database.
    Thanks in advance.
    Ansh
    Edited by: ansh on Mar 28, 2011 5:40 AM

    Hi, Ansh:
    Currently, out of box, ADF Mobile Client does not support synchronization against Database Views. This is because Mobile Server imposes some schema restrictions to ensure synchronization with multi-table views would work correctly. This schema restriction requires, for example, the view must have a primary parent table with key defined, and also all base table must be included in the data publication. These dependencies requires manual resolution and advanced planning, and is managed outside of the ADF Mobile Client/JDeveloper project.
    To continue development, you would need to create server Entity Objects directly against the base tables. You can then create the mobile ADF Business Component (EOs, VOs, etc). You can then create View Objects in your ADF Mobile Client application based on the database views, in order to retrieve the data you need exactly. In other words, instead of basing EO on the database view, create View Objects in the mobile applicaiton to mimic what you had in the View Object.
    Is there any other reason why you would need to access data via database views, instead of directly against base tables?
    Thanks,
    Joe Huang

  • How can I create a data connection without ODBC (directly with OLE DB)

    If connecting to an OLE DB data source, which is not defined as ODBC, the well known error message appears in Acrobat, that the environment is not trusted. The Designer Help says, that the document must be certified in Acrobat to run OLE DB without ODBC. So I certified the document in Acrobat allowing dynamic content for it. But the error message always appears. So I have some questions to this:
    How is the correct certification process in Acrobat to define a trusted environment for using OLE DB without ODBC?
    Why generates using of ODBC an trusted environment? With using ODBC data sources can be changed external from Acrobat, so I must think, ODBC is absolutely insecure.
    Why is OLE DB without ODBC insecure? Here I have a defined connection string, which cannot be changed at runtime (if the form developer this doesn't want).
    And why is the first record displayed instead of the error message, if using OLE DB without ODBC, but navigation is impossible?
    This seems all very mysterious to me.
    Does anyone in the world has ever created an OLE DB data connection (without ODBC) with Designer and Acrobat, which runs in a trusted environment?
    Thanks for your answers.
    Michael

    For the Projects, the trick will be the Asset files. If they will fit onto DVD DL discs, you're OK. If they are too large (DV-AVI is ~ 13GB per hour), then you'll need some type of backup, or spanning software, that will write files across multiple discs. A better choice, IMO, would be a 1 - 2 TB external, where you can use Project Manager, or just Windows Explorer and Copy, to do the entire Project folder with Assets. I'd recommend against a USB and go at least for FW-400. FW-800 would be better, but you'll need FW-800 connections on your computer. eSATA would be the best, but then you'll need eSATA connectors.
    Good luck,
    Hunt

  • Migrate to Windows 2012 R2 and Exchange 2013 SP1 using database portability

    Hi, I'm planning to migrate from Exchange 2013 SP1 running on Windows 2012 to Exchange 2013 SP1 on Windows 2012 R2.
    Is it possible to use database portability to move the databases from the exchange installation on win 2012 to the new installation on Win 2012 R2? This would save a great deal of time not doing the mailbox moves.
    I've searched similar cases but couldn't find any, all speak about disaster recovery and database portability but I've found no articles that uses the migration scenario.
    Would it be possible to do and if so, what would the steps be? Do I need to delete the database from the source server, move the database files to the new server and mount them and relocate the mailboxes? Or should I dismount the database on the source server,
    move them to the new server and mount them and relocate the mailboxes?
    Frank.

    Hi,
    According to your description, I recommend you consider using DAG to achieve your requirement.
    The following steps for your reference:
    1.Prepare a new server which installed windows 2012 R2 for Exchange 2013 mailbox server.
    2.After you deploy Exchange 2013 Mailbox servers, you can create a DAG, add Mailbox servers to the DAG, and then replicate mailbox databases between the DAG members.
    3.After replication, you can mount all the databases on the new server.
    Hope this helps!
    Thanks.
    Niko Cheng
    TechNet Community Support
    This no way a resolution. This won't work at all as Both OS will be different and you can't form the Cluster.
    Please Unmark it!
    Cheers,
    Gulab Prasad
    Technology Consultant
    Blog:
    http://www.exchangeranger.com    Twitter:
      LinkedIn:
       Check out CodeTwo’s tools for Exchange admins
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Maybe you are looking for