How to setup ODBC query with schema

I am trying to setup DIAdem to query a SQLserver database that was orginally created by Rockwell's Historian (a PLC database). This database is structured around a schema called "RSBizWare". To properly query the database, this schema name must be in the naming structure. I have been attemping to use some of the SQL examples posted in this forum but I cannot figure out how to include this schema field. Any help would ba appreciated.
Thanks

Hi RandallW,
You have two options, you can set up a Windows ODBC Administrator profile that successfully applies the required schema, then use the DIAdem ODBC functions, which all start with SQL_...(), or you can construct an ADO connection string which successfully applies the required schema, the use native Windows ADO objects in a VBScript to query the data base.  If both are available, and you have DIAdem 10.1 or higher, I would recommend the ADO approach.  I really don't know how to tell you to apply this schema in your connection to your data base.  Do you have any other software that can connect to that data base?  There may be information on connecting to that data base available on the web.  Once you can connect to it, we can help you use that connection in DIAdem.
Brad Turpin
DIAdem Product Support Engineer
National Instruments

Similar Messages

  • How to setup the portal with the uniform style for SRM + Esourcing?

    how to setup the portal with the uniform style for SRM + Esourcing? We will setup SRM 7 + esoourcing + portal, but as we know esourcing screen style is not same with SRM, so how to uniform the style between this 2 diffirent software?  any body have idea?

    Hi,
    SAP E-Sourcing 6.0 is the solution. It is same look&feel.
    Regards,
    Masa

  • How to write sql query with many parameter in ireport

    hai,
    i'm a new user in ireport.how to write sql query with many parameters in ireport's report query?i already know to create a parameter like(select * from payment where entity=$P{entity}.
    but i don't know to create query if more than 1 parameter.i also have parameter such as
    $P{entity},$P{id},$P{ic}.please help me for this.
    thanks

    You are in the wrong place. The ireport support forum may be found here
    http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=showcat&catid=9

  • Can anyone tell me how to setup odbc driver and configure in the setup

    Can anyone tell me how to setup odbc driver and configure in the setup

    You can't switch languages in OS X programs, just in the OS itself. Insert the Leopard OS X disc, and choose your new preferred language when prompted.

  • How to create sap query with "or" relationship

    dear experts,
    I need a report to display the employee whoese WSR is
    changed in the month for infotype 0007.
    that is ,we want to search with selection
    begda OR endda between 2008-01-01 and 2008-01-31.
    how to create sap query with "or" relationship?

    hi use like this,
    CALL FUNCTION 'HR_READ_INFOTYPE'
      EXPORTING
        pernr                 =  p_pernr
        infty                   =  '0007'
       BEGDA                =  p_date1
       ENDDA                 = p_date2
      TABLES
        infty_tab             = itab .
    hi use this by passing the pernr to fm and giving the dates low and high in the p_date1 and p_date2.
    loop at itab where condition.
    endloop.
    may it helps u,
    regards,
    venkat.

  • How to map a query with the Multiprovider?

    Hello All,
    Can any one please tell me how to map a query with a multiprovider?
    Appreciate your help.
    Regards,
    Soumya.

    Hi,
    Can you please elaborate , do you mean how to create a query with multiprovider. if that is your question it is very simple just create the query on the multiprovider.
    What is the purpose for mapping the query with multiprovider

  • How to build this query with the minumum number of sub-selects?

    The question I am trying to answer is analogous to this:
    Give me all projects that: (have no employees assigned and are small) or (have only employees with the the last name = "Smith")
    Thanks,
    Roman

    Thank you :
    1- I am in 9.0.4.8 version and can not use allOf expression (availible in beta version)
    2- I not find .notIn(subQuery) operator in 9.0.4.8 version and i replace it by .in(subQuery).not() !
    My new query retrieve Customer who have 0 (zéro) Orders !
    How to retrieve only customer (with orders + with orders without "television") ?
    My new query is :
    <div align="left" class="java">
    <font color="#7f0055"><b>static </b></font><font color="#7f0055"><b>void </b></font><font color="#000000">findCustNoComputer </font><font color="#000000">(){</font>
    <font color="#ffffff">   </font><font color="#000000">ClientSession cs = TopLinkSession.acquireClientSession</font><font color="#000000">()</font><font color="#000000">;</font>
    <font color="#ffffff"></font>
    <font color="#ffffff"></font>
    <font color="#ffffff">  </font><font color="#000000">ReadAllQuery query = </font><font color="#7f0055"><b>new </b></font><font color="#000000">ReadAllQuery</font><font color="#000000">(</font><font color="#000000">Customer.</font><font color="#7f0055"><b>class</b></font><font color="#000000">)</font><font color="#000000">;</font>
    <font color="#ffffff">  </font><font color="#000000">ExpressionBuilder queryBuilder = query.getExpressionBuilder</font><font color="#000000">()</font><font color="#000000">;</font>
    <font color="#ffffff"></font>
    <font color="#ffffff">  </font><font color="#000000">ExpressionBuilder subqueryBuilder = </font><font color="#7f0055"><b>new </b></font><font color="#000000">ExpressionBuilder</font><font color="#000000">(</font><font color="#000000">Customer.</font><font color="#7f0055"><b>class</b></font><font color="#000000">)</font><font color="#000000">;</font>
    <font color="#ffffff">  </font><font color="#000000">ReportQuery subQuery = </font><font color="#7f0055"><b>new </b></font><font color="#000000">ReportQuery</font><font color="#000000">(</font><font color="#000000">Customer.class, subqueryBuilder</font><font color="#000000">)</font><font color="#000000">;</font>
    <font color="#ffffff">  </font><font color="#000000">subQuery.addAttribute</font><font color="#000000">(</font><font color="#2a00ff">&#34;id&#34;</font><font color="#000000">)</font><font color="#000000">;</font>
    <font color="#ffffff">  </font><font color="#000000">subQuery.setSelectionCriteria</font><font color="#000000">(</font><font color="#000000">subqueryBuilder.anyOf</font><font color="#000000">(</font><font color="#2a00ff">&#34;Orders&#34;</font><font color="#000000">)</font><font color="#000000">.anyOf</font><font color="#000000">(</font><font color="#2a00ff">&#34;OrderItems&#34;</font><font color="#000000">)</font><font color="#000000">.get</font><font color="#000000">(</font><font color="#2a00ff">&#34;product&#34;</font><font color="#000000">)</font><font color="#000000">.get</font><font color="#000000">(</font><font color="#2a00ff">&#34;productName&#34;</font><font color="#000000">)</font><font color="#000000">.equal</font><font color="#000000">(</font><font color="#2a00ff">&#34;Computer&#34;</font><font color="#000000">))</font><font color="#000000">;</font>
    <font color="#ffffff">  </font><font color="#000000">query.setSelectionCriteria</font><font color="#000000">(</font><font color="#000000">queryBuilder.get</font><font color="#000000">(</font><font color="#2a00ff">&#34;id&#34;</font><font color="#000000">)</font><font color="#000000">.in</font><font color="#000000">(</font><font color="#000000">subQuery</font><font color="#000000">)</font><font color="#000000">.not</font><font color="#000000">())</font><font color="#000000">;</font>
    <font color="#ffffff"></font>
    <font color="#ffffff">   </font><font color="#000000">Vector allCustomers = </font><font color="#000000">(</font><font color="#000000">Vector</font><font color="#000000">)</font><font color="#000000">cs.executeQuery</font><font color="#000000">(</font><font color="#000000">query</font><font color="#000000">)</font><font color="#000000">;</font>
    <font color="#ffffff">   </font><font color="#000000">Iterator allCustomersIterator = allCustomers.iterator</font><font color="#000000">()</font><font color="#000000">;</font>
    <font color="#ffffff">   </font><font color="#7f0055"><b>while </b></font><font color="#000000">(</font><font color="#000000">allCustomersIterator.hasNext</font><font color="#000000">()) </font>
    <font color="#ffffff">   </font><font color="#000000">{</font>
    <font color="#ffffff">     </font><font color="#000000">Customer tempCustomer = </font><font color="#000000">(</font><font color="#000000">Customer</font><font color="#000000">)</font><font color="#000000">allCustomersIterator.next</font><font color="#000000">()</font><font color="#000000">;</font>
    <font color="#ffffff">        </font><font color="#000000">System.out.println</font><font color="#000000">(</font><font color="#000000">tempCustomer</font><font color="#000000">)</font><font color="#000000">;</font>
    <font color="#ffffff">   </font><font color="#000000">}</font>
    <font color="#ffffff">   </font><font color="#000000">cs.release</font><font color="#000000">()</font><font color="#000000">;</font>
    <font color="#000000">}</font>
    <font color="#ffffff"></font>
    <font color="#ffffff"></font>
    Sql of query :
    SELECT
         t0.CUST_LAST_NAME, t0.CUST_FIRST_NAME, t0.CREDIT_LIMIT, t0.CUST_EMAIL, t0.CUSTOMER_ID, t0.PHONE_NUMBER2, t0.PHONE_NUMBER1, t0.CUST_STREET_ADDRESS1, t0.CUST_CITY, t0.CUST_STREET_ADDRESS2, t0.CUST_STATE, t0.CUST_POSTAL_CODE
    FROM TL_CUSTOMER t0
    WHERE NOT (
         (t0.CUSTOMER_ID IN
              (SELECT DISTINCT t1.CUSTOMER_ID
              FROM TL_CUSTOMER_ORDER t4, TL_ORDER_ITEM t3, TL_PRODUCT t2, TL_CUSTOMER t1
              WHERE (
                   (t2.PRODUCT_NAME = ?) AND
                   ((t2.PRODUCT_ID = t3.PRODUCT_ID) AND
                        ((t3.ORDER_ID = t4.ORDER_ID) AND (t4.CUSTOMER_ID = t1.CUSTOMER_ID)))))))
    Regards

  • How to setup a group with autentication

    Hi, Every body,
    I am new in this forum, I found Stratus is a so exciting platform, now I need your help.
    I want to setup a group with posting autentication, in the group, some one has the posting right, others have not. I found the "groupspecWithAuthentication, groupspecWithoutAuthentication,  encodePostingAuthorization,setPostingPassword" etc. but I cant understand how to use them.
    I have dived in this forum and the reference of Stratus 2.0 beta( here) for several days, and I have tried the samples posted by Mike, and I have study almost all threads in this forum, but I still cant find the clue.
    Please help me out, thanks advanced,

    Thank you, Mike, for your timely reply. Forgive me the delay, because now is our most important festival, I just back from a party.
    Now I understand, but I still wonder,
    1. if a group is in running, and a authorized user has joined. Now he misdoes, I want to withdraw the authentication, how can I? revise the password and recreate the group?
    2. How can I setup a group, just authorized users can join? I know I can use secret group name, but if authorized user divulge the group name, others without autentication can join the group too. ( because the swf easy to reverse, hacker can sniff the opaque groupspec string, revise the swf, impersonate authorized user, etc).
    3. How can I banishment a misdoer from my group?
    Thanks again for your time.

  • How to force readObejct query with PK value to go to DB?

    The default behaviour for read-object queries with a PK value is to use the cache and not go to the database. How can we change this behaviour?
    We have cases that a row was deleted by some other process not through toplink, but the corresponding object still in the cache and if you use the readObject query with PK value, the object will be returned as result.
    Thanks in advance,

    There are several mechanisms to disable caching in TopLink. Note that disabling caching will affect your performance.
    In 9.0.4 you can use:
    - You can configure you cache type to use a WeakIdentityMap to ensure that only referenced objects are cached.
    - On descriptor you can call disableCacheHits() and alwaysRefreshCache() in code or click these options on the Caching/Identity tab in the Mapping Workbench.
    - Or to explicitly remove a deleted object from the cache uses session.removeFromIdentityMap(), but you must ensure there are no other objects referencing it.
    In 10.1.3 you can also use:
    - On descriptor you can call setIsIsolated(true) in code, or select isolated in the Caching tab in the Mapping Workbench.
    - Alternatively you can set a CacheInvalidationPolicy on your descriptor to ensure objects are not cached for longer than a specified time, or invalidated daily.
    - Or to explicitly invalidate a deleted object use, session.getIdentityMapAccessor().invalidateObject()

  • How to Transpose the Query with following result

    Dear All,
    Can anyone tell me a method of transposing my result of the following query
    Details can be found at
    http://obiee11ge.blogspot.com/2010/07/how-to-transpose-query-with-following.html
    Regards
    Mustafa

    Hi,
    Try this
    Create a combined request with,
    criteria 1 : Dummy, Revenue (Actual),Cogs(Actual), Opex(Actual), PL(Actual)
    in the dummy column fx enter the value as 'Actual'
    criteria 2 : Dummy, Revenue (Yago),Cogs(YAgo), Opex(Yago), PL(Yago)
    in the dummy column fx enter the value as 'Yago'
    criteria 3 : Dummy,Revenue (Budget),Cogs(Budget), Opex(Budget), PL(Budget)
    in the dummy column fx enter the value as 'Budget'
    Now go to the result columns and set the coumn names (Revenue, Cogs, Opex, PL) for the result set.
    For the Dumny remove the column heading.
    In table view you will get the result.
    Thanks,
    Vino

  • How to setup Slingbox AV with Linksys E2500

    I just purchased a new Linksys E2500 and I am unable to setup internet viewing with it.  I have went in and done the port forwarding and still I have not had any success.  I would appreciate any helpful information.

    So the concern that you said is the configuration of the Router ( E2500 ) at home.. So could please inform us the name of the ISP( Internet Service Provider )... So it all depends upon the ISP( Internet Service Provider ) setup...
    If you want to configure the router with the help of the CD so for that you need to unistall the existing Cisco Connect Software from the computer...
    Reset the Router and power cycle the network...Make the following connectivity:
     Modem ----> Router -----> Computer
    They all should be connected with the Ethernet Cable... Then install the Cisco Connect Software... It will help you in configuring the Router...
    As far as Slingbox is concern you did port forwarding but until and unless you are not online it would work....

  • How to setup remote access with E4200?

    Hi,
    I am new to this and I need help from you all on how to setup the E4200 so that I can access the media server when I am in office?  Is there a guide or step by step procedure on this?  I was browsing on the Cisco website and unable to find it. 

    The purpose of using DDNS is it substitutes the public/WAN ip address provided by your ISP.We all know that the ip address provided by our ISP(if we are not subscribe to a premium static ip address) is basically public and will always change from time to time.So it will be difficult for us to know what's the ip address our ISP has provided us and this will lead us problems accessing our router or ftp server remotely. Thus by using DDNS' it will now allow us to access the router remotely without knowing what's the WAN ip address.

  • How to create the query with multiple node types

    Hi,
    I am having an issue in creating a query to search multiple node types.
    The requirement is to query documents/pages of the type dam:Asset and cq:Page present under a path.
    I tried the following code snippet with no luck .
    path=/content
    1_type=cq:Page
    2_type=dam:Asset
    property=jcr:content/metadata/@cq:tags
    property.1_value=<tag Name>
    I was able to write a query with single type. However i could not find any documents/ materials with multipe types as shown above.
    Thanks in advance.
    Regards
    Sudhi

    I don't think multiple type is possible. Instead use super type like nt:base that will cover both page and asset.
    Yogesh
    www.wemblog.com

  • How to setup wireless printing with AirPort Express?

    Hey, I just bought a AirPort Express today and I can't figure out how to setup the usb wireless printing. Could someone explain in detail on how to do this? Thanks-Michael
    I have a Windows 7 64-bit PC and a Hp Deskjet F380 USB printer.

    Download the install Bonjour Print Services for Windows v2.0.2
    Run the program. Hopefully, your printer will be recognized.
    If it is, "install" the printer and try to print.
    Keep in mind that if you have an All-in-One type of device, that only the print function will be supported.
    Advanced features like copy, scan, maintenance, etc are not supported. You will need to connect the All-in-One directly to your PC if you need those services.

  • How to use power query with sitecatalyst

    Hello,
    I need to use power query to import a table from sitecatalyst. Doing some tests I found that If remove the session from the url that has the report parameters, the app will redirect me to the login page, after entering the company, username and password
    it will load the report page with the data according to my filters.
    When I add the report url on the From Web option, excel does not allow me to add credentials. If I add the login+redirect url it allows me to add user/password but does not load the tables that appear on a regular browser.
    Is it possible to consume sitecatalyst without using Report Builder? If not, how you access the security info after you added the url.
    Thanks.

    To the best of my ability to tell, the right way to use this product from within Power Query would be to use its API. Unfortunately, we don't currently support either of the methods needed to be able to authenticate with the service (OAuth 2.0 and a relatively-custom
    digest-based method). Adding a mechanism to allow use of arbitrary OAuth-protected resources is a fairly high priority for us, and I hope we'll be able to deliver something before mid-2015.
    Scraping the website is very hard to do well -- both from an authentication and from a data discovery perspective.

Maybe you are looking for

  • ITunes library issue - different library on my iPhone

    I have an iPhone 3GS with the latest iOS on it, and I had recently restored it from a backup on my computer.  It had crashed during an iOS update, so I did a restore and then did the update again, and everything worked.  I had even worked on my libra

  • Aperture 3.1 won't open after 10.6.8 update

    I've been working with Aperture 3.1 for awhile and recently updated to Snow Leopard 10.6.8. Aperture will not open after the update. I receive an error message that says I need to update Aperture, that it may not be compatible with my current version

  • I can't buy anything in Empire Z game.

    anymore

  • Nokia E75 Contact Database Trouble

    Greetings: I bought a Nokia E75 phone in the Middle East 2 months ago.  Ever since I purchased it, I am not able to edit my contact info to include anything but the mobile number.  i cannot edit the label or enter any other fields to add addresses or

  • ITunes Crashes when i attempt to search in the store

    I'm using an HP laptop running Windows 7 and get the following error when i search for anything in the apple store. Runtime Error! Program: C\Program Files (x86)\iTunes\iTunes.exe R6025 -pure virtual function call Details: Problem signature:   Proble