Table of DB tools list: how to access tables that are in the different SQL database?

Hi all

I work on an implementation of database (SQL server) and evaluates the Toolkit OR DB for this project.

One of the requirements is that I need access to the tables that are in two different database

(say Table to 1 DB and Table B to 2 DB).

Our IT guy linked table in DB1 to DB 2 and I verfied this when I use the SQL server management studio.

When DB 2 tables is filled, table from DB1 is also there. I can also do the same thing using MS Access.

Table A of the DB1 is available for me enven if I only connect to 2 DB.

Here comes the problem.

When I use DB tool list Table.vi to access DB2, it does NOT list A table in DB1. It list only the tables in

the database (DB2) which I am connection (using DB tool opened Connection.vi with a file DSN)

So my work around right now is to open a separate connection both DB1 and DB2. However, this approach

obviously creates a problem when I have to access a separate database constantly in my application.

What would be a solution to this? I have search the Forum but only to see a post that is somewhat related to

My question. (And it was published the 2004) Maybe I need to change the code in the orignial VI (DB tool list Table.vi)?

My computer guy told me that he has not met this scenario since he wrote code in another environment such as

VB and others and it has always been successful in linking the different database tables.

I hope my question is clear and healthy because I don't really know much about database terminology.

Any comment or suggestion is appreciated!

Thank you

Chad

Ok.  Here is some information that I can work with.  Good.

Your COMPUTER staff created a view called "VISUAL_WORK_ORDER".

A view isn't a table.  It is a "virtual" table  Views are used to collect data (usually) in several different tables.

But I guess that the code inside the DB tool list Table.vi returns a list of tables.  Views are not the tables.  Then "VISUAL_WORK_ORDER" does not appear in the list.

HOWEVER, this should not really matter.  The view is here!  And it can be queried like any table.  So, you can use DB tools Select Data.VI... and wire in "VISUAL_WORK_ORDER" as the name of the table.  This will return the contents of the view.  Alto!

Tags: NI Software

Similar Questions

  • How to get data that are created the or before the last Wednesday

    Hi, can someone please tell me how to write a query to retrieve the data that are created the or before last Wednesday.

    Thanks in advance...

    Hello

    Here's one way:

    WHERE created_date< next_day="" (="" trunc="" (sysdate="" )="" -="">

    , "THURSDAY".

    )

    "Before Thursday' means the same as 'the or before Wednesday '.

    This assumes that NLS_DATE_LANGUAGE is English.  If you are not sure what is NLS_DATE_LANGUAGE, you can do this:

    WHERE created_date< next_day="" (="" trunc="" (sysdate="" )="" -="">

    , TO_CHAR (DATE ' 2014-03-06' - or any Thursday)

    , 'DAY '.

    )

    )

    There is nothing magical about March 6, 2014; will do any Thursday.  To_char will return the translation of 'Thursday' in all that is the current NLS_DATE_LANGIUAGE, and NEXT_DAY can use this value.

  • How to access a certain date in the date and time field SQL Server

    I have a field named job_date in a table in my database of the 8 SQL Server.

    The data type is datetime.

    Thus, the values for the fields as the 2013-03-11 15:55:52.000 look.

    How to query this field to include only the values of a certain date?

    For example

    < cfquery name = "get_job_name" datasource = 'abc' >

    SELECT FROM job_info job_date WHERE Job_name = March 12, 2013"

    < / cfquery >

    When I query the field now I get NO RECORDS.

    This is because as the fields like this 15:55:52.000 2013-03-11. instead of this March 12, 2013"

    How to access a certain date in the date and time field SQL Server when its formatting as this 15:55:52.000 2013-03-11. ?

    where job_date > = TheDateYouWant

    and job_date<>

    In addition, the format is irrelevent.  The only issue of date formats time is when you want to display.

  • How to access Windows 8 PC on the Internet with remote desktop connection?

    Hello

    Can someone tell me how to access Windows 8 PC on the Internet with remote desktop connection?

    I'm good with the software and I have used many Microsoft software since the 1980s. So I like Microsoft products, but since they have outsourced their tech support, you can't support quality even if you pay for it. I followed all the instructions in the Windows 8 will help about DRC setting screens, but I can't connect unless I'm on the same home network. Here are the details:

    I have a desktop PC with Windows 8 Pro and I have authorized the DRC. I tried two settings in system properties:

    1. Allow connections to this computer remotely.
    2. That allow the connection of computers running Office remotely with authentication NLA.

    I also turned on both private and Public Windows Firewall settings > allow an App or feature through Windows Firewall.

    I have installation then DRC to my laptop with Windows 8 (standard edition, not the Pro version). I have a DRC using the full name of the computer and other DRC using the static IP address for my ISP Desktop connection.

    I use the user account administrator Windows for connections of DRC of the laptop.

    I cannot get this to work on the Internet from a location outside my house with another ISP connection. The only way it works if I'm uncomfortable with the laptop using the same network home.

    I called Dell tech support and it is always useless and just a more aggravating waste of an hour to talk to their support of technique outsourced in India (who barely even understand English) and then they hang up the phone as it was supposed to be disconnected. I also called Microsoft support and lost more than an hour to speak to their outsourced tech support in the Philippines (and as support of the India, they hang up or 'disconnect' when they cannot answer your question and they go account learn you more about Windows while they do). U.S. tech companies use AMERICANS more for their technical support so their customers can get people who actually care about doing a good job and can actually understand English?

    So if someone who knows using Windows 8 for DRC on the Internet has some tips, then it would be greatly appreciated.

    Thank you!!

    P.S. If anyone is offended by my comments about the ugly, incompetent, stupid providing "technical support" in India or the Philippines - Nevermind! You go ahead and waste hours of your time talking to some Morón in these countries, who barely understands English and then 'disconnects' the call when they know that you realize that they are clueless and have all the answers.

    Take a look at no - IP.com or dyndns.com, and then use your host.domain:3389 of no.-ip/dynDNS or run RelaVNc SErver that is running on port 5900 by default.  Server options allow you to change the port as well if necessary.

  • Is there a way to get a list of all applications / updates that are cached on your server?

    Is there a way to get a list of all applications / updates that are cached on your server?  Of course, we see the space that contains each category.  But I would like a detailed list of the individual items that are actually cached.

    ITD be even better if I could get a scoreboard that showed me how many times a particular point was served to customers.

    Yes.  But you need a little magic Terminal to get the desired data.  Caching server is managed by a sqlite database.  To examine the contents, follow these basic steps:

    1: connect to the database using the following command:

    sudo sqlite3 /Library/Server/Caching/Data/AssetInfo.db

    2: to structure the data, run these two commands to the sqlite command-line prompt:

    .blog column

    . Headers on

    3: to find everything that is stored, run this command (you'll get iCloud cached documents, books, iOS apps, etc.):

    Select * from ZASSET;

    4: to narrow the results down to elements called by software updates, try this:

    Select * from ZASSET where ZURI as "content %";

    You could get a line that looks similar to the following:

    403 2 6 0 2012986793 474949928.477396 476912032.644505 e03448847909547fb8c7d4ecd5a7b6dd FAB32A72-DE33-469D-A7DF-3CE1A1F9A4D2 on Wednesday, August 5, 2015 18:00:30 GMT

    / Content/downloads/42/44/031-30888/bhrkylcnycxmtug9daw3g4magqb7dl7hba/OSXUpdComb o10.1

    (added the newline for readability)

    It is an OS X Combo update.  It is located on the drive to library/server/cache/Data/FAB32A72-DE33-469D-A7DF-3CE1A1F9A4D2 / the file is probably named 0, but if you want to use it, just add at the end of the .pkg file.

    I hope this helps.  Put server cache saves a lot of data.

    Oh, to quit the sqlite command line tool, simply type .quit and press return.

    Reid

    Apple Consultants Network

    Author - "El Capitan Server - Foundation Services.

    Author - "El Capitan Server - Collaboration & control»

    Author - "El Capitan Server - Advanced Services '.

    : IBooks exclusively available in Apple store

  • My wife and I bought hundreds of iTunes movies and music over the years. I have a terminal illness and won't last long. The account is in my name. How can I ensure that films and the songs that she and I have paid for are accessible for her after I spend

    My wife and I bought hundreds of iTunes movies and music over the years. I have a terminal illness and won't last long. The account is in my name. How can I ensure that films and the songs that she and I have paid for are accessible for her after I die?

    She needs to have your Apple ID and password. Your iCloud ID and the password if you have your own iOS device, so it can have access to these facilities. Even if she wanted to sell, it would need this information to remove the lock of activation before the sale.

  • XP Home Edition Accessories folder has been uninstalled by accident, how do I get that back without the cd.

    I have xp home edition, but the folderhas accessoriy uninstalled by accident, how can I get that back without the cd. I have dp does not have a partitioned hard drive, it has been deleted when cleaning a few months ago by a so-called professional

    If you mean that start > all programs no longer displays an entry for 'Accessories', then all that is removed is a set of shortcuts you can easily recreate (assuming that it is not in your basket).  The actual programs that are related to 'Accessories' are still there.

    To check, click Start > run, then type each of the following in the box run and then click OK

    Notepad.exe--> should start Notepad
    mspaint.exe--> should start painting
    cmd.exe--> should open a command prompt window

    Because the default ' accessories' menu includes submenus for accessibility, communication and entertainment, it's a bit tedious searching for all executables, create shortcuts and bring together them in a folder to display in the start menu.  I haven't used, but this utility says it does exactly what that (and this is from a trusted site): http://windowsxp.mvps.org/Accessories.htm

  • How to stop messages that appear on the screen locked when they arrive?

    How to stop messages that appear on the screen locked when they arrive?

    Settings > Notifications > Messages > turn off display on the lock screen. -AJ

  • Does anyone know of a VI or how to write one that will stop the computers time be disabled if an application is run.

    Does anyone know of a VI or how to write one that will stop the computers clock be turned off if an application is run. The time and date can be reset normally while an application is running by clicking on the time in the lower right of the screen of the computer. I have an application that runs over several days and it is essential that the time and date of the computer not be changed. Is there an easy way of this lockout the user? Note that I am what I consider a beginner advanced in LV

    Thank you

    Chuck

    This isn't something that you can from LabVIEW, because this is an operating system operation, and it will depend on the operating system you are using. Under Windows, you can use Group Policy to control this. Please Google on "prevent changing the date and time of windows."

    Also, please try to refrain from stuffing your message in its entirety in the block of material. Keep short, but descriptive enough topic so we can understand what you're asking basically. Thank you.

  • I have download an IDM software.there are as many files how can I understand that by running the file IDM will install in my computer and I can use it.

    I have download an IDM software.there are as many files how can I understand that by running the file IDM will install in my computer and I can use it.

    Hello

    Contact the Support of IDM in this regard.

    The link there is a Support tab on the top right > run the mouse cursor over them for the Support Options > 'how to use IDM.

    http://www.internetdownloadmanager.com/download.html

    See you soon.

  • The clock in the taskbar has set both military, how can I get that back to the normal time display?

    Clock in the taskbar has set both military, how can I get that back to the normal time display?

    You make this kind of adjustments in the regional and Language Options applet.

    Click Start, settings, Control Panel, regional and Language Options.

    On the Regional Options tab, in the section Standards and formats, your language is selected.

    To the right of your selected language, click on the Customize button, the click the time tab.

    Change the Format of the time to your desires.

    Eastern Standard time: h:mm:ss:tt

    Military time would be: HH

    Click OK, OK to save the settings.

    You don't need to restart, but I would reboot in any case to ensure the changes 'stick '.

    Do, or do not. There is no test.

    I need YOUR voice and the points for helpful answers and propose responses. I'm saving for a pony!

  • How can I play the songs that are in the format of .wma on my PC using my Desktop 4.0.9.17 Windows XP iTunes app?

    How can I play the songs that are in the format of .wma on my PC using my Desktop 4.0.9.17 Windows XP iTunes app?

    Thank you
    RS

    Hello Ristrawn,

    Thank you for your message.  There is no way to play .wma in the iTunes player.  You will need to find a 3rd party software to convert .wma to .mp3 files.  From there, you would be able to listen to the MP3 in the iTunes player.
    Please let us know if it did or did not help to solve your problem.
    See you soon

    Engineer Jason Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • My taskbar is suddenly vertically on the right side of my screen instead of at the bottom. (default) Ive tried to bring it back to its original spot by clicking and now an empty space, but cannot get a reaction. How can I get that back to the default?

    My taskbar is suddenly vertically on the right side of my screen instead of at the bottom. (default) Ive tried to bring it back to its original spot by clicking and now an empty space, but cannot get a reaction. How can I get that back to the default?

    Right-click on the taskbar and make sure the taskbar are not locked. Then move it using the left mouse button. Microsoft® Security MVP, 2004-2009

  • My Update Manager disappeared. How can I get that back in the menu bar. MAC.

    My Update Manager disappeared. How can I get that back in the menu bar. MAC.

    Hello

    Please click on Finder and go to Applications and search Adobe Creative Cloud and launch the application thereof.

    * You should restart your computer and launch the app from creative cloud.

    Let us know if that helps.

    Kind regards

    Bani

  • How to create images that react to the size of the browser (and not to the device)?

    How to create images that react to the size of the browser (and not to the device)?

    Hello

    Please try this widget.

    http://widgets-musethemes.BusinessCatalyst.com/tb032.html

    Concerning

    Vivek

Maybe you are looking for

  • ReadyNAS Ultra 2 more directory corrupted.

    Please consult anyone?I have a ReadyNAS Ultra 2 Plus, where I installed a new HARD drive.2 x 1 TB WD WD WD10EFRX RED exactly the one that is listed in the compatibility list.RAIDiator Servever I see, I see the HARD drive and when you assign a raid me

  • Steering problem

    I had a strange question management node running. I tried example patch and it works simply for six seconds without moving the engines. I double checked wiring and encoder feedback (Encoder readings are ok when I move the engines on B & C by hand). I

  • Can I upgrade to vista without deleting my xp programs and files?

    upgrade Can I upgrade to vista without deleting my xp programs and files? I don't want to lose my programs/files downloaded, but I don't want to argue with remove them and reinstall later

  • No sound after upgrading to Windows 7

    No sound in Windows 7 Yesterday, I upgraded from XP to Windows 7. Once completed, I tried to listen to music. Sound indication bar was moving, but I couldn't hear anything. I checked the speaker connections and even tried the plug to headphones, but

  • You may be a victim of software counterfeiting error

    My father had the same Dell computer for a couple of years now and never had a problem with the license.  Now, we get the error for counterfeit software.  The Windows updates won't run no more, and go to the posting form led to an offer to purchase f