SQL Server or restore of database to a new domain

Hello

I have Windows Server 2003 and SQL 2005 - in domain a.

I have another Server 2008 R2 and SQL 2008R2 domain equip B w

The two areas are on the same network of flat, so they only connectivity via IP and Credential Manager etc. (no trust between them).

People use ODBC connections and then use MS Access to databases (e.g. sales) created on the server of domain A, using authentication Windows (i.e. area a/c).

The project is to move the database in area b. (all PC will move to domain B as well).

1. I did a "Backup" sales and restored on server b, created local connections (database) and users and has made the ODBC DSN, but getting errors such as SQL State '28000' and a SQL Server error: 18452. [The connection comes from an untrusted domain...]

I don't know I'm missing something. What should I do for the above work.

2. Furthermore, if I had to move the server itself from domain A to B, so what are the steps to do this. Will this still be windows authentication?

Thank you

Ashok

This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

If you give us a link to the new thread we can point to some resources it

Tags: Windows

Similar Questions

  • SQL Server VM with vCenter database storage migration

    vCenter Server 5 and ESXi 5.

    Hi all. Have vcenter server on a physical machine. The database server is VM with SQL Server 2008R2. Need recommendation of migrating data to another store. The storage systems are different. And can not be shared beetwen 2 servers. HP MSA 2012 SAS Enclouser and HP EVA 6500.

    I think you only good option is to take note of the host in which your VCDB VM is saved. Turn off vCenter (it won't work anyway once the DB is taken offline).  Then use VMware Converter to migrate the virtual computer from the data store either.  Once the VM has been upsized, turn the VCDB VM, turn on vcenter, ensure that everything works and then destroy the 'old' VCDB VM.

  • the variable name of database query to SQL Server using the Oracle database link

    Hi all

    I have an ApEx 4.1 application running on x 64 (11.2.0.1) 11g on Windows Server 2008 x 64, and I have a few points of data integration with SQL (2005 and 2008) server that I need to create. I have configured the database with dg4odbc link and it works perfectly... I can run queries on the SQL Server database without any problem using the database link.

    However, there is a scenario where the SQL Server database name is dynamic, and I need to generate on the fly in a PL/SQL block and then use it in a query dynamic SQL (all this in the ApEx). It of wherever I meet problems... when I asked the default database that is based on the ODBC connection and I don't have to specify the name of the database, no problem. But when I need access to one of the several other databases by default, I received the error "invalid table.

    It works well:* (note that 'fv' is the name of my database link)

    v_query1: = "select 'Release Date' from dbo." Schedules@FV where dbo. Annexes. "" SchedID "=: calendar";
    EXECUTE IMMEDIATE v_query1 in rel_date using the grid.




    I then take this rel_date variable, convert a varchar2 (rel_date_char), then use it as the name of the database in the following query...


    _ It returns an error(error ORA-00903: invalid table name)

    v_query2: = "select"PARTNO": rel_date_char.dbo.ProdDetails@fv where 'SchedID' =: calendar and"UnitID"=: unit"
    and 'MasterKey' =: master and "ParentKey" =: parent';

    EXECUTE IMMEDIATE v_query2 in part_number using planning, master, parent unit;



    I also tried using all of the following conditions without result:

    "select"PARTNO"of" | : rel_date_char | '.dbo. ProdDetails@fv where 'SchedID '...
    "select"PARTNO"of" | rel_date_char | '.dbo. ProdDetails@fv where 'SchedID '...
    "select"PARTNO"of" | @rel_date_char | '.dbo. ProdDetails@fv where 'SchedID '...
    "select"PARTNO"in @rel_date_char.dbo.ProdDetails @fv where 'SchedID'..."


    Is it possible to do it in PL/SQL?

    Thanks for any help!
    -Ian C.

    Published by: 946532 on July 15, 2012 19:45

    Just did a test using passthrough:

    SQL > set serveroutput on
    SQL > declare
    2 val varchar2 (100);
    3 c whole;
    4 whole nr;
    5. start
    c: 6 = dbms_hs_passthrough.open_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3;
    7 dbms_hs_passthrough.parse@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c, "select count (*) from EMP");
    8 LOOP
    9 nr: = DBMS_Hs_Passthrough.fetch_row@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c);
    10 output when nr = 0;
    11 dbms_hs_passthrough.get_value@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c, 1, val);
    12 dbms_output.put_line (val);
    13 end of loop;
    14 dbms_hs_passthrough.close_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c);
    15 end;
    16.
    24576

    PL/SQL procedure successfully completed.

    SQL > declare
    2 val varchar2 (100);
    3 c whole;
    4 whole nr;
    5. start
    c: 6 = dbms_hs_passthrough.open_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3;
    7 dbms_hs_passthrough.parse@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c, ' select count (*) from dbo.) EMP');
    8 LOOP
    9 nr: = DBMS_Hs_Passthrough.fetch_row@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c);
    10 output when nr = 0;
    11 dbms_hs_passthrough.get_value@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c, 1, val);
    12 dbms_output.put_line (val);
    13 end of loop;
    14 dbms_hs_passthrough.close_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c);
    15 end;
    16.
    24576

    PL/SQL procedure successfully completed.

    So all 3 ways work for me.

    Published by: kgronau on July 23, 2012 10:08

    Now, using the variables to make the selection:

    SQL > declare
    2 val varchar2 (100);
    3 c whole;
    4 whole nr;
    5 tabname varchar2 (20): = 'EMP ';
    6 ownr varchar2 (20): = "dbo."
    7 dbname varchar2 (20): = "door";
    Start 8
    c: 9 = dbms_hs_passthrough.open_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3;
    10 dbms_hs_passthrough.parse@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c, ' SELECT count (*) FROM ': dbname: '.) ' || ownr | '.'|| tabname | ") ;
    11 LOOP
    12 nr: = DBMS_Hs_Passthrough.fetch_row@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c);
    13 when the exit nr = 0;
    14 dbms_hs_passthrough.get_value@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c, 1, val);
    15 dbms_output.put_line (val);
    16 end loop;
    17 dbms_hs_passthrough.close_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c);
    18 end;
    19.
    24576

    PL/SQL procedure successfully completed.

    => instead of executing the statement using the "execute Immediate" we use the PASTHROUGH package to pass the statement to SQL Server.

    Published by: kgronau on July 23, 2012 10:10

  • Loading data to SQL server for the Oracle database

    I want to create a table in oracle db table in sql server. Table is huge that he has obtained the documents 97,456,789.
    I created the link (HS) db in the oracle database that points to the sql server. I choose this oracle db on the link table.

    Select * from 'dbo '. "T1@dblink;

    I shot below to create the table.
    create table t2 nologging parallel (degree = 3) as select * from 'dbo '. "T1@dblink;
    and its taking a long time... but its operation...

    is there any other method to do this and and fill the table in oracle db faster.

    Please notify. Thank you.

    vhiware wrote:
    create table t2 nologging parallel (degree = 3) as select * from 'dbo '. "T1@dblink;
    and its taking a long time... but its operation...

    I doubt that parallel processing will be used because it is unique to Oracle (using rowid varies in general) and not SQL-Server.

    is there any other method to do this and and fill the table in oracle db faster.

    Part of the performance overhead is to pull that data from SQL Server to Oracle in the whole of the liaison network between them. This can be accelerated by compressing the data first - and who then transfer them over the network.

    For example: using + bcp + to export the data in the SQL Server box to a CSV file, compress/zip file, scp/sftp file Oracle and then to unzip there. In parallel and direct treatment of load can now be done using SQL * Loader to load the CSV file into Oracle.

    If it is a basic Linux/Unix system, the process of decompression/unzip can be run in parallel with the SQL * process Loader by creating a pipe between the two – where the decompression process writes data uncompressed in the pipe and SQL * Loader reads and loads the data that is available through the pipe.

    Otherwise you are PQ own transformation. Assume that the data is date varies. You can create a procedure on Oracle that looks like this:
    {code}
    create or replace procedure as copyday (day) is
    Start
    Insert / * + append * / into local_tab select * from remote_tab@remotedb where col_day = day;
    -Add logging info, validation, etc.
    end;
    {code}

    You can now start 10 or more of these different days and run it in the background using DBMS_JOB.

  • ORA-01103 - restoration of database for the new name.

    Hi, I am looking to restore a database from a backup to cold. RMAN is not, it is just a backup of operating system level.

    The technical details are
    Windows 2003
    Oracle 11.1



    What has happened is - I upgraded our database of development of 11.1, 11.2 and we discovered a bug, so I want to restore the database in the instance of 11.1. Version 11.2 of the database is running, people use, we have a work around, so I can't delete this database. What I want to do is create a new instance to 11.1 restore all files/etc/files of control data, the file of configuration settings and start the database, of course I had to use another name.


    However, the problem I see is
    ORA-01103: name of the 'ALPHA' database in the control file is not "ALPHADB". ALPHADB is the new database. I thought to do the backup to retrace and recreate control files, but I can't mount the database. I did "backup to trace" on the OLD database.

    Advice please?

    Re-create the control file using the set database_name database

  • How to establish links of Labview with SQL server database Toolkit

    I'm a database newbie, but I have to use MS SQL server (2008) to store my data. I am well equipped with all the features of Labview, don't know how to use it properly. I now complete development, including the toolbox database. My latest version of labview is 8.6.1. Side material, I have cFP2220 and many modules of differnet kind.

    Here is a useful link that I found on the web:

    1. I got the database creation procedure (pdf file) to link the udl.

    http://decibel.NI.com/content/docs/doc-4602

    It gives a step-by-step login procedure to MS Access, and I'm able to save data to MS Access with the database Toolbox. However, I could not understand how to establish a chain of connection or udl to SQL server. In other words, I hope someone can explain in detail what is the procedure to set up such a link.

    2. I learned about the forum that there is a LabSQL, but it takes some knowledge of SQL statement. I would walk away from him, as I am not familiar with SQL.

    3. the VI I used for the recording of data in DB are very similar to "Create database Table.vi" found in the sample.

    In short, I think that I just need someone who has experience with the connection to the server SQL with Labview to show me the steps to link to SQL.

    Thank you very much

    You may not create a database in SQL Server using the control panel ODBC or a UDL. You must create a database by using SQL Server tools. (In fact, you can use SQL statements to create a database, which is what's really going on by using SQL Server tools. However, I don't know if the database Toolbox has the screws required to send these types of SQL statements.). Once you have created the database you can create tables using SQL Server tools, or you can use the screw of toolbox database.

    You try to run SQL Server on your computer? SQL Server is usually running on a server. You try to use SQL Server Express?

    Assuming that you have SQL Server running and a database has been created, then here are the steps needed to create a UDL to connect:

    1. In Windows Explorer, create a text file and rename the text file so that there a .udl extension (like this PDF).
    2. Double-click the UDL file.
    3. Change to the tab 'supplier '.
    4. Select 'Microsoft OLE DB for SQL Server provider'.
    5. Click on the ' next > ' button. It changes you to the tab 'connection '.
    6. In the drop-down menu, select your SQL Server. If it is not listed, try clicking on the Refresh"" button. If this does not meet the list, then you will need to enter manually.
    7. In the section "#2" specify the authentication method and credentials, if necessary, to connect to SQL Server.
    8. In the section "#3" specify the database that will be used, which is the one that you created earlier using the SQL Server tools. NOT SELECT THE MASTER DATABASE. If you do, you will completely screw up your installation of SQL Server.
    9. Click "Test connection" to verify that you can connect to SQL Server.
  • What is microsoft sql Server 2005 and do I need?

    I noticed this in Add/Remove programs and it has only been installed since March 17, 2011

    SQL Server 2005 is a database management program. It would be normally installed alongside another application to manage its files.

    Check what other programs have been installed on March 17. Type of reliability in the box start the Vista search and then press ENTER. Select reliability monitor from the list on the left. Select March 17 to see what has been installed.

  • CD-ROM/DVD-ROM device driver does not support SQL Server 2014

    My computer:

    -Win 7-64 BIT.

    -SQL server 2014.

    -CD-ROM/DVD-ROM device.

    Win 7 has a problem when SQL Server 2014 creates the database on CD-ROM/DVD-ROM device file.

    I'm asking in the forum of SQL Server and the response is ", this question could related to the driver for your drive as SQL Server DeviceIoControl calls during the creation and opening of any data file or journal. In this case you will need to discuss with your provider of storage device on the driver problem. »

    Reference: operating system error 1 (function Incorrect.) met.

    My question: why CD-ROM/DVD-ROM device driver support SQL Server 2014?

    And how to solve the problem?

    My driver as follows:

    Your words:

    "Win 7 have a problem when SQL Server 2014 creates the database on CD-ROM/DVD-ROM device file. .

    I ask in the forum for SQL Server and the response is " " If this problem could be linked to the pilot of your drive as SQL Server DeviceIoControl calls When you create and open any file of data or log. In this case, you will need to discuss with your provider of storage device on the driver problem. "

    Forum SQL of importance or ask your optical drive manufacturer.

  • Cannot create the user in SQL Server 2008 physical model

    When I'm on the right, click relationship models-> Relational_1-> physical models-> SQL Server 2008-> database-> users, 'New' (which is the only option) is greyed out and I can not add users.  In versions 4.0 EA, I was able to create users.  This feature has been removed from SQL Server?  I work in a mixed shop and we chose SDDM because it could support Oracle and Microsoft. And I am now ready to migrate everything from Oracle Designer to SDDM and it seems that some of the featrures of SQL Server have been removed.

    Hi Marcus,

    any object login - tree of the physical model of SQL Server consists of:

    -Databases

    - Connections

    -Tables

    -Views

    - ...

    If you need to create a connection in the connections series and in its dialog box you will find related tab.

    Philippe

  • SQL Server edition full for vCenter Server 6.0

    Hello

    Just learn that vCenter 6.0 does not support SQL Server Express.

    We intend to use SQL Server 2008R2 as the database of vCenter Server 6.

    We would like to ask for your opinion if we should use the full 32-bit or 64-bit SQL Server Edition?  For SQL Server Express, 64 - Bit is used, I think that we need to use 64 bits one, is this correct?

    Your opinion is requested.

    Just learn that vCenter 6.0 does not support SQL Server Express.

    The Windows 6.0 vCenter dropped the integrated SQL Express, BUT instead, it comes with a SQL database vPostgres shipped to replace it with similar restrictions. You don't need to install your own SQL server if you're ok with these limits. See the following article:

    vSphere 6 - clarify misinformation. VMware vSphere Blog - VMware Blogs

    Databases are supported for installing windows SQL 2008 R2, 2012 and 2014, Oracle 11g and 12 c as well as the possibility of using an embedded database vPostgres on windows vPostgres is limited to 20 guests and 200 VMs. Upgrades where SQL express is installed will be converted to vPostgres. The vCenter Server Appliance supports the vPostgres shipped to full scale, the host of 1000 and 10,000 virtual computers and is the database recommended for vCenter server unit. Oracle 11g and c 12 external databases are also supported for this version, look for these to drop in the future releases.

    It is also possible to keep an existing SQL Express DB when you perform an upgrade:

    VMware KB: Upgrade vCenter Server 6.0 without migration of the SQL database to vPostgres

    If you use your own SQL server to go with a 64-bit version and stick them on products VMware interoperability Matrices.

  • Linux for SQL Server: ORA-28545: error diagnosed by Net8

    Hi guys,.

    I am getting confused with the steps to follow for this because the Oracle documentation is less than the normal ("HS_FDS_CONNECT_INFO = dns" is not enough for example) and different Articles/forum messages saying different things.

    I am trying to connect to Oracle 11.2.0.3 on Linux (64) to a SQL Server 2008 R2 on x 64 with a database named DBA_Housekeeping. Does anyone have a clear guide to the steps (and where)? Can you see what I'm doing wrong here?

    Oracle hostname: gblabl76

    SQL Server hostname: UKAHES066

    I did all the steps are on the Oracle server. I didn't something on the SQL Server (am I supposed to install a client/drivers there?):

    1 created initDBA_Housekeeping.ora in $ORACLE_HOME/hs/admin /.

    HS_FDS_CONNECT_INFO = "UKAHES066\\UKAHES066.DBA_Housekeeping"
    HS_FDS_TRACE_LEVEL = OFF
    #HS_FDS_SHAREABLE_NAME =
    
    

    2 added something to the listener.ora on the oracle server & then start the listener (of the said State UNKNOWN):

    MSSQL = (DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = gblabl76)(PORT = 1523)))
    SID_LIST_MSSQL =
      (SID_LIST =
       (SID_DESC =
          (SID_NAME = DBA_Housekeeping)
          (ORACLE_HOME = /oracle/product/11.2.0.3/db_1)
          (PROGRAM = dg4odbc)
        )
      )
    
    

    3. Add a tnsnames file entry:

    DBA_Housekeeping =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA = (SID = DBA_Housekeeping))
            (HS=OK)
        )
      )
    
    

    4 creates a connection to the SQL Server default for this database instance. Then, I created a link of database in Oracle:

    CREATE PUBLIC DATABASE LINK DBA_Housekeeping CONNECT TO "hkadm" IDENTIFIED BY "hkadm" USING 'DBA_Housekeeping';
    
    

    But when I try to query the database through a db connection I get the error listed. Anyone see where I am going wrong?

    Do I need to install the drivers on Windows Server (and requires a reboot?)?

    I have to create this DNS thing or matches the string in the hs .ora enough?

    Thanks for the tips: s I hope to connect to our SQL instances server so they can be monitored by their SUMMIT.

    Mike

    Those who seek to connect to Oracle & SQL Server I want to give you the best solution to your problem.

    Use a server linked server SQL for Oracle (push rather than pull).

    If you do just a server then you could do directly. However, if you plan to use several servers, then you must create a SQL Server repository (it could be the free Express version) that will store the data of all your SQL Server databases and then passes Oracle.

    The reason why I did this original post is because I want to store data in our Oracle APEX SQL Server monitoring system. I lost a day trying to trawl through the net for specific instructions for setting up (before Klaus answered me here). It took me less than an hour to select from & insert into an Oracle database in the opposite direction.

    1 install the Oracle client on the instance of SQL Server

    2. If suppliers (under related servers) does not list Oracle then reboot the server (ideally your new repository SQL Server); If she's already then skip this step.

    3. Add an entry for your new DB Oracle TNSNames file

    4 create a server associated with the oracle credentials

    That's all that is needed for a working solution. Yesterday I had nothing, today, I have a link will:

    Many MSSQL isntances-> repository MSSQL-> repository Oracle APEX

    Mike

  • Conversion procedure PL/SQL in SQL SERVER

    Hello
    I'm converting SQL Server procedures in Oracle procedures using scracth translation Editor.
    Instead of converting the proecdures in proocedures Oracle utility is converting them as Oracle, no idea why it is doing this?

    Please notify.

    Thank you
    FM

    Hello

    Did you use the feature updates checking or manually download the jar file? Checking for updated works far for me sometimes and sometimes not. For manual installation, then you must add an entry for the jTDS jar here...

    Tools-> preferences-> database-> third of JDBC drivers

    Hope this heips
    Gary
    SQL development team

    Published by: Gary Graham on March 26, 2013 08:32
    Seems that I misread your message. If you have downloaded the jar and added an entry for her in the third of the JDBC drivers, Sybase and SQL Server tabs must be present in the new connection dialog box. Especially if you have unzipped Developer SQL in a directory is empty and your user preferences settings are located in a directory that always remains accessible in writing for you. Make sure that your installation is clean.

  • Migration system 9 planning SQL Server EPM11.1 using Oracle applications

    I installed EPM11.1 Oracle on the back end. I put to level my project Hyperion system 9 to EPM11.1. Installing and configuring EPM went well so far. However, my system of planning applications was created on SQL/2000 on the old system 9. I need help migrate SQL/Server applications on Oracle databases.

    Question: Do I need to create an empty shell App-1 on the new EPM11.1 system and migrate the App-1 of the former system, SQL/Server. Alternatively, the migration process should automatically create a new database of App-1 on the Oracle database?

    I would appreciate any input you can provide. Thank you.

    You should be able to mark answers as useful or correct, doesn't look like this for one of the answers.

    See you soon

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

  • Problem with SQL Server 2008 migration

    Hello

    I am having trouble capturing SQL Server (Express 2008) tables/views/data for Migration to Oracle 11. I was able to connect to the source (SQL Server 2008 Express) and databases of destination (Oracle 11) on the same server (Windows Vista 32 bit). However, when I select objects SQl server (tables or views) and click on "Capture Microsoft SQL Server" or "Table of Capture" etc, nothing happens... No message and the tool is just sitting there. The models 'captured' is empty... Could someone please help? Where can I find the error logs? I followed the instructions as described in the help text and also found that some other people were able to run on SQL Server. I wonder what might be different about my situation.

    Thank you!

    BK

    Hello

    SQL Developer Migration Workbench does not yet support the migration to SQL Server 2008.

    See http://www.oracle.com/technology/tech/migration/workbench/pdf/migrationdatasheet_15.pdf

    This data sheet lists only the versions of SQL Server 7.0, 2000 and 2005.

    Maybe the next Metalink note allows more:

    Note 393760.1: how to migrate databases non-Oracle, for which an Option of Migration Workbench is not available

    Kind regards
    Wolfgang

  • Windows XP cannot create connection DSN ODBC in SQL Server to SQL Server

    I create an ODBC SQL Server DSN connection on my desktop Windows XP domain.    I select the system DSN and ADD.  I select SQL Server, and it will return to the original system DSN screen.   What's wrong?  Has anyone seen this problem?  There is another on the list system DSN data source so I know that the possibility existed before.

    Hi Pearlyshells,

    I would have you post your query in the MSDN Forums, because it is addressed to an audience of it professionals.

    Your request would be more out there.

    Check out the link-

    http://social.msdn.Microsoft.com/forums/en/category/SQLServer

    Thank you.

Maybe you are looking for