How to copy Database?
I'm new to Oracle 10G Application Express. I have created a database and would like to upload to the apex oracle host site. I used the export feature and exported the database and i was able to import and install unto the host site but i'm not getting further than the logon page of my database. Can anyone help?
You should probably ask this in the Apex forum (Oracle Application Express (APEX)
Similar Messages
-
Hi experts,
How to copying database without Data.
Its very urgent..pls help out me......
Thanks
VijayUse Transfer database objects task or script the objects out using generate scripts wizard from SSMS and apply them in the new server
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to copy Database installation?
Hi All!
I would like to ask, if is possible to copy whole hard disk with Oracle Database already configured on it?
Server is running on CentOs and it has Oracle 10.2 - test server and environment.
I want to create another test environment but on PC not server. So I want to copy server hard disk and re-create it on PC hard disk.
Server is HP GL380 but PC will be like Pentium 4 :p - only 1-2 users will connect to database.If the plan is to install the same OS on the PC, then pl refer to MOS Doc 565009.1 (FAQs on RDBMS Oracle Home Cloning Using OUI) on how to clone the Oracle binaries. Copying the database over should be a relatively simple task.
HTH
Srini -
For Dreamweaver how to copy database to MAMP
How do I copy a database for use with MySQL?
MAMP PRO web server and the MySQL server are running.
Via http:localhost:8888/MAMP/ phhpMyAdmin screen is visible and shows four databases by default from installation:
information_schema
mysql
performance_schema
test
There is data in the first three. On page 345 of Adobe Dreamweaver CS5 Classroom in a book instructions are: " Copy this database [greendata] to the testing server as required under your PHP/MySQL server installation." I installed MAMP using the all in one step option. Everything seems to work fine. But no where can I find instructions for copying a database to the testing server.
On the same page in the digital Classroom in a Book there is the "tip: In OS X, the greendata database … would be copied to the MAMP > db > mysql." I have copied greendata there. And see two other folders there, performance_schema and mysql. Those are two of the databases that I can access in phpMySQL. But my database, greendata is not visible.
So where do I copy the database and how do I access it?CREATE TABLE AS SELECT via DBLink
-
How to copy file to another server from database using FTP in oracle
How to copy file to another server from database using FTP in oracle.
Please do the needfaul.Billy Verreynne wrote:
BluShadow wrote:
Not to mention that some FTP servers can return more than one return message per operation whereas others may return one message for the same operation.I had the problem using the LIST command to determine if a file exists on the server. Cannot be determined via the FTP server's return code. Which means parsing and checking the text response from the server to the command. And this vary from server to server.
But the basics were quite easy to code. The entire package is 500 lines, includes comments and blank lines for formatting, and supports the basic FTP client command set. Not really a complex piece of software to write - but I found that many developers seem to think that writing network socket software is complex. Not really the case...Mine's a big larger, but incorporates functionality similar to what Chris provided in his, such as being able to use SQL to query a remote file using pipelined functions, or functionality to write the results of a query directly to a remove file.
:) -
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 the content in XMLtype column between databases
Hi, there,
Does anyone know how to copy the content in XMLtype clumn between databases? I tried insert as select via database link and it gives me the following message:
SQL> insert into nrt_ot_request_temp (SR_ID, SR_VERSION, ITEM_NUMBER, COMMON_XML, REQUEST_XML )
2 select SR_ID, SR_VERSION, ITEM_NUMBER, COMMON_XML, REQUEST_XML from nrt_ot_request@nrtdb_acacia;
select SR_ID, SR_VERSION, ITEM_NUMBER, COMMON_XML, REQUEST_XML from nrt_ot_request@nrtdb_acacia
ERROR at line 2:
ORA-00942: table or view does not exist
Thanks,
JessicaHi Jessica,
in my eyes the second statement
select ... xmlstring_column ... from table@remote_side;
causes the error. Columns of type XMLString internally are stored as CLOBs in Oracle. Unfortunately there are restrictions on statements for CLOBs and remote locators.
It seems you cannot say
SELECT clob_column FROM table@remote_site;
Remark: For me this is a showstopper for the datatype XMLString if you cannot run a simple statement like this one. It seems you can do an insert and an update but no select.
On the other hand your first statement
INSERT INTO table_local SELECT * FROM table@remote_site;
should work following the documentation.
See also
http://docs.oracle.com/cd_a97630/appdev.920/a96591/adl04mng.htm#98328
Best regards
Indu Keilitz -
How to copy a database to another location in sqlserver 2008 express edition
Hi,
Please help for to copy a database to another location in sqlserver 2008 express edition
With many thanks
Pol
polachanif you are using SQL Server 2008 express edition
you are NOT able to use Copy database wizard so the only option you have is to try as mentioned above
a) Backup /Restore
Create a new DB to where you want the copy should go and
Make a Full Backup with .BAK of your original database and Restore the backup on other system and Right click on the the new DB you created and Restore by navigate to your .BAK and make sure MDF and LDF file match the new.
http://msdn.microsoft.com/en-us/library/ms190436.aspx
b) Detach/Attach
Detach the database and copy the database files to other system; and attach these database files.
I hope this is more informative for you and Good-luck
Please remember to click “Mark as Answer” on the post that has answered your question as it is very relevant to other community members dealing with same problem in seeking the right answer -
Hi,
I was working with SharePoint 2010 in one of my Virtual machines.Now that the lease for my Virtual Machine is going to expire, I want to shift the entire contents of the project to another machine (local) with SharePoint 2010. Also, I want the pages
in the other machine to be editable.
How can I copy the solution files to the other machine? And I want the exact path where the files are located, so that I can shift them to the other machine.
Thanks in advance....that's not a good approach.
Deploying customisations can be as simple as files being copied onto the file system. Most of the time however there is a lot more happening behind the scenes and simply copying the files won't work.
Also that is assuming that you mean solutions rather than the pages themselves (or the contents of document libraries) in which case you want to copy databases, not just files.
SharePoint isn't a simple thing to move, you may need to look at this a bit harder. -
Error in last step of copy database wizard
Hi All,
I am getting below mentioned error in copy database wizard. I am using SSMS 2012 to copy a database from one server to another server using attach and detach method. Been stuck in this issue for quite sometime. Please provide your insights...
Event Name: OnError
Message: An error occurred while transferring data. See the inner exception for details.
StackTrace: at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()
at Microsoft.SqlServer.Dts.Tasks.TransferObjectsTask.TransferObjectsTask.TransferExtraObjectsViaSmoTransfer()
InnerException-->There is already an object named 'spt_values' in the database.
StackTrace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.SqlServer.Management.Smo.Transfer.ExecuteStatements(SqlConnection destinationConnection, IEnumerable`1 statements, SqlTransaction transaction)
at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()
Operator: EMEA\INCHEJAI
Source Name: CDW_BIE-WV200_xxxx_xxxx_35
Source ID: {xxx-xxx-xxx-xxx-xxx}
Execution ID: {xxx-xxx-xxx-xxx-xxx}
Start Time: 24.09.2014 10:38:37
End Time: 24.09.2014 10:38:37
Data Code: 0
P.S - I am able to query and fetch the results for "select * from master.dbo.spt_values;"
in both my SOURCE and DESTINATION databases.
But the table name is not visible under System databases--> master --> Tables --> System Tables in my DESTINATION database alone.
Thanks,
DeeJay007Hi,
Thanks for your response :). When I tried to attach the the database (.mdf and .ldf) and create a new database in DESTINATION server, it works fine. Only using "Copy database wizard" I face this problem. I am attempting this functionality from
the SQL Server 2012 instance
The Instances are not in same version. Find the specific details below for @@Version.
SOURCE Server Instance
Microsoft SQL Server 2008 (SP3) - 10.0.5500.0 (X64)
Sep 21 2011 22:45:45
Copyright (c) 1988-2008 Microsoft Corporation
Standard Edition (64-bit) on Windows NT 6.0 <X64> (Build 6002: Service Pack 2) (VM)
DESTINATION Server Instance
Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64)
Oct 19 2012 13:38:57
Copyright (c) Microsoft Corporation
Standard Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
When you use the copy database functionality, your database gets upgraded to match the destination server version. The database cannot be downgraded, which is fine in your case. It could be a bug in the upgrade process between these two specific sql server
versions though.
Can you make a test with another destination instance, with the same version as the original destination (2012 SP1) just to rule out the possibility of system database corruption?
Does this happen with only a single database, or does the wizzard fail for any database you try to copy?
I have the "u_tables.sql" file which has the scripts for some master database tables. In the process of trying to rebuild the system database and if I lose the master DB contents, will executing the "u_tables.sql" be sufficient to restore
the details?? Many DB's are available in the server, so the risk is very high.
No. However, your application databases won't be affected. You'll lose all your server objects, including but not limited to logins, linked servers, backup triggers, server roles, etc. You'll also lose the contents of the msdb database (jobs, database mail
configurations, backup history, maintenance plans, etc). Please refer to the article I sent you for more information. It contains safety instructions on how to backup most of these objects.
Try to do the tests I suggested above before rebuilding your system databases.
Is there any restrictions for "Copy database wizard" which I am missing here?
No I dont think so. Based on the information you provided, it should be working. -
COPY DATABASE ON THE SAME UNIX MACHINE
제품 : ORACLE SERVER
작성날짜 : 1997-10-10
INTRODUCTION
The following article deals with creating a copy of a database on the same
unix machine. A database might need to be copied in order to duplicate the
production system, for example for testing purposes. It is recommended that
the reader refer also to the following documentation:
-Oracle 7 Server Administrators Guide
Performing full backups: Chapter 18 page 18-7
OVERVIEW OF PROCEDURE
Before copying the database to a new location, it is necessary to perform
a full cold backup of the database, whilst the database is shutdown. This
will ensure that no data will be lost if the copying of the database is
unsuccessful.
WARNING
Creating a copy of a database involves usage of the CREATE CONTROLFILE command
(explained below). If this command is not executed correctly it could corrupt
the production database. If this happens, and if the files in question are
important, this will mean that the original database will need to be restored
from a backup.
Note: If you are using Oracle 7.1.6 on Sun Solaris 2.X there is a serious
bug with CREATE CONTROLFILE. Call Oracle Worldwide Support asking for
details of <Bug:274054> before proceeding.
1. OBTAIN DATABASE INFORMATION FROM CONTROLFILE
In order to move the database, it is necessary to create a script containing
information about the files of the database.
This is done by executing the following commands.
a. SQLDBA
b. CONNECT INTERNAL, STARTUP MOUNT
c. ALTER DATABASE BACKUP CONTROLFILE TO TRACE RESETLOGS;
This will create a trace file in the trace file directory. The file
will have the extension .trc, and is located either in the directory
defined by the initialization parameter 'user_dump_dest', or, if
this is not defined, in ORACLE_HOME/rdbms/log. The file should be
copied to a name such as ccf<NEW_SID>.sql, where <NEW_SID> is to be
the ORACLE_SID of the copied database.
2. IDENTIFY FILES TO BACKUP/COPY
a. Identify database and log files
The CREATE CONTROLFILE command in the file ccf<NEW_SID>.sql can then be
used to identify the various database files and redo log files that need
to be backed up. The file names will be in single quotes and separated
by commas after the words LOGFILE and DATAFILE, e.g:
CREATE CONTROLFILE REUSE DATABASE "FRITZ" RESETLOGS ARCHIVELOG
MAXLOGFILES 6
MAXLOGMEMBERS 2
MAXDATAFILES 10
MAXINSTANCES 1
MAXLOGHISTORY 100
LOGFILE
GROUP 1 (
'/oracle/tberryha/fritz/log_disk1/fritzlog1v713.dbf',
'/oracle/tberryha/fritz/log_disk2/fritzlog1v713.dbf'
) SIZE 50K,
GROUP 2 (
'/oracle/tberryha/fritz/log_disk1/fritzlog2v713.dbf',
'/oracle/tberryha/fritz/log_disk2/fritzlog2v713.dbf'
) SIZE 50K
DATAFILE
'/oracle/tberryha/fritz/fritz_system/fritz_system01.dbf' SIZE 8M,
'/oracle/tberryha/fritz/fritz_data/fritz_data01.dbf' SIZE 20M,
'/oracle/tberryha/fritz/fritz_rollback/fritz_rollback01.dbf' SIZE 20M,
'/oracle/tberryha/fritz/fritz_temp/fritz_temp01.dbf' SIZE 20M,
'/oracle/tberryha/fritz/fritz_data/fritz_data02.dbf' SIZE 5M,
'/oracle/d2/V7141/dbs/x' SIZE 1M
It is also possible to obtain a listing of the files of the database
by executing the following sql commands:
SQLPLUS username/password
Note: The user must have sufficient privileges to be able to see
the dba views 'sys.dba_data_files', 'sys.v$logfile' and in addition
the database must be open.
SPOOL files.log
SELECT file_name FROM sys.dba_data_files ORDER BY tablespace_name;
SELECT member FROM sys.v$logfile
SPOOL OFF
Note: This will create a spool file called 'files.log' which
will record the results of the previous commands.
b. Identify controlfiles
This can be done either by referring to the init<SID>.ora
'control_files' parameter, or from 7.0.16 onwards, the table
sys.v$controlfile can be used to identify the controlfiles of the
database via the following statement:
SPOOL control.log
SELECT name FROM v$controlfile;
SPOOL OFF
This will create a file called control.log in the current directory
which will contain the names of the controlfiles for the database.
3. BACKUP EXISTING DATABASE
Shutdown instance via SQLDBA, SHUTDOWN NORMAL, and then take full cold
backup of:
a. All the files identified in step 2 above.
b. All parameter files.
Note: the main parameter file will usually be called init<SID>.ora, in
addition to which there may also be other parameter files. These will
be identified by 'ifile' (included file) parameters in the init<SID>.ora.
These additional parameter files are usually called config<SID>.ora.
4. MAKE A COPY OF THE DATABASE
Copy all parameter files, controlfiles, and all files noted in step 1 above
to their new location taking care to preserve ownership and permissions.
When the database has been copied, it will not be possible to use the same
SID and therefore the ORACLE_SID environment variable must
be changed to a new SID, and the copied init<SID>.ora must be
renamed to init<NEW_SID>.ora, and any parameter files pointed to by an
'ifile' parameter (e.g. parameter files such as config<SID>.ora) should be
renamed to incorporate the NEW_SID (i.e. config<NEW_SID>.ora).
5. SET UP PARAMETER FILES FOR THE COPIED DATABASE
Edit the value of the control_files parameter in the init<NEW_SID>.ora to be
the name and location that you want to use for the new control files.
The controlfiles should be given a different name to distinguish them from
the old database. In addition, change the DB_NAME parameter in the
init<NEW_SID>.ora to be an appropriate name for the new database. Any
'ifile' parameters of the parameter file will need to be edited to point to
the new name of the include file in the new location.
6. PREPARE THE 'CREATE CONTROLFILE COMMAND' FOR THE COPIED DATABASE
In order to establish the new database in the new location, the CREATE
CONTROLFILE command in the file ccf<NEW_SID>.sql should be executed. The
following steps illustrate how CREATE CONTROLFILE command is prepared.
a. The file ccf<NEW_SID>.sql must be edited before use. The CREATE
CONTROLFILE command will be preceded by a series of comments and a
STARTUP NOMOUNT command. These need to be stripped out of the file. In
addition, after the create controlfile command, there will be a number
of comments and the commands RECOVER DATABASE and ALTER DATABASE OPEN,
which should also be stripped out, leaving just the create controlfile
command itself.
b. The CREATE CONTROLFILE command itself should also be edited. Change
the CREATE CONTROLFILE command in 'ccf<NEW_SID>.sql' to have the new
database name, and add the word 'SET', e.g:
CREATE CONTROLFILE REUSE DATABASE "olddbname" RESETLOGS
becomes
CREATE CONTROLFILE REUSE set DATABASE "newdbname" RESETLOGS
c. The CREATE CONTROLFILE command also specifies the files which make up
the database, and these must also be changed to name the files of the
new database in the new location, e.g:
LOGFILE
GROUP 1 (
'/old_path/old_logfile_name1',
'/old_path/old_logfile_name2'
) SIZE 50k
would become:
LOGFILE
GROUP 1 (
'/new_path/new_logfile_name1',
'/new_path/new_logfile_name2'
) SIZE 50k
and
DATAFILE
'/old_path/old_file_name1' SIZE 5M,
'/old_path/old_file_name2' SIZE 10M
would become:
DATAFILE
'/new_path/new_file_name1' SIZE 5M,
'/new_path/new_file_name2' SIZE 10M
7. EXECUTE THE 'CREATE CONTROLFILE' COMMAND FOR THE COPIED DATABASE
Having prepared the create controlfile script, it is now necessary to run
the script from within the new instance. This is done by executing the
following:
a. at the operating system prompt, change the value of the environment
variable ORACLE_SID from OLD_SID to NEW_SID. This can be done by using
the following unix command from within the C shell:
%setenv ORACLE_SID NEW_SID
b. SQLDBA
c. CONNECT INTERNAL, STARTUP NOMOUNT PFILE=/<full path>/init<NEW_SID>.ora
d. @ccf<NEW_SID>
Note: if any files which should be specified in the CREATE CONTROLFILE
command are omitted, these files cannot be added to the new database
at a later date. In addition, if any of the files specified in the
CREATE CONTROLFILE command are NOT changed from their original names,
then the corresponding files of the original database will become part
of the copied database, and it will not be possible to restore them to
the original database. If this happens, and if the files in question
are important, this will mean that the original database will need to
be restored from a backup.
e. ALTER DATABASE OPEN RESETLOGS
8. MAKE A FULL COLD BACKUP OF THE COPIED DATABASE
SHUTDOWN and take a full cold backup of the database in the new location.
The full cold backup can be done as detailed in steps 2 and 3.Yes.
vipul wrote:
>
Thanks Peter,
But in such a case do we need to configure the WSL in the ubb file and set environment
variables like WSNADDR, WSENVFILE etc .etc. for the WS client.
Regards
Vipul.
Peter Holditch <[email protected]> wrote:
vipul,
Yes.
In fact, you don't even need 2 installs. If you do a server installation
of
Tuxedo onto your UNIX machine, and build all the clients with the buildlcient
-w
option, then the clients will use /WS libraries, instead of the native
ones, to
contact Tuxedo.
Regards,
Peter.
vipul wrote:
Can I install Tuxedo/T server and Tuxedo/WS on the same UNIX machinein different
directories
and make the application behave like a client-server. In such a casecan we make
the clients act
like WS clients and not native clients. -
How to copy only some coulums and rows from excel files to a Oracle Table
Dear all,
I have the following problems:
How to copy only some wanted coulums ( I.e DATETIME(format:17/09/2007 00:00:01 ) and TIME (format: 00:00:01 ) from excel files to oracle table.
HOPE TO GET HELP FROM YOU GUYS!
SINCERELY,
MONOJSHARMALUITELHow about Heterogeneous Services so that the Excel sheet is an external database:
1- Go to Control Panel>Administrative Tools>Data Sources (ODBC)>System DSN and create a data source with appropriate driver. Name it EXCL.
2- In %ORACLE_HOME%\Network\Admin\Tnsnames.ora fie add entry:
EXCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.0.24)(PORT = 1521))
(CONNECT_DATA =
(SID = EXCL)
(HS = OK)
Here SID is the name of data source that you have just created.
3- In %ORACLE_HOME%\Network\Admin\Listener.ora file add:
(SID_DESC =
(PROGRAM = hsodbc)
(SID_NAME = <hs_sid>)
(ORACLE_HOME = <oracle home>)
under SID_LIST_LISTENER like:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = d:\ORA9DB)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = ORA9DB)
(ORACLE_HOME = d:\ORA9DB)
(SID_NAME = ORA9DB)
(SID_DESC =
(PROGRAM = hsodbc)
(SID_NAME = EXCL)
(ORACLE_HOME = D:\ora9db)
Dont forget to reload the listener
c:\> lsnrctl reload
4- In %ORACLE_HOME%\hs\admin create init<HS_SID>.ora. For our sid EXCL we create file initexcl.ora.
In this file set following two parameters:
HS_FDS_CONNECT_INFO = excl
HS_FDS_TRACE_LEVEL = 0
5- Now connect to Oracle database and create database link with following command:
SQL> CREATE DATABASE LINK excl
2 USING 'excl'
3 /
Database link created.
Now you can perform query against this database like you would for any remote database.
SQL> SELECT table_name FROM all_tables@excl;
TABLE_NAME
DEPT
EMP -
Unable to copy database with different name in the same instance
I had a huge database and wanted to try some change optimization changes.
So wanted to make a copy of the database along with data in the same instance.
I have tried copy database wizard several times but always see the error as in attachment.
Can someone let me know how to troubleshoot further?
If this is not the correct way please suggest how do i copy a database with different name in the same instance along with data.Hi Nandu,
From the screenshot, the error 1813 happens when corrupt database log is attempted to attach to the SQL Server. To work around this issue, please preform the following steps, for more details, please review this
blog.
1. Create a new database with same name which you want to recover. Make sure that the MDF file and LDF file have same name with previous database data and log file.
2. Stop SQL Server. Move original MDF file from old location to new location by replacing just created MDF file. Delete the LDF file of new location just created.
3. Start SQL Server. At this point, the database is in suspect status.
4. Make sure that system tables of Master database allows to update the values. Please note that you will be performing this in query window.
Use Master
go
sp_configure 'allow updates',1
reconfigure with override
go
5. Change database mode to emergency mode.
SELECT *
FROM sysdatabases
WHERE name = 'DatabaseName'
BEGIN
UPDATE sysdatabases
SET status = 32768
WHERE name = ' DatabaseName '
COMMIT TRAN
6. Restart SQL Server. Then execute the following DBCC command in query window to create new log file.
DBCC TRACEON (3604)
DBCC REBUILD_LOG(databasename,'c:\yourdatabasename_log.ldf')
GO
7. Reset the database status using following command.
sp_RESETSTATUS yourdatabasename
GO
8. Turn off the update to system tables of Master database running following script.
USE MASTER
GO
sp_CONFIGURE 'allow updates',0
RECONFIGURE WITH OVERRIDE
GO
9. Reset the database status to previous status.
BEGIN
UPDATE sysdatabases
SET status = (value retrieved in first query of step 5)
WHERE name = 'DatabaseName‘
COMMIT TRAN
GO
Make sure that you have done all the steps in order and restarted SQL Server where it is mentioned. Also run SQL Server Management Studio as administrator.(Right click-> Run as Administrator)
Thanks,
Lydia Zhang -
Hello, I am hoping that someone out there can help me. In my windows application I create a copy of my database using SMO. I am hoping to convert my application to be SQL version independent and not use the SMO objects in my code. I have seen several
responses to this question all say to use SSMS or SMO. Does anyone know how to do this using plain old T-SQL?
Any and all help is greatly appreciated.Check this http://stackoverflow.com/questions/13040563/how-to-export-database-schema-in-visual-studio-2012 You should be able to do that
from the Visual Studio.
In our system we use Red Gates SQL Compare tools to generate the schema changes scripts.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
CHARM and System Copy (Database Copy)
Dear All,
Does anyone have experience on managing System Copy (Database Copy) on the SAP Landscape which are implementing Centralize CHARM on Solution Manager?
<b><u>Case:</u></b>
Transport route : DEV --> QAS --> PRD
CHARM centralize managed in: SLM.
Now, QAS will be refreshed from PRD (by Database Copy) .
How to ensure the following will be kept consistence:
1. IMG Status on satelite systems
2. SMI Project data linked to satelite systems
3. Support Desk data (Support/notification messages, Business
Partner,iBase,etc) related with CHARM linked to satelite systems
4. Status of SMI Project cycle data linked to satelite systems
I have tried it on Simulation landscape, seems many manually steps need to be done (eg. Redo all RFC definitions to the refreshed system) and some of above data are inconsistence ..
Thanks and regards,
HeryDear Hery,
Please refer to SAP Note 985692 "Copying a satellite system: Change
Management". This note provide all the required information.
I hope that it answers most of your queries as well.
Regards
Amit
Maybe you are looking for
-
Exported pdfs - Linked file not dispalying correctly on some machines
Hi, I'm creating several PDFs in InDesign CS5.5. I'm creating links to different files in InDesign using buttons. The pdf links work correctly on all machines and open the file theyre supposed to. I run into a problem on some machines though. The fir
-
Yesterday i migrate my pics and songs with the apple migrate progeam from my Windos laptop to Macbook pro. I did wanna migrate them to my acount. It took 8hours and 30 min to do it and then today i seen that it creat a new account. So i can't use the
-
How do I view my Xcode 5 App online
Hi, I made my iOS app using View Contoler (It's Very Basic.) It was a extra credit project that I need to get turned in. Is there any website online that would allow me to upload files to beable to simulate a iPhone running the app. Thanks, Joey
-
Create a see through opening in an object ???
How do I create an opening that I can see through in a solid object? For instance, if I created the letter "O", what do I need to do to be able to see through the inside of the "O". I do not want the inside of the "O" to be solid or filled. I want
-
Hello Everyone, I am unable to connect to any HANA systems from HANA studio and am getting the following error : Database driver not found (com.sap.db.jdbc.Driver) Kindly advise Regards, Vinay