Change of database SQL default within Teststand

I'm designing a system of 'universal' test for a variety of products from my company.

The test results are supposed to be logged to a database (2008) MS SQL. I created two databases for two different products. Let's call them OneTestDB and TwoTestDB for now.

No problems so far. Now I want to use a user, TestLogin, to write the test data for both of my databases, however, TestLogin can only seems to be able to write to the DB as a default value.

I could solve the problem by using different users, but since I want it to be possible for the same user test various products, I prefer to avoid this.

After searching the net for an answer, I found that what I try to do is done by the query "EXEC sp_defaultdb 'USER', 'DATABASE'. (So USE {DATABASE} work)?

The name of the database is given when running. (Base of DATA = StationGlobals.ProductName + "TestDB")

Here's my question: how and where to put this code in Teststand (2010 SP1) so that I can change the database to which I want to record the test results?

I tried to use the tools of database data in Teststand, but obviously I'm not the right way.

I managed to fix it myself.

The solution was the following SQL statement "EXEC sp_defaultdb 'TestLogin', '" + StationGlobals.ProductName + "TestDB" "»

If anyone has a better idea how to solve the problem, feel free to enlighten me.

Tags: NI Software

Similar Questions

  • Hyperion at level 11.1.1.3 to Hyperion 11.1.2.3 with change of database SQL server and Oracle DB

    I am upgrading the Hyperion 11.1.1.3 environment in new infrastructure which include (HFM, Shared service, FDM and Hyperion reporting). The 11.1.1.3 had SQL Server repository, now we are making everything on the Oracle database repository. Can I directly use the LCM to migrate all of the artifacts of 11.1.1.3 11.1.2.3. Can someone advise how best to do the migration. Y at - it something I should look. Something that fail often I should look.

    There are a number of ways to achieve what you're trying to do and it may depend on the number of products/applications and the complexity of the environment.

    There are also ways to migrate to a SQL database to Oracle with different success rates depending on what is involved.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Database does not start... ALTER database open; change the database open * ERROR at line 1: ORA-03113: end of file on the channel of communication process ID: 10400 Session ID: 418 serial number: 3 -.

    HI during startup of the database of the following errors is. Please help solve the problem.

    SQL > alter database open;

    change the database open * ERROR at line 1: ORA-03113: end of file on the channel of communication process ID: 10400 Session ID: 418 serial number: 3 -.

    ============================================================

    Please see the alerts log entries

    --------------------------------------------------------------------------------------------------------------------------------

    Commissioning:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With the options of partitioning, OLAP, Data Mining and Real Application Testing.

    Using parameters in spfile D:\APP\ADMINISTRATOR\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILEATTNDPRD server-side. ORA

    Parameters of the system with default values:

    process = 400

    sessions = 624

    memory_target = 4G

    control_files = 'D:\ORACLE\ORADATA\ATTNDPRD\CONTROLFILE\O1_MF_8LRQYB0M_. CTL.

    control_files = 'C:\ORACLE\ORADATA\ATTNDPRD\CONTROLFILE\O1_MF_8LRQYB13_. CTL.

    DB_BLOCK_SIZE = 8192

    compatible = "11.2.0.0.0."

    log_archive_format = "ARC%S_%R.%T."

    db_create_file_dest = 'D:\oracle\oradata. '

    db_create_online_log_dest_1 = "D:\oracle\oradata".

    db_create_online_log_dest_2 = "C:\oracle\oradata".

    db_recovery_file_dest = 'C:\oracle\oradata\flash_area. '

    db_recovery_file_dest_size = 8G

    undo_tablespace = 'UNDOTBS1.

    Remote_login_passwordfile = "EXCLUSIVE."

    db_domain = «»

    dispatchers = "(PROTOCOL=TCP) (SERVICE = ATTNDPRDXDB)" "

    audit_file_dest = "D:\APP\ADMINISTRATOR\ADMIN\ATTNDPRD\ADUMP".

    AUDIT_TRAIL = 'DB '.

    db_name = "ATTNDPRD".

    open_cursors = 300

    diagnostic_dest = "D:\APP\ADMINISTRATOR".

    Sun 24 May 13:43:09 2015

    PMON started with pid = 2, OS id = 5792

    Sun 24 May 13:43:09 2015

    VKTM started with pid = 3, OS id = 6500 high priority

    VKTM clocked at (10) precision of milliseconds with DBRM quantum (100) ms

    Sun 24 May 13:43:09 2015

    GEN0 started with pid = 4, OS id = 13072

    Sun 24 May 13:43:09 2015

    DIAG started with pid = 5, OS id = 1424

    Sun 24 May 13:43:09 2015

    DBRM started with pid = 6, OS id = 8240

    Sun 24 May 13:43:09 2015

    PSP0 started with pid = 7, OS id = 2980

    Sun 24 May 13:43:09 2015

    DIA0 started with pid = 8, OS id = 12956

    Sun 24 May 13:43:09 2015

    MA started with pid = 9, OS id = 13356

    Sun 24 May 13:43:09 2015

    DBW0 started with pid = 10, OS id = 14248

    Sun 24 May 13:43:09 2015

    DBW1 started with pid = 11, OS id = 17900

    Sun 24 May 13:43:09 2015

    LGWR started with pid = 12, OS id = 5564

    Sun 24 May 13:43:09 2015

    CKPT started with pid = 13, OS id = 16736

    Sun 24 May 13:43:09 2015

    SMON started with pid = 14, OS id = 14068

    Sun 24 May 13:43:09 2015

    RECCE has started with pid = 15, OS id = 16288

    Sun 24 May 13:43:09 2015

    MMON started with pid = 16, OS id = 10884

    commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...

    commissioning or shared server 1...

    Environment ORACLE_BASE = D:\app\Administrator

    Sun 24 May 13:43:09 2015

    ALTER DATABASE MOUNT

    Sun 24 May 13:43:09 2015

    MMNL started with pid = 17, OS id = 16128

    Mount of redo thread 1, with mount id 3325657453

    Database mounted in exclusive Mode

    Disabled lost write protect

    Completed: ALTER DATABASE MOUNT

    Sun 24 May 13:43:23 2015

    change the database open

    Sun 24 May 13:43:23 2015

    LGWR: FROM PROCESS ARCH

    Sun 24 May 13:43:23 2015

    Arc0 started with pid = 21, OS id = 10084

    Arc0: Started archiving

    LGWR: FROM PROCESS ARCH COMPLETE

    ARC0: FROM PROCESS ARCH

    Sun 24 May 13:43:24 2015

    Arc1 started with pid = 22, OS id = 18400

    Sun 24 May 13:43:24 2015

    ARC2 started with pid = 23, OS id = 17280

    Arc1: Started archiving

    ARC2: Started archiving

    Arc1: become the "no FAL' ARCH

    Arc1: become the "no SRL" ARCH

    ARC2: Become the heartbeat ARCH

    Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_ora_10400.trc file:

    ORA-19815: WARNING: db_recovery_file_dest_size 8589934592 bytes is 100.00% used and has 0 bytes remaining available.

    ************************************************************************

    You have choice to free up space in the recovery area:

    1 consider changing STRATEGY OF RETENTION of RMAN. If you are using Data Guard

    then consider changing POLICY of DELETE ARCHIVELOG RMAN.

    2 back up files on a tertiary device such as a tape with RMAN

    SAFEGUARDING RECOVERY AREA command.

    3. Add space drive and increase the db_recovery_file_dest_size setting to

    reflect the new space.

    4 remove the unnecessary files using the RMAN DELETE command. If a service

    the system control has been used to remove the files, and then use the RMAN DUPLICATION and

    Commands DELETE has EXPIRED.

    ************************************************************************

    Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_ora_10400.trc file:

    ORA-19809: limit exceeded for file recovery

    ORA-19804: cannot recover disk 44571136 bytes limit 8589934592 space

    ARCH: 19809 error creating archive log file to ' C:\ORACLE\ORADATA\FLASH_AREA\ATTNDPRD\ARCHIVELOG\2015_05_24\O1_MF_1_10343_%U_. ARC'

    Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_ora_10400.trc file:

    ORA-16038: log 2 # 10343 sequence can be archived

    ORA-19809: limit exceeded for file recovery

    ORA-00312: wire 2 1 online journal: ' D:\ORACLE\ORADATA\ATTNDPRD\ONLINELOG\O1_MF_2_8LRQYD8B_. JOURNAL"

    ORA-00312: wire 2 1 online journal: ' C:\ORACLE\ORADATA\ATTNDPRD\ONLINELOG\O1_MF_2_8LRQYDF6_. JOURNAL"

    USER (ospid: 10400): put an end to litigation because of the error 16038

    Sun 24 May 13:43:24 2015

    ARC3 started with pid = 24, OS id = 2188

    Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_arc2_17280.trc file:

    ORA-19815: WARNING: db_recovery_file_dest_size 8589934592 bytes is 100.00% used and has 0 bytes remaining available.

    ************************************************************************

    You have choice to free up space in the recovery area:

    1 consider changing STRATEGY OF RETENTION of RMAN. If you are using Data Guard

    then consider changing POLICY of DELETE ARCHIVELOG RMAN.

    2 back up files on a tertiary device such as a tape with RMAN

    SAFEGUARDING RECOVERY AREA command.

    3. Add space drive and increase the db_recovery_file_dest_size setting to

    reflect the new space.

    4 remove the unnecessary files using the RMAN DELETE command. If a service

    the system control has been used to remove the files, and then use the RMAN DUPLICATION and

    Commands DELETE has EXPIRED.

    ************************************************************************

    Instance of stopped by USER, pid = 10400

    --------------------------------------------------------------------------------------------------------------------------

    Regarding

    Ngoyi

    Hello

    Now it works very well... with following

    --------------------------------------------------

    using sqlplus

    • Startup mount
    • ALTER database noarchivelog;
    • ALTER database open;

    -------------------------------------------------------------------------------

    Concerning

    Ngoyi

    -------------------------------------------------

  • change of database for processing result

    Hello everyone,

    I have a question regarding the change of the use of the database for the processing of the result. My environment is 2014 Teststand, LabView 2014.

    I need to be able to change the database used to store the result data programmatically. I use the simple example of the user interface provided by TestStand as a starting point to build the user interface. As I do this is by creating a global variable of station (StationGlobals.DBName) in the TestStand. The user can select its database via a combo box in the user interface. When users perform a sequence, Teststand asked to the user interface, the name of the database selected by the user (using UIMessage).

    It does not work like I wanted. It is better described the symptom using the following use cases:

    1. start the user interface

    2. choose a database (DB - A)

    3. run a sequence

    4. check the result data tables in DB - A. This works.

    5. choose another database (DB - B)

    6. run the same sequence

    7. check the result data tables in DB - B. They are not DB - B.

    8. check the result data tables in DB - A. They are in DB - A.

    It seems that the global variable of the station can be passed to the configuration database before you start to execute any order. The next event in the sequence, it does not take effect more.

    I wonder if I need to change a reminder to operate correctly.

    No idea why it behaves in this way? Here is a screenshot of my setup of database:

    Thanks in advance for any pointer.

    Yours,

    chati

    Hello Warren_Scott,

    apparently in my case, when I change the database between runs, I can simply turn off the option "Share Data Link between executions" in the result of treatment-> database option and it will work. Thanks for your suggestions.

    Yours,

    chati

  • Is it possible to run a search/change on all the steps within a sequence?

    Is it possible to apply a find/change to all the steps within a sequence.  For example, if you want all instances of '27_' to "59_", is it possible in TestStand 4.2.1?

    Have you tried hitting "Ctrl" + "F" on your keyboard?  This is what I use all the time and you can find/replace with it.

  • Change the database file [DFL]

    Hello

    I'm looking for a way that may alter the *.ldf database file, some customers do not put the Signal_endcoding_types in the FLA file. I need a way to save the 'coding' in the file with labview UI. I found a few old FLA file API, but I tried, it seems to me that they only works on older versions. My fla file version is LIN_protocol_version = "2.0"; LIN_language_version = "2.1"; could someone tell me if there is a way that can achieve my goal.

    Thanks in advance

    Best regards

    Melo

    You want to edit the FLA file?  Because if so there is nothing that neither currently offers that will work for you.  If you want to use the FDL in XNet and you want to change the settings imported from the FLA so you can use the XNet API to achieve this.  When you use XNet you import the FLA (or other database files) and then you can modify the database, but is not edit the FLA.  This changes the database using the XNet, which began with the importation of the DFL.

    Recently, there has been updates of XNet which allow you to export a database, but I think they don't support that export to a database BOX.  So with CAN you can import a DBC XNet, change it using the database, editing tools, and then export it to a DBC should have the changes you made.

  • "How to change the gateway by default from the command prompt"

    "How to change the gateway by default from the command prompt"

    How to change the default gateway on the windows command line

    Microsoft Windows XP - route

  • I have a pavilion dv7 7000. I want to change my card to default chart to 630 m not intel nvidia gc.

    I have a pavilion dv7 7000. I want to change my card to default chart to 630 m not intel nvidia graphics HD 4000.

    Hello

    Go in the NVIDIA Control Panel, and then select manage 3D settings.  Now, click the global settings tab, and then select it Auto drop down. Now select processor High Performance NVIDIA.

    The drawback with the above is that you will consume more energy and your system can run on battery as long. An Alternative is to select the program tab and then just add the program you want to run on the processor performance, NVIDIA.

  • Try to change from1 VLAN by default to 11issues with Force10s4810

    Hello

    I'm changing the vlan1 by default to 11, since I need to work with vlan 1 and tagged interface inside

    When I am running the below command I get

    SRV-CPTS-CORE1 (conf) #default vlan id-11

    % Error: VLAN existing cannot be set on default VLAN Vl 11.

    No idea how to do this?

    Please advice

    Thank you

    Thanks for the additional info. After doing some research it turns out that you can not make an existing VLAN in the VLAN by default. We have to run these commands, and it should work.

    #no int vlan 11

    #default vlan id-11

    Keep us informed

  • How can I change orientation of the default print Windows 7 landscape to portrait painting?

    Original title: Windows 7 default paint print orientation.

    How can I change orientation of the default print Windows 7 landscape to portrait painting?

    I would not be forced to change every time I have use Paint.

    Thank you, Jay

    Hi Jay,.

    There is no option available to change the orientation of the default Windows 7 Paint print.

    However, you can set default print options to print landscape and impression accordingly paint program.

    For more information, see this link:

    http://support.Microsoft.com/kb/305402

    Hope the helps of information.

  • How to change the font by default for the WORD program?

    I want to open the WORD program with a different default font than the one installed. Currently he is Calibri 11 and I want Times New Roman 12

    One of these apply?

    To change or set the font by default (2010)
    http://Office.Microsoft.com/en-AU/Word-help/change-or-set-the-default-font-HP010368862.aspx?CTT=1

    To change or set the font by default (2007)
    http://Office.Microsoft.com/en-AU/Word-help/change-or-set-the-default-font-HP010014408.aspx?CTT=1

    http://Office.Microsoft.com/en-AU/results.aspx?qu=change+Word+font&ex=1&origin=FX010064710

  • I, stupid, changed the program by default to a BAT file to the cmd prompt, well, now I can't run the batch files now, please help!

    I, stupid, changed the program by default to a BAT file to the cmd prompt, well, now I can't run the batch files now, please help!

    Hi William,.

    Welcome to the Microsoft community.

    Batch file is a type of script file, a text file, containing a series of commands to be executed by the command prompt. When you run a batch file, it opens the command prompt to run the scripts.

    It would be great if you can answer the following questions:

    1. what happens when you try to run a batch file?

    2 are. what batch file you referring?

    3. the problem occurs for a particular batch file?

    First of all, I suggest you to check the commands written in a batch file. To do the same thing, just right-click on the batch file, and then click change. It will open Notepad with the list of orders scripted for this particular batch file.

    If you have additional questions on the computer, please ask your question about Windows and we will be happy to help you.

  • What is this new SQL Beta - 1z1 - 071 - 2 SQL - Oracle Database SQL 12 c

    Hello

    It's confusing.

    This looks like a 2nd review SQL for Oracle 12 c.

    What is this new SQL Beta - 1z1 - 071 - 2 SQL - Oracle Database SQL 12 c

    Can someone explain.

    Roger

    OK - I guess I should have held off a few hours before my previous answer.  I just got an email in the Certification of Oracle program manager. Now, I have inside information.

    1Z0-071 is a SQL new test and the role it plays is between that of the review of databases SQL and SQL Expert.  Specifically, unlike review of databases SQL, passing it will give proof of the OCA for people who spend. I don't know more than that yet.  The review details page is not available and if the subjects are currently a grey area for me.  I'll probably create a blog on the review, if I can get a few details about it.

  • How to change folder name by default when you use save for Web in java script?

    Hello everyone, hope you can help me.


    Photoshop has a folder name by default of images When you export using slices Save for Web . I need to change this folder name.

    How to change folder name by default when you use save for Web in java script?

    Thanks in advance!


    1325ACD7-9C89-4D20-A6BF-E9EE8B7A1D27.png

    QQ20150923-1@2x.png


    JJMack Chuck Uebele Nicolas Ribot SuperMerlin

    You can try with scriptlistener to record the code. Change to the last line of the NO to ALL dialog boxes, so that the dialog - if you wish. There are two places in the code to save the files: one where is actually saved the file, and the other where the default value is file. I have seen it changed something with it. So, you can simply use the first listing of a path in the code below.

    #target photoshop
    
    var idExpr = charIDToTypeID( "Expr" );
        var desc19 = new ActionDescriptor();
        var idUsng = charIDToTypeID( "Usng" );
            var desc20 = new ActionDescriptor();
            var idOp = charIDToTypeID( "Op  " );
            var idSWOp = charIDToTypeID( "SWOp" );
            var idOpSa = charIDToTypeID( "OpSa" );
            desc20.putEnumerated( idOp, idSWOp, idOpSa );
            var idDIDr = charIDToTypeID( "DIDr" );
            desc20.putBoolean( idDIDr, true );
            var idIn = charIDToTypeID( "In  " );
            desc20.putPath( idIn, new File( "C:\\Users\\csuebele\\Pictures\\LR shortcuts" ) );//Here's where it actually saves
            var idFmt = charIDToTypeID( "Fmt " );
            var idIRFm = charIDToTypeID( "IRFm" );
            var idPNtwofour = charIDToTypeID( "PN24" );
            desc20.putEnumerated( idFmt, idIRFm, idPNtwofour );
            var idIntr = charIDToTypeID( "Intr" );
            desc20.putBoolean( idIntr, false );
            var idTrns = charIDToTypeID( "Trns" );
            desc20.putBoolean( idTrns, true );
            var idMtt = charIDToTypeID( "Mtt " );
            desc20.putBoolean( idMtt, true );
            var idEICC = charIDToTypeID( "EICC" );
            desc20.putBoolean( idEICC, false );
            var idMttR = charIDToTypeID( "MttR" );
            desc20.putInteger( idMttR, 255 );
            var idMttG = charIDToTypeID( "MttG" );
            desc20.putInteger( idMttG, 255 );
            var idMttB = charIDToTypeID( "MttB" );
            desc20.putInteger( idMttB, 255 );
            var idSHTM = charIDToTypeID( "SHTM" );
            desc20.putBoolean( idSHTM, false );
            var idSImg = charIDToTypeID( "SImg" );
            desc20.putBoolean( idSImg, true );
            var idSWsl = charIDToTypeID( "SWsl" );
            var idSTsl = charIDToTypeID( "STsl" );
            var idSLAl = charIDToTypeID( "SLAl" );
            desc20.putEnumerated( idSWsl, idSTsl, idSLAl );
            var idSWch = charIDToTypeID( "SWch" );
            var idSTch = charIDToTypeID( "STch" );
            var idCHsR = charIDToTypeID( "CHsR" );
            desc20.putEnumerated( idSWch, idSTch, idCHsR );
            var idSWmd = charIDToTypeID( "SWmd" );
            var idSTmd = charIDToTypeID( "STmd" );
            var idMDCC = charIDToTypeID( "MDCC" );
            desc20.putEnumerated( idSWmd, idSTmd, idMDCC );
            var idohXH = charIDToTypeID( "ohXH" );
            desc20.putBoolean( idohXH, false );
            var idohIC = charIDToTypeID( "ohIC" );
            desc20.putBoolean( idohIC, true );
            var idohAA = charIDToTypeID( "ohAA" );
            desc20.putBoolean( idohAA, true );
            var idohQA = charIDToTypeID( "ohQA" );
            desc20.putBoolean( idohQA, true );
            var idohCA = charIDToTypeID( "ohCA" );
            desc20.putBoolean( idohCA, false );
            var idohIZ = charIDToTypeID( "ohIZ" );
            desc20.putBoolean( idohIZ, true );
            var idohTC = charIDToTypeID( "ohTC" );
            var idSToc = charIDToTypeID( "SToc" );
            var idOCzerothree = charIDToTypeID( "OC03" );
            desc20.putEnumerated( idohTC, idSToc, idOCzerothree );
            var idohAC = charIDToTypeID( "ohAC" );
            var idSToc = charIDToTypeID( "SToc" );
            var idOCzerothree = charIDToTypeID( "OC03" );
            desc20.putEnumerated( idohAC, idSToc, idOCzerothree );
            var idohIn = charIDToTypeID( "ohIn" );
            desc20.putInteger( idohIn, -1 );
            var idohLE = charIDToTypeID( "ohLE" );
            var idSTle = charIDToTypeID( "STle" );
            var idLEzerothree = charIDToTypeID( "LE03" );
            desc20.putEnumerated( idohLE, idSTle, idLEzerothree );
            var idohEn = charIDToTypeID( "ohEn" );
            var idSTen = charIDToTypeID( "STen" );
            var idENzerozero = charIDToTypeID( "EN00" );
            desc20.putEnumerated( idohEn, idSTen, idENzerozero );
            var idolCS = charIDToTypeID( "olCS" );
            desc20.putBoolean( idolCS, false );
            var idolEC = charIDToTypeID( "olEC" );
            var idSTst = charIDToTypeID( "STst" );
            var idSTzerozero = charIDToTypeID( "ST00" );
            desc20.putEnumerated( idolEC, idSTst, idSTzerozero );
            var idolWH = charIDToTypeID( "olWH" );
            var idSTwh = charIDToTypeID( "STwh" );
            var idWHzeroone = charIDToTypeID( "WH01" );
            desc20.putEnumerated( idolWH, idSTwh, idWHzeroone );
            var idolSV = charIDToTypeID( "olSV" );
            var idSTsp = charIDToTypeID( "STsp" );
            var idSPzerofour = charIDToTypeID( "SP04" );
            desc20.putEnumerated( idolSV, idSTsp, idSPzerofour );
            var idolSH = charIDToTypeID( "olSH" );
            var idSTsp = charIDToTypeID( "STsp" );
            var idSPzerofour = charIDToTypeID( "SP04" );
            desc20.putEnumerated( idolSH, idSTsp, idSPzerofour );
            var idolNC = charIDToTypeID( "olNC" );
                var list4 = new ActionList();
                    var desc21 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCzerozero = charIDToTypeID( "NC00" );
                    desc21.putEnumerated( idncTp, idSTnc, idNCzerozero );
                var idSCnc = charIDToTypeID( "SCnc" );
                list4.putObject( idSCnc, desc21 );
                    var desc22 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNConenine = charIDToTypeID( "NC19" );
                    desc22.putEnumerated( idncTp, idSTnc, idNConenine );
                var idSCnc = charIDToTypeID( "SCnc" );
                list4.putObject( idSCnc, desc22 );
                    var desc23 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwoeight = charIDToTypeID( "NC28" );
                    desc23.putEnumerated( idncTp, idSTnc, idNCtwoeight );
                var idSCnc = charIDToTypeID( "SCnc" );
                list4.putObject( idSCnc, desc23 );
                    var desc24 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwofour = charIDToTypeID( "NC24" );
                    desc24.putEnumerated( idncTp, idSTnc, idNCtwofour );
                var idSCnc = charIDToTypeID( "SCnc" );
                list4.putObject( idSCnc, desc24 );
                    var desc25 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwofour = charIDToTypeID( "NC24" );
                    desc25.putEnumerated( idncTp, idSTnc, idNCtwofour );
                var idSCnc = charIDToTypeID( "SCnc" );
                list4.putObject( idSCnc, desc25 );
                    var desc26 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwofour = charIDToTypeID( "NC24" );
                    desc26.putEnumerated( idncTp, idSTnc, idNCtwofour );
                var idSCnc = charIDToTypeID( "SCnc" );
                list4.putObject( idSCnc, desc26 );
            desc20.putList( idolNC, list4 );
            var idobIA = charIDToTypeID( "obIA" );
            desc20.putBoolean( idobIA, false );
            var idobIP = charIDToTypeID( "obIP" );
            desc20.putString( idobIP, """""" );
            var idobCS = charIDToTypeID( "obCS" );
            var idSTcs = charIDToTypeID( "STcs" );
            var idCSzeroone = charIDToTypeID( "CS01" );
            desc20.putEnumerated( idobCS, idSTcs, idCSzeroone );
            var idovNC = charIDToTypeID( "ovNC" );
                var list5 = new ActionList();
                    var desc27 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCzeroone = charIDToTypeID( "NC01" );
                    desc27.putEnumerated( idncTp, idSTnc, idNCzeroone );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc27 );
                    var desc28 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwozero = charIDToTypeID( "NC20" );
                    desc28.putEnumerated( idncTp, idSTnc, idNCtwozero );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc28 );
                    var desc29 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCzerotwo = charIDToTypeID( "NC02" );
                    desc29.putEnumerated( idncTp, idSTnc, idNCzerotwo );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc29 );
                    var desc30 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNConenine = charIDToTypeID( "NC19" );
                    desc30.putEnumerated( idncTp, idSTnc, idNConenine );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc30 );
                    var desc31 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCzerosix = charIDToTypeID( "NC06" );
                    desc31.putEnumerated( idncTp, idSTnc, idNCzerosix );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc31 );
                    var desc32 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwofour = charIDToTypeID( "NC24" );
                    desc32.putEnumerated( idncTp, idSTnc, idNCtwofour );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc32 );
                    var desc33 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwofour = charIDToTypeID( "NC24" );
                    desc33.putEnumerated( idncTp, idSTnc, idNCtwofour );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc33 );
                    var desc34 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwofour = charIDToTypeID( "NC24" );
                    desc34.putEnumerated( idncTp, idSTnc, idNCtwofour );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc34 );
                    var desc35 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwotwo = charIDToTypeID( "NC22" );
                    desc35.putEnumerated( idncTp, idSTnc, idNCtwotwo );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc35 );
            desc20.putList( idovNC, list5 );
            var idovCM = charIDToTypeID( "ovCM" );
            desc20.putBoolean( idovCM, false );
            var idovCW = charIDToTypeID( "ovCW" );
            desc20.putBoolean( idovCW, true );
            var idovCU = charIDToTypeID( "ovCU" );
            desc20.putBoolean( idovCU, true );
            var idovSF = charIDToTypeID( "ovSF" );
            desc20.putBoolean( idovSF, true );
            var idovCB = charIDToTypeID( "ovCB" );
            desc20.putBoolean( idovCB, true );
            var idovSN = charIDToTypeID( "ovSN" );
            desc20.putString( idovSN, """c:\photos""" );//Here's where the default folder is suppose to go.
        var idSaveForWeb = stringIDToTypeID( "SaveForWeb" );
        desc19.putObject( idUsng, idSaveForWeb, desc20 );
    executeAction( idExpr, desc19, DialogModes.ALL );
    
  • Leaving the vCenter, database SQL 2008 R2 to SQL 2012 R2

    Hi guys,.

    I have a project to move our of vCenter company database in SQL 2008 R2 Cluster at our new farm of R2 SQL 2012, is it as simple as:

    1. backup of database

    2 restore database in SQL 2012 R2

    3. set up new DSN (SQL Native 11 for 2012 R2?) pointing to vCenter server

    OR is there more to him because of the differences between SQL 2008 R2 and SQL 2012 R2?

    PL, refer following links: -.

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalID=7960893

    or even more plus easy & accurate steps are here:-

    Migration of database SQL Server of VMware vCenter. vDestination: you & #039; Re almost there

Maybe you are looking for