Copy database into another

I have started to work with database connectivity toolkits from labview. I have just want to make a simple operation: this is, I want to copy a table from a database to another database. I have first found a "number of characters different than numer of colums" error. But now, there is another about the CRATE TABLE.VI:
Error -2147217900 occurred at Cnn Execute.vi->DB Tools Create
Table.vi->Untitled.vi
How can I solve this problem? How could I make easily this operation?
Thanks in advance
jmedb

Hi,.
Take a look to this KB:
http://digital.ni.com/public.nsf/websearch/22A45DF5C85AB3F286256CC30073C5AC?OpenDocument
That will help u to know where your problem is,
Regards,
Jaime Cabrera
NI Applications Engineering Spain

Similar Messages

  • Moving SAP Database into another Hardisk

    Hi Expert
    I want to move all WG55 database into another free space hardisk under MMSQL 2000 enterprise edition , I have 3 database to move on Eg R:\WG55DATA1,WG55DATA2,WG55DATA3 and K:\tempdb.mdf
    All the above database are in D:\WG55DATA1,WG55DATA2,WG55DATA2,tempdb.mdf so what is the best option to move all WG55 database to R and K respectively It is live Production system so i would be thankful if any expert person in MMSQL to guide me please
    and I am using another server for application (Instance)
    regards

    the sap note above is well explained.
    but, you may use SQL Enterprise manager.
    1. stop sap.
    2. detach Database (Enterprise manager, on DB Name -> All Tasks->Detach Database
    3. Move Data and log files to new location
    4. Database -> All Tasks -> Attach Database and find the MDF file (the first data file) from the new location. (you may have to find each of the data and log files)
    5. verifiy it is correctly attached.
    6. Start sap

  • IPhoto '11 (9.1.3) moves duplicated photo AND original automatically when copy/paste into another event

    I recently "upgraded" from 9.1.1 to 9.1.3 on OS X 10.6.8.  I prefer an older version of iPhoto.
    The main reason I "upgraded" was because I wanted to try to fix the issue that I have whenever syncing my iphone, which is that my iPhone would not use the "Make Key Photo" image that I selected in iPhoto as my main picture when scrolling through my albums/events in my iphone.
    Since this upgrade, I'm having an issue whenever I duplicate an image in iPhoto and cut the image and paste the image into another event, the duplicated image will paste AND the original automatically transfers/pastes itself into the event.  When I go back to the original event that I duplicated the image in, I notice that the original image is no longer there because it is now in the event that I cut and pasted the duplicate in. 
    I was trying to fix the key photo being my real key photo versus when my iPhone is synced it makes the first image in the event the key photo, but now I would like to also fix the original photo from automatically moving itself with the duplicated cut/paste photo issue. 
    How can this be resolved?

    This post by Terence Devlin is an excellent treatise on organizing photos with iPhoto: Better way to organize my images?: Apple Support Communities
    It's bound to give you good ideas on applying the concepts discussed to your own needs.
    OT

  • How to Retrieve data from database into another form ?

    Good Day!
    Am currently new at JSP. I've been studying it for awhile and still getting the hang of it. We are working on a project.
    Editing a given data. We have to retrieve the given data and post it to another form "Editing form".
    Since we can retrieve data using JSP but how are we going to post it to another form? I mean how are we going to transfer data from one form to another?
    Can anyone help me with codes please..

    The client is a web browser.
    The client submits a request (click a link, visit a form)
    The server gets to respond to this
    - look at request parameters from the client
    - access database
    - produce resulting html page
    - send page back to client.
    The standard pattern is to retrieve data from the database in java code, and then load that data into a bean.
    You then make that bean available as an attribute
    It is then available for use in your JSP - either <jsp:useBean> tag or using ${ELexpressions}
    All you can pass from the client to the server is request parameters - which are always strings.
    Draw a picture of where the information is, and the information flows. Very rarely does it go directly from one "form" to another.
    Cheers,
    evnafets

  • Why is Pages exporting .pdf for .jpg when I copy/paste into another application?

    Someone sent me a document that has pictures in it. I want to copy the whole thing and just paste it into an e-mail to post to a blog that way, but when I do it converts all of the .jpg files to .pdf files. I've tried pasting into Mail, which is native to Apple, and this happens. I've tried pasting it to gmail, a web app, and this happens, so I'm sure this is happening on the part of pages and not the applications I'm importing into. How do I change that?
    Please help! Thx
    *P.S. And just out of frustration for Pages lately (due to no new updates in 3 years), why are there so few options to change in preferences and no support for external plug-ins (like Mendeley and other reference managers that work just fine with OpenOffice)?

    d moon wrote:
    Someone sent me a document that has pictures in it. I want to copy the whole thing and just paste it into an e-mail to post to a blog that way, but when I do it converts all of the .jpg files to .pdf files. I've tried pasting into Mail, which is native to Apple, and this happens. I've tried pasting it to gmail, a web app, and this happens, so I'm sure this is happening on the part of pages and not the applications I'm importing into. How do I change that?
    PDF is the unique format available allowing Pages to transfert a mix of different objects to an other application. The fact that the app is an Apple or a third party one doesn't matter.
    I'm just surprised by the fact that copying a single jpej object give the same result under Lion. I was not remembering that it behaved this way with older operating systems.
    If you really want to pass the jpegs, you must enter in the internals of the Pages document.
    Duplicate the azerty.pages document
    rename the replicate as azerty.zip
    Double click it.
    You will get a folder named azerty.
    It will contain several files including the wanted jpegs.
    *P.S. And just out of frustration for Pages lately (due to no new updates in 3 years)
    In three years, Pages evolved from
    4.0 to 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.1
    As far as I know this means six updates.
    why are there so few options to change in preferences and no support for external plug-ins (like Mendeley and other reference managers that work just fine with OpenOffice)?
    As far as I know, Apple if ree to design its produces as it want.
    iWork is not designed as a clone of OpenOffice which is a clone of M…oSoft Office.
    Happily, one of the rules applying to Apple products design is :
    ++-+-+-+-+-+-+-+-++
    Apple Human Interface Guidelines:
    Apply the 80 Percent Solution
    During the design process, if you discover problems with your product design, you might consider applying the 80 percent solution‚ that is, designing your software to meet the needs of at least 80 percent of your users. This type of design typically favors simpler, more elegant approaches to problems.
    If you try to design for the 20 percent of your target audience who are power users, your design may not be usable by the other 80 percent of users. Even though that smaller group of power users is likely to have good ideas for features, the majority of your user base may not think in the same way. Involving a broad range of users in your design process can help you find the 80 percent solution.
    +-+-+-+-+-+-+-+-+
    I really hope that the Pages Preferences dialog will never resemble to Office one.
    Yvan KOENIG (VALLAURIS, France)  vendredi 11 janvier 2011 10:53:47
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Copy a file into another folder

    Hello,
    I have some files in a folder; i picked some of them and put them in listTEST (here below)
      List<String> listTEST = ..................Now I have their name but I need to copy them into another folder; which functions do I need?
    thanks,

    You'll need to read their contents from the original files and then write them out to the new ones. You'll want to use FileInputStream and FileOutputStream.
    Google for java io tutorial for more details and examples.

  • How to copy the content of one file into another

    I have tried this code
    try {
                   fin = new FileInputStream("file path");
              catch(FileNotFoundException exc)
                   System.out.println("File not found");
                   return 0;
              catch(ArrayIndexOutOfBoundsException exc)
                   System.out.println("Usage: Showfile file");
                   return 0;
              while(true){
                   i=fin.read();
                   if(i==-1)
                        break;
                   cnt++;
              fin.close();*/
    now in this way i can lift one character at a time and copy it into another file (note i have not done the copy part in this code but that can be implemented) however this whole procedure is taking too much time if the size of the file is too big....kindly suggest another way to copy one file into another

    have you ever copied and pasted a large file in Windows or another OS? Larger files take more time to copy, that's just how it is.

  • RC_datafile location changed after try recover datafile into another host

    Hi,
    I has a database whose datafiles was all in i:\ofs1, yesterday,to verify that my tape backup,
    I tried to restore and recover the database into another host and location c:\ofs1,
    I connected to the recover catalog for the database while performing the restoring and recovering, everything completed successfully.
    But then I found out that the location of datafile in rc_database view in my recovery catalog been updated from i:\ofs1 to c:\ofs1,
    apparent while doing the restoring, rman also update the location of the datafile in rc_datafile.
    And now when I perform backup for the original database, it search the datafiles in c:\ofs1 instead of i:\ofs1.
    Is there anyone know how should I do to update back the datafile location in rc_datafile?
    Thanks
    Vincent

    Hi,
    I can still perform backup, but the rman output will show that the datafile are now in c:\ofs1 as below
    input datafile fno=00005 name=C:\OFS1\DATA_SE.DBF
    input datafile fno=00006 name=C:\OFS1\INDEX_SE.DBF
    input datafile fno=00013 name=C:\OFS1\DATA_SE01.DBF
    input datafile fno=00014 name=C:\OFS1\INDEX_SE01.DBF
    input datafile fno=00003 name=C:\OFS1\SYSAUX01.DBF
    input datafile fno=00009 name=C:\OFS1\RMAN_CATALOG.DBF
    input datafile fno=00001 name=C:\OFS1\SYSTEM01.DBF
    input datafile fno=00002 name=C:\OFS1\UNDOTBS01.DBF
    input datafile fno=00010 name=C:\OFS1\DATA_ODCSE01.DBF
    input datafile fno=00012 name=C:\OFS1\FLOW_1.DBF
    input datafile fno=00007 name=C:\OFS1\DATA_Q107.DBF
    input datafile fno=00008 name=C:\OFS1\INDEX_Q107.DBF
    input datafile fno=00011 name=C:\OFS1\INDEX_ODCSE01.DBF
    input datafile fno=00004 name=C:\OFS1\USERS01.DBF
    channel oem_backup_disk1: starting piece 1 at 08-JUL-10
    channel oem_backup_disk1: finished piece 1 at 08-JUL-10
    piece handle=E:\BACKUP\OFS1\30LI990V_1_1 tag=TAG20100708T133318 comment=NONE
    channel oem_backup_disk1: backup set complete, elapsed time: 00:18:35
    Finished backup at 08-JUL-10
    and when I try to recover datefile copy, the below error show
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 07/08/2010 13:52:22
    RMAN-00600: internal error, arguments [8064] [1] [C:\OFS1\SYSTEM01.DBF] []
    Is it ok if I change the data in rman catalog to update the rc_datafile location to i:\ofs1?
    Thanks
    Vincent

  • Can I cut a file from a folder & copy it to another without leaving ori

    Hi Can I cut a file form a folder and copy it into another folder without leaving the original in the 1st folder?
    I know I can copy it across. but I dont want to have to keep going back and deleting the original?
    Thanks

    Have you read Switch101?
    -mj
    [email protected]

  • Copying Clip in another Track

    Good morning,
    I am using FCE 3.0 and am having trouble copying clips into another track. I have tried the Copy/Paste method as well as dragging the selected clip with the <Option>key.
    The Copy/Paste method does not paste the clip at the playhead on a different track, and the <Option> key method simply moves the clip from one track to another.
    I'm sure I'm missing some simple element here and would like to know what it is.
    Thanks.

    Hi(Bonjour)!
    For the copy/paste way: pay attention to select the correct video and audio tracks targets.
    Sometimes, it's easier to place your playhead right after the last clip of the sequence and paste. Reposition the resulting copy.
    For the option drag: pay attention to use option key BEFORE clicking on your original clip, and drag.
    Check if your tracks are locked.
    Michel Boissonneault

  • How can I export projects from PMDB1 database into existing PMDB2 database?

    Does datapump handle this? I have been told my only option is XER format but I have thousands of projects to move from one database into another existing database.

    Migrate.bat will migrate an entire database from one platform to another (eg: Oracle to MS SQL SRVR) but for selective projects you would need to move them via PPM Application export (XER/XML). Your other option as someone suggested is to upgrade the entire database schema to a newer version if that is the end goal, but it sounds more like you have two existing database schemas to consolidate.

  • Coying Database to another server

    Dear All,
    I want trying to copy database to another server but i got error
    Login failed for user 'domainName\ComputerName$'
    I already use domain administrator to both of server and already create user login in both server.
    Both of the login is domain administrator and same user for the server. I use SQL Server Standard Edition 2008 R2.
    How can i fix this error?
    please help
    Best regards,
    Surbakti

    Hi Surbakti,
    According to your description, if you copy a local database to a remote SQL Server via the copy database wizard, we need to verify if the SQL Server Agent Service account does have sufficient access
    rights to the remote server. See:
    Use the Copy Database Wizard
    Usually, I suggest the better option is to perform the full backup of the database and then copy the backup file manually to remote computer. Once done, restore the database from this backup file on
    remote computer.
    There is detail about move databases between computers that are running SQL Server instance.
    http://support.microsoft.com/kb/314546/en-us
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Moving audit Records from one database to another database using dblink

    i got five database, i have to move sys.aud$ records from five databases to one centralized database into another schema every day at 10:00 clock, i have to use a dblink for this, i have to create same table as sys.aud$ with different schema in centralized database with one extra column db_unique_name,by using db_link how i need to move records from all the five databases to one centralized database, can anyone help me here how to create a db_link from to move records from five database to one centralized database, due to maintainance perspective i have to move the records from all the five databases to one centralized database. i have to write a script for moving the audit records from all the five databases to one centralized database, can anyone help me how to write the script, or if you have any related scripts , can u post here, it will helpful for me.

    spool audit.log
    --"Auditing Initialisation Parameters: check initialization parameter"
    select name || '=' || value from v$parameter where name like '%audit%'
    ---"if auditing is disabled then issue this command and bounce"
    alter system set audit_trail=db,extended scope = spfile
    shutdown immediate
    startup
    create tablespace ORDER_DATA datafile '+DDATA' size 50m;
    create user INFO identified by INFO;
    Grant connect,resource to INFO;
    Alter user INFO quota unlimited on ORDER_DATA;
    create table INFO.ORDER as select * from sys.aud$;
    alter INFO.ORDER add db_unique_name varchar2(50);
    create table INFO.ORDER
    partition by range (Timestamp#)
    subpartition by hash(dbid)
    subpartition template
    (subpartition sp1 tablespace users,
    subpartition sp2 tablespace users)(
    partition p1 values less than (TO_DATE('07/29/2010','MM/DD/YYYY')),
    partition p2 values less than (TO_DATE('07/29/2011','MM/DD/YYYY')),
    partition p3 values less than (MAXVALUE)) tablespace BGORDER_DATA as select * from sys.aud$
    spool off;
    exit
    BEGIN
    DBMS_SCHEDULER.create_job(
    job_name => 'Move Aud$ records',
    job_type => 'PLSQL_BLOCK',
    job_action => 'CREATE OR REPLACE PROCEDURE bgorder_aud
                        AS
                   ts TIMESTAMP;
                   BEGIN
    ts := SYSTIMESTAMP;
    insert into info.order select * from sys.aud$ where timestamp# < ts;
    delete sys.aud$ where timestamp# < ts;
    commit;
    END;
    start_date => TRUNC(SYSDATE) + 22 / 24,
    repeat_interval => 'FREQ=daily;BYHOUR=22;BYMINUTE=0;BYSECOND=0',
    enabled => TRUE,
    comments => 'Move records');
    END;
    /

  • How to copy one column BLOB value into another column of another database.

    How to copy one column BLOB value into another column of another database.
    BLOB value contains word document.
    I thought of copy the BLOB value into a text file and then update the new column value by the same text in textfile. Will this work?
    Is there any other better way to do this?

    You're welcome
    BLOB fields contains binary data. I don't think you can do this
    Also if I view the BLOB as text. Can I copy it and insert into the new database.
    I think your options are as I said. Datapump or CTAS
    Best Regards

  • How to copy one schema into another

    I need to copy one schema into another. That means, all the tables, views, constraints, etc, and all the data as well.
    I have a dmp file of source-schema (created daily with expdp by our backup schedule).
    Can I use impdp to import this dmp file into dest-schema? I'm thinking about something like this:
    The dmp file was created with:
    expdp source-schema/pwd DIRECTORY=dmpdir DUMPFILE=myproject.dmp
    Create the copy on dest-schema with:
    impdp dest-schema/pwd DIRECTORY=dmpdir DUMPFILE=myproject.dmp
    (dest-schema is an existing schema on the same machine. I'll drop all the tables before executing the command. Is there anything else I should do first?)
    If this approach is not feasible, kindly suggest me an alternative.
    Thank you.
    Edited by: mgro on Apr 16, 2010 3:22 AM (changed 2nd command: expdp to impdp)

    Thank you both. Dean, I've made a note of your proposed command. May use it next time.
    In the end I used the following command and it worked for me. I added TABLE_EXISTS_ACTION=REPLACE since the destination was not empty.
    First I ran these command logged in as SYS
    GRANT Import Full Database TO dest-schema;
    GRANT Create Any Directory TO dest-schema;
    GRANT Unlimited Tablespace TO dest-schema;
    impdp
    dest-schema/pwd
    DIRECTORY=dmpdir
    DUMPFILE=myproject.dmp
    REMAP_SCHEMA=source-schema:dest-schema
    TABLE_EXISTS_ACTION=REPLACE
    LOGFILE=implog.log
    There were some errors though. The import process complained about constraints referencing non-existent primary keys.
    It turns out that the source schema has some constraints that are marked with status DISABLED. These constraints either:
    - are not part of the DUMP file
    or
    - are in the DUMP file but skipped during import
    Don't know if this is a bug or by design behavior.

Maybe you are looking for