How to create a database using Labview7.1, as library management system?
I want to use labview7.1 to create a database as the system.but management library I don't know how to do it.could you show me how to make it happen?
To run database queries, OR sell the database connectivity Kit. However, given that your version of LabVIEW is no longer supported, I don't know if you could buy it. Your other option is to use LabSQL. Two of them are based on ADO. The Toolbox mask some SQL commands low level but you can find plenty of tutorials SQL and should be able to get updated quickly enough. LabSQL is what I use in my LabVIEW applications.
The effective creation of a database is usually done in the database environment itself (for example, you use Access to create a Jet database). It is not really related to LabVIEW at all and appropriate database design is a long topic. If you know the system database that you want to use, someone might be able to point to specific aid.
Tags: NI Software
Similar Questions
-
How to create the database using the command line?
Hi all
Win7
10g or 11g
I want to create a new database using a script.
I set up my new SID and oracle_home.
Then sqlplus / DBA.
then I execute a common script...
I always hit itstartup nomount; create database PRODB logfile group 1 ('z:\oradata\PRODB\redo01.log', 'z:\oradata\PRODB\redo01b.log') size 50M, group 2 ('z:\oradata\PRODB\redo02.log', 'z:\oradata\PRODB\redo02b.log') size 50M, group 3 ('z:\oradata\PRODB\redo03.log', 'z:\oradata\PRODB\redo03b.log') size 50M, group 4 ('z:\oradata\PRODB\redo04.log', 'z:\oradata\PRODB\redo04b.log') size 50M character set AL32UTF8 datafile 'z:\oradata\PRODB\sysPRODB.dbf' size 500M sysaux datafile 'z:\oradata\PRODB\auxPRODB.dbf' size 300M undo tablespace undo datafile 'z:\oradata\PRODB\undoPRODB.dbf' size 100M default temporary tablespace temp tempfile 'z:\oradata\PRODB\tempPRODB.dbf' size 150M; @/opt/app/oracle/product/10.2.0/db_1/rdbms/admin/catalog.sql; @/opt/app/oracle/product/10.2.0/db_1/rdbms/admin/catproc.sql; connect system/manager; @/opt/app/oracle/product/10.2.0/db_1/sqlplus/admin/pupbld.sql; exit; SQL> startup nomount; ORA-12560: TNS:protocol adapter error SQL> create database PRODB 2 logfile group 1 ('z:\oradata\PRODB\redo01.log', 3 'z:\oradata\PRODB\redo01b.log') size 50M, 4 group 2 ('z:\oradata\PRODB\redo02.log', 5 'z:\oradata\PRODB\redo02b.log') size 50M, 6 group 3 ('z:\oradata\PRODB\redo03.log', 7 'z:\oradata\PRODB\redo03b.log') size 50M, 8 group 4 ('z:\oradata\PRODB\redo04.log', 9 'z:\oradata\PRODB\redo04b.log') size 50M 10 character set AL32UTF8 11 datafile 'z:\oradata\PRODB\sysPRODB.dbf' size 500M 12 sysaux datafile 'z:\oradata\PRODB\auxPRODB.dbf' size 300M 13 undo tablespace undo 14 datafile 'z:\oradata\PRODB\undoPRODB.dbf' size 100M 15 default temporary tablespace temp 16 tempfile 'z:\oradata\PRODB\tempPRODB.dbf' size 150M;
SQL > startup nomount;
ORA-12560: TNS:protocol adapter error
But if I run it on Linux is good.
Help, please...
Thank you very much
zxyyxes2013 wrote:
I want to create a new database using a script.
Suggestion. DBCA allows to generate the database model and use the option "+ Save as scripts + ' (no need to create the database).
In the scripts directory, there will be a couple of shell and SQL scripts to create the database. Use them as your CLI model for the creation of a custom database. (I guess that DBCA works the same on Windows as it does on Linux).
Another option, if you are using Oracle XE, is to copy ORACLE_HOME/bin/createdb.sh (probably a + .cmd on Windows) script and change for use. If you manually add non-XE features to the script (such as the installation of the Java virtual machine) If you want a database of SE or EE. (whereby DBCA scripts are a better answer).
-
On oracle cloud virtual, image I was able to create the database using DBCA (virtual image) oracle cloud. I understand with the virtual image, we won't have a lot of tools like on DAAS cloud. But could please at least use us dbconsole?
I tried to start dbconsole, and it did not work:[oracle@ltutest ~] $ emctl start dbconsole
OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.
According to the oracle help doc center - "creating a database on an instance of virtual image service" (http://docs.oracle.com/cloud/latest/dbcs_dbaas/CSDBI/GUID-29290A81-8798-4988-848E-77A1BE0CF08A.htm#GUID-4851560B-D4B6-42...)
database was created with the option as:
emConfiguration - NONE - storageType FS
I guess we have to manually configure the em console, but when I tried to create it, he told me that "' Dbcontrol repository already exists." "
When I try to start it, it exports the error
[Oracle@ltutest ~] $ emctl start dbconsole
OC4J Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/OC4J/J2EE/OC4J_DBConsole_ltutest.compute-aulatrobeu83140.oraclecloud.internal_ORCL not found.
Could someone could give me help with this problem?
Thanks Brian. I tried your command, and it works. Now I've encountered another problem, how can I browse the URL?
I created the access rule for access remote on port 1521 and 1158. but when I try to browse the EM console URL, it does not work. all the configurations that I need to do?
-
How to create a database in the server-2 based on the game of RMAN backup in server-1
Hi all
I need help related to RMAN backup in the following scenario, my server-1 details are given below.
* Operating system-Windows server 2012 R2 Standard Edition
* Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
AMT for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production,
I have configured RMAN and level 0 and backup of level 1 with on the external HARD drive.
all the RMAN backup is located in this drive external HARD only, same archivelog.
My question is,
How to create a database to Server-2 based on the RMAN backup I took in server-1.
It's to help me create a server test and even if the server-1 crash, then I can create a database in the new server-2 with backup I took on the external HARD drive.
Is it possible to achieve the same or not. Kindly suggest me or share a good Internet link or document and share your knowledge to achieve my need of stimulus. This will really help me
It does not matter whether you use ASM. The link above should guide you on how to change the file names of data before restoring if the location of the data file on server 2 will be different from server 1.
Since you asked for 11g binding, it is here
Kind regards
Shivananda
-
How to create IT strategy using the BES administrator API
Hi all
Can tell me, how to create IT strategy using the BES administrator API.
Please provide me with the code example.
Thanks in advance.
Kind regards
Sampath
Hi Sebastian,.
The Administration of BlackBerry API does not support the creation of it political. This feature is currently with the development of control and review for a future version of the BlackBerry Web Services for the Administration of the company.
Kind regards
-
How to start the database using CRS to start the database instance
Dear Experts,
How to start the database using CRS to start the database instance
As a solution: remove the write permission on the/etc/oratab user database to prevent update to arrive.
There is no harmful effects known to CRS / RDBMS operation if this workaround solution is used. This has been discussed in Bug 13028802.
-
How to know the database uses pfile or spfile?
Hi guru
How to know the database uses pfile or spfile?
Thank youThank you for this question of doc!
Please type in sql * show spfile parameter.
If it is empty, you do not use a spfile.--------------
Sybrand Bakker
Senior Oracle DBA -
How to create screen saver using the java bean
Hi all
can someone knows how to create screen saver using java beans?
Thanks in advance.
SarahIt is a strange requirement, but you can go
A TIME-NEW-FORM-INSTANCE:
DECLARE timer_id Timer; one_minute NUMBER(5) := 60000; BEGIN timer_id := CREATE_TIMER('chnage_color', one_minute, REPEAT); END;
WHEN-TIMER-EXPIRED:
DECLARE RandomR NUMBER(10):=dbms_random.value(1,256); RandomG NUMBER(10):=dbms_random.value(1,256); RandomB NUMBER(10):=dbms_random.value(1,256); BEGIN SET_CANVAS_PROPERTY('CANVAS2',BACKGROUND_COLOR, 'R'||RandomR||'G'||RandomG||'B'||RandomB); END;
-
Help, how to query the database using pagination
Hello
How to query the database using paging for large data.
any API for this?
Thank you in advance!Hello
You can specify XmlQueryContext::Lazy as the type of assessment and only call XmlResults:: next() comes as many times as you need.
John
-
How to create a restore point in the protection of the system in safe mode?
As topic the question, how to create a restore point in the protection of the system in safe mode?
Hello
read a tutorial on the below link for everything you need to know about the system restore
http://www.bleepingcomputer.com/tutorials/tutorial143.html
and read this too
System Restore: frequently asked questions
http://Windows.Microsoft.com/en-us/Windows-Vista/system-restore-frequently-asked-questions
-
How to create a database in SQL Server Express 2014 to be used with LV Database Toolkit
I use LV Database Toolkit, which, by default, uses the Jet database. Now, I want to use the SQL with LV Database Toolkit database. I downloaded and installed "SQL Server Express with Tools 2014" in my laptop of Labview. Now I want to create a database in SQL Server, because I think that it is a requirement for the creation of a "udl connection file" (file *.udl). Please help me!
-
How to create a database by using Visual Basic 2013?
Original title: I need a teaching aid
I have been programming since the beginning of the 1980s as a hobby. I want to create a database by using Visual Basic 2013 but I have difficulty finding the information as required to fit.
When I was with VB6 I used a book: beginning Visual Database 6 database programming by John Connell
This book taught me everything I needed to know. He used control arrays (I understand are now mocked) to define the forms of "state machines" which I liked a lot.
I could go back and reinstall VB6 but I would learn instead to perform all necessary steps in VB 2013. Can anyone suggest a similar book?
I used the COBOL, FORTRAN, VBA, VB6, Basica, etc.. But through it all to adapt to new versions has never been so difficult. I believe that the adaptation will be difficult if I can find a book that explain the changes.
Hello
Your message is addressed in the discussions on these Microsoft Community forums. It is better suited for the MSDN Developer audience. Go to the links below and ask your question in the appropriate forum.
MSDN forums: Index
http://social.msdn.Microsoft.com/forums/en-us/categories
MSDN forums:
Concerning
-
How to create the report using the procedure.
Hi all
I want to create the report in the apex. But I don't have a sql code. I have a single procedure. Is it possible to create the report using this procedure in the apex.
CREATE OR REPLACE PROCEDURE headcsv_prc2
AS
CURSOR cr_header
IS
SELECT ood.organization_code, fm.formula_no AS "FORMULA_NAME."
FM.formula_vers AS "FORMULA_VERSION."
FM.formula_desc1 AS "FORMULA_DESC."
DECODE (fm.formula_status,
100, 'new ',.
400, "approved for use in the laboratory."
700, "allow the general."
800, "We Hold."
900, "frozen."
1000, "obsolete/archived.
) AS "FORMULA_STATUS."
DECODE (fd.line_type, '1', msib.segment1).
DECODE (fd.line_type, '-1', msib.segment1 ') ingrediant.
DECODE (fd.line_type, '2', msib.segment1) AS "BY_PRODUCT."
DECODE (by_product_type,
"W', 'waste."
"R',"rework. "
"Y', 'Yield."
The of ', 'Sample. "
NULL VALUE
) AS "BY_PRODUCT_TYPE".
Of org_organization_definitions ood,.
fm_form_mst fm,
fm_matl_dtl fd,
mtl_system_items_b msib
WHERE ood.organization_id = fm.owner_organization_id
AND fm.owner_organization_id = msib.organization_id
AND msib.organization_id = fd.organization_id
AND fd.organization_id = ood.organization_id
AND fm.formula_id = fd.formula_id
AND msib.inventory_item_id = fd.inventory_item_id
- and fm. FORMULA_NO like '% THE % '.
AND fd.line_type IN ('1 ', ' 2', '-1' ")
Ood.organization_code GROUP,
FM.formula_no,
FM.formula_vers,
FM.formula_desc1,
FM.formula_status,
FD.line_type,
MSIB. Segment1,
by_product_type
ORDER BY fm.formula_no, fm.formula_vers;
BEGIN
Dbms_output.put_line (INITCAP ('the ORGANIZATION CODE')
|| ','
|| INITCAP ('NAME FORMULA')
|| ','
|| INITCAP ('FORMULA VERSION')
|| ','
|| INITCAP ('FORMULA DESC')
|| ','
|| INITCAP ('FORMULA STATUS')
|| ','
|| INITCAP ('PRODUCT')
|| ','
|| INITCAP ('INGREDIANT")
|| ','
|| INITCAP ("PER PRODUCT")
|| ','
|| INITCAP ('PER TYPE OF PRODUCT")
);
FOR ch IN cr_header
LOOP
Dbms_output.put_line (ch.organization_code
|| ','
|| ch.formula_name
|| ','
|| ch.formula_version
|| ','
|| '"'
|| ch.formula_desc
|| '"'
|| ','
|| ch.formula_status
|| ','
|| ch. Product
|| ','
|| ch.ingrediant
|| ','
|| ch.by_product
|| ','
|| ch.by_product_type
);
END LOOP;
EXCEPTION
WHILE OTHERS
THEN
Dbms_output.put_line (' No error: ' |) SQLCODE. "Error Msg: ' '.
|| SQLERRM
);
END;
EXEC HeadCSV_Prc2
Thank you
Rambeau
Hi Christian,
In addition to the fact that the Oracle database has an internal Java engine and it would be possible for Apex call a Java stored procedure, the Apex really has nothing to do with Java. To create a report, you discovered, you specify a SQL query. In certain circumstances, you can embed a query in a PL/SQL function, but the incorporation of an arbitrary Java application and waiting for it to be called from Apex for a kind of security is there with the fairies.
I recommend you research the Apex and then enter your so-called "higher authorities" how things work.
Concerning
André
-
How to CREATE a DIRECTORY using local directory
Hi all
I want to get some data to the local computer from the remote database service, so I use a stored procedure to get these date and save them in a file before you perform the procedure, I have to CREATE a DIRECTORY ensures that the path of the file.
I use to CREATE a DIRECTORY on the local computer OCCI using, as: "CREATE or REPLACE DIRECTORY MSGDIR AS 'C:\test'" and I can't find the file in C:\test, I found the answer on the internet about this problem, it seems that use to CREATE a DIRECTORY on the database of service rather than on the local computer.
Anyone know how to CREATE the local directory to use?
Or give me advice to get the data to the local computer in my case?
Best regards.It looks that CREATE DIRECTORY use the directory on the database service rather than local machine.
Exactly. Where it States Furthermore?
Anybody knows how to CREATE DIRECTORY use local directory? Or have any advice to get data to local machine in my case?
1 all simply cannot do it. It is not possible, because this would be a serious security breach.
2 of course, you can share the directory on the server to the network and configure a share on your local machine.
It's so simple, most people think about it.
You might also consider using Apex or utl_http directly.-----------
Sybrand Bakker
Senior Oracle DBA -
How to create the database links
Hello
We have two databases on two servers differenet and we want both of the databases to be synchronized and application runs only on a single server.
It is possible through links DB if yes then how.
If a better solution than DB links is pl tell.Hello
Edit the tnsmaes.ora file and add the entry to the database and verify the connection using tnsping .if connection is ok and then create a database link in oracle
CREATE DATABASE LINK link_name - name of the link
CONNECT username - user name
IDENTIFIED BY password - password of the user
With the HELP of "Database_sid" - name of the databaseCreated database link
Select * from owner.table_name @ link_name
Maybe you are looking for
-
Hello in the past this hissing appeared from time to time, but now it's on almost all the time.It is somehow a bit difficult to describe... It's a very high sound, not very hard but still very annoying... AT the moment I play a video in the internet,
-
Maximum size of the hard disk for Pavilion a800n
Hello One last question, I replace the hard drive (160G) in my old Pavilion a800n and wonder what would be the size (well at least 500G) max. Guess I could partition if necessary... Win. XP (32 bit), Phoenix BIOS, LTD. 3.11, 09/02/2004. Thank you!
-
You can send me a link to a driver for my PCI device. Pavilion g6-1152ex
PCI\VEN_10EC & DEV_5209 & SUBSYS_1670103C & REV_01 PCI\VEN_10EC & DEV_5209 & SUBSYS_1670103C PCI\VEN_10EC & DEV_5209 & CC_FF0000 PCI\VEN_10EC & DEV_5209 & CC_FF00
-
When to use BUTTON down in the event, this event has raised for each press key (keyboard), the question I need event raised for only 1 button; for example, press F2 triggered and event not triggered for the other key of the keyboard. Thank you
-
How can I make a backup in safe mode?
After HP installed a new motherboard in my computer it does not start in normal mode due to a conflict pilot somewhere they can't find. But I can run it in safe mode. HP has decided to send me a new (and better) computer rather than trying to resolv