Getting SQL to recreate tablespaces in new database
Hi,
This is probably a dumb question but is there a way I can generate the sql to recreate all the tablespaces in my database. I have one with 100+ tablespaces each with several datafiles?
I looked at backup controlfile to trace but this just gives me the datafiles
Many thanks
Sandy
See Jonathan Lewis's post at http://jonathanlewis.wordpress.com/2009/12/31/dbms_metadata/
Instead
from dba_ts_quotas where username = 'TEST_USER'you could specify
from dba_tablespaces
order by 1Remember to SET LONG to an appropriate large enough value as the output from dbms_metadata.get_ddl is a CLOB.
Hemant K Chitale
Edited by: Hemant K Chitale on Jan 15, 2010 4:36 PM
Similar Messages
-
How can i get the SQL of a tablespace from the database
Hello All,
I am using Oracle 11g R2. I want to get the SQL of some tablespaces on my database. in the same way i get the DDL of the table using the GET_DDL function.
How can i get that ?
Regards,try this please
select dbms_metadata.get_ddl('TABLESPACE',tb.tablespace_name) from dba_tablespaces tb;or
select 'create tablespace ' || df.tablespace_name || chr(10)
|| ' datafile ''' || df.file_name || ''' size ' || df.bytes
|| decode(autoextensible,'N',null, chr(10) || ' autoextend on maxsize '
|| maxbytes)
|| chr(10)
|| 'default storage ( initial ' || initial_extent
|| decode (next_extent, null, null, ' next ' || next_extent )
|| ' minextents ' || min_extents
|| ' maxextents ' || decode(max_extents,'2147483645','unlimited',max_extents)
|| ') ;'
from dba_data_files df, dba_tablespaces t
where df.tablespace_name=t.tablespace_name Edited by: Mahir M. Quluzade on Mar 14, 2011 4:51 PM -
Cant see SQL Server tab on the New/Select Database Connection
Hi All,
I cant see the SQL Server tab in the new database connection window. I have added the SQL Server jdbc driver using the Tools->Preferences->Third Party JDBC Driver, but all I can see are the the Oracle and the Access tabs.
I am using version 1.5.4.
Any pointers is highly appreciated.
Regards,
Anish.Hi,
I have SQL Developer Version 1.5.4 Build MAIN-5940.
I downloaded JTDS from SQL Developer Migration page and unzipped.
I added the driver in SQL Developer through tool/perference/database/third party vendor
I still cannot see SQL Server tab.
What else do I need to do to see the tab?
Thanks.
Tracy -
Creating a new database using an MDF file
My database saves as MDF. I want to know what are the steps to restore or create a new database using a MDF file? I tried to restore as usual but it shows an error. Please help.
An MDF file isn’t a backup file isn’t the main data file (or master data file depending on who you ask) hence the file extension MDF. You can attach the MDF to the database by right clicking on the databases folder in Enterprise Manager (SQL 2000) or Management
Studio (SQL 2005) then selecting all tasks and then Attach Database. When you do this you will get an error about the log file missing. This shouldn’t matter as SQL Server will simply create a new log file for you. This will only work if the SQL Server was
stopped when you copied the MDF file from the old SQL Server. If you copied the file while the SQL Server was running this file probably will not attach either and you will need to get a valid backup of the database.
Download help tool for sql database - SQL Server Restore Toolbox.
http://www.sqlserver.restoretools.com/
You can read up more on SQL Server here.
http://www.filerepairforum.com/forum/microsoft/microsoft-aa/sql-server/498-creating-a-new-database-using-an- mdf-file?_=1416149856104 -
Missing Discoverer reports after migrating the EUL to new Database.
Our Environment is Discoverer Relational- OLTP
We have recently migrated the source database from Oracle 9.2.0.6 to 10.2.00.0 RAC, this made us to migrate the Discoverer to new database in production.
Below are the database objects we migrated to new database.
1. EUL schema
2. Schemas referred by the Objects in the EUL (schemas containing functions, tables, views etc)
3. Based on trigger we created to filter active discoverer database accounts, migrated only active database users to new database.
Note: we had almost 4000 Discoverer users from 2005, since many of these users moved out of company or not using discoverer permanently, and there are users who used discoverer once in year or once in 6 months.
Finally we come up with 300 Active Discoverer users to be migrated to new database.
Issues: After migration
Some of the migrated users did not get their reports migrated which are shared by other users? [Since we didn’t migrate these users schemas as they are not active].
We have queried the EUL5_DOCUMENTS table in new database for a particular inactive users account (account which is not migrated) is not showing any reports owned by him.
Since we have migrated EUL schema and active users new database, is this will effect the EUL, [Information related to non active users gets deleted from the EUL in New Database]
Some users who are not figured in the active migrated list are requesting to get access to discoverer on new database. Can you please suggest the correct way to migrate these accounts.
Exporting the accounts will work?
Thanks in advance.
SunilKanchana Devasurendra wrote:
Hi ARS,
Please check the following item in your new database.
1. log_archive_max_processes Most properbly value set for this parameter is low ( may be it's set to 1.) Please increase up ( 4)I am curious to know what makes you think 4 is the right magic number for log_archive_max_processes - after all, he's only got one archive destination.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
A general reminder about "Forum Etiquette / Reward Points": http://forums.oracle.com/forums/ann.jspa?annID=718
If you never mark your questions as answered people will eventually decide that it's not worth trying to answer you because they will never know whether or not their answer has been of any use, or whether you even bothered to read it.
It is also important to mark answers that you thought helpful - again it lets other people know that you appreciate their help, but it also acts as a pointer for other people when they are researching the same question, moreover it means that when you mark a bad or wrong answer as helpful someone may be prompted to tell you (and the rest of the forum) what's so bad or wrong about the answer you found helpful. -
BRTOOLS - Recreate database Create new database fails URGENT HELP
Hi All,
I'm following sap note 748434 to recreate SYSTEM tablespace but when I've got to step 4 Create new database it errors :-
Recreate database main menu
1 + Specify new database options
2 + Export user tablespaces
3 + Export global objects
4 = Create new database
5 * Import global objects
6 * Import user tablespaces
7 * Exit program
8 - Reset program status
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
4
BR0280I BRSPACE time stamp: 2014-03-13 15.26.00
BR0663I Your choice: '4'
BR0613I Database instance BWD is shut down
BR0618I Database instance BWD will be started now
BR0280I BRSPACE time stamp: 2014-03-13 15.26.00
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRSPACE time stamp: 2014-03-13 15.26.04
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRSPACE time stamp: 2014-03-13 15.26.04
BR0619I Starting database instance BWD ...
BR0280I BRSPACE time stamp: 2014-03-13 15.26.06
BR0620I Start of database instance BWD successful
BR0490I Database file /oracle/BWD/sapdata1/system_1/system.data1 (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/origlogA/log_g11m1.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/mirrlogA/log_g11m2.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/origlogB/log_g12m1.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/mirrlogB/log_g12m2.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/origlogA/log_g13m1.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/mirrlogA/log_g13m2.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/origlogB/log_g14m1.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/mirrlogB/log_g14m2.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/origlogA/cntrl/cntrlBWD.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/sapdata1/cntrl/cntrlBWD.dbf (and its subdirectory or link if applicable) will be deleted now
BR0490I Database file /oracle/BWD/saparch/cntrl/cntrlBWD.dbf (and its subdirectory or link if applicable) will be deleted now
BR0280I BRSPACE time stamp: 2014-03-13 15.26.06
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRSPACE time stamp: 2014-03-13 15.27.22
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRSPACE time stamp: 2014-03-13 15.27.22
BR0792I Database files can be saved before deletion
BR0675I Do you want to perform this action?
BR0280I BRSPACE time stamp: 2014-03-13 15.27.22
BR0676I Enter 'y[es]' to perform the action, 'n[o]/c[ont]' to skip it, 's[top]' to abort:
c
BR0280I BRSPACE time stamp: 2014-03-13 15.27.28
BR0257I Your reply: 'c'
BR0678I The action will be skipped...
BR0259I Program execution will be continued...
BR0794I Database file /oracle/BWD/sapdata1/system_1/system.data1 deleted
BR0480I Directory /oracle/BWD/sapdata1/system_1 deleted
BR0794I Database file /oracle/BWD/origlogA/log_g11m1.dbf deleted
BR0794I Database file /oracle/BWD/mirrlogA/log_g11m2.dbf deleted
BR0794I Database file /oracle/BWD/origlogB/log_g12m1.dbf deleted
BR0794I Database file /oracle/BWD/mirrlogB/log_g12m2.dbf deleted
BR0794I Database file /oracle/BWD/origlogA/log_g13m1.dbf deleted
BR0794I Database file /oracle/BWD/mirrlogA/log_g13m2.dbf deleted
BR0794I Database file /oracle/BWD/origlogB/log_g14m1.dbf deleted
BR0794I Database file /oracle/BWD/mirrlogB/log_g14m2.dbf deleted
BR0794I Database file /oracle/BWD/origlogA/cntrl/cntrlBWD.dbf deleted
BR0794I Database file /oracle/BWD/sapdata1/cntrl/cntrlBWD.dbf deleted
BR0794I Database file /oracle/BWD/saparch/cntrl/cntrlBWD.dbf deleted
BR0280I BRSPACE time stamp: 2014-03-13 15.27.28
BR0491I Subdirectory or link for database file /oracle/BWD/sapdata1/system_1/system.data1 and will be recreated now if needed
BR0491I Subdirectory or link for database file /oracle/BWD/sapdata1/sysaux_1/sysaux.data1 and will be recreated now if needed
BR0491I Subdirectory or link for database file /oracle/BWD/sapdata1/temp_1/temp.data1 and will be recreated now if needed
BR0491I Subdirectory or link for database file /oracle/BWD/sapdata4/undo_1/undo.data1 and will be recreated now if needed
BR0280I BRSPACE time stamp: 2014-03-13 15.27.28
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRSPACE time stamp: 2014-03-13 15.27.30
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0370I Directory /oracle/BWD/sapdata1/system_1 created
BR0280I BRSPACE time stamp: 2014-03-13 15.27.30
BR1273I SQLPLUS will be started for execution of SQL script /oracle/BWD/sapreorg/senkbgrd/dbcrt.sql
BR0280I BRSPACE time stamp: 2014-03-13 15.27.30
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRSPACE time stamp: 2014-03-13 15.27.43
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRSPACE time stamp: 2014-03-13 15.27.43
BR0278I Command output of '/oracle/BWD/102_64/bin/sqlplus /nolog < /oracle/BWD/sapreorg/.senkbgrd.spi':
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Mar 13 15:27:43 2014
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
SQL> SQL> SQL> Connected.
SQL>
SQL> CREATE DATABASE BWD
ERROR at line 1:
BR0278E Command output of '/oracle/BWD/102_64/bin/sqlplus /nolog < /oracle/BWD/sapreorg/.senkbgrd.spi':
ORA-01092: ORACLE instance terminated. Disconnection forced
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
BR0280I BRSPACE time stamp: 2014-03-13 15.28.32
BR1274I Execution of SQL script /oracle/BWD/sapreorg/senkbgrd/dbcrt.sql completed
BR1277W SQLPLUS reported warnings or errors during the execution of SQL script /oracle/BWD/sapreorg/senkbgrd/dbcrt.sql
BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action
BR0280I BRSPACE time stamp: 2014-03-13 15.28.32
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
The file it refers to Command output of '/oracle/BWD/102_64/bin/sqlplus /nolog < /oracle/BWD/sapreorg/.senkbgrd.spi': contains this :-
cat /oracle/BWD/sapreorg/.senkbgrd.spi
set linesize 250;
set pagesize 1000;
@/oracle/BWD/sapreorg/.senkbgrd.spu
host /usr/sap/BWD/SYS/exe/run/brtools -f delete /oracle/BWD/sapreorg/.senkbgrd.spu;
@/oracle/BWD/sapreorg/senkbgrd/dbcrt.sql
exit;
But the file it tries to run first @/oracle/BWD/sapreorg/.senkbgrd.spu doesn't exist at runtime it seems!
Anyone offer any help urgently as this system is now dead!
Thanks
CraigApologies, I resolved this myself. Was not obvious and no error logs indicated what the problem was.
Turns out that the initial configuration of tablespace data files was incorrect. Even though it matched the correct size it tried creating them as 1 file and subsequently ran out of file system space.
After realising this I changed the values and adjusted the tablespaces post creation.
Thanks anyway.
Cheers
Craig -
Hi all,
In the Notepad, I created an xml file (ZenQroducts.xml) :
<Qroducts>
<Qroduct>
<SKU>1</SKU>
<Desc>Book</Desc>
</Qroduct>
<Qroduct>
<SKU>2</SKU>
<Desc>DVD</Desc>
</Qroduct>
<Qroduct>
<SKU>3</SKU>
<Desc>Video</Desc>
</Qroduct>
In my SQL Server 2012 Management Studio, I executed the following code:
--to create a new object Qroducts in a new database OPENXMLtesting
CREATE DATABASE OPENXMLtesting
GO
CREATE TABLE Qroducts(
sku INT Primary KEY,
qroduct_desc VARCHAR(30));
INSERT INTO Qroducts (sku, qroduct_desc)
SELECT X.qroduct.query('SKU').value('.', 'INT'),
X.qroduct.query('Desc').value('.', 'VARCHAR(30)')
FROM (
SELECT CAST(x AS XML)
FROM OPENROWSET(
BULK 'H:\ZenQroducts.xml',
SINGLE_BLOB) AS T(x)
) AS T(x)
CROSS APPLY x.nodes('Qroducts/Qroduct') AS X(qroduct);
SELECT sku, qroduct_desc
FROM Qroducts;
I got the following message:
Msg 9400, Level 16, State 1, Line 6
XML parsing: line 13, character 12, unexpected end of input
I have no ideas why I got this "XML parsing:line 13, character12, unexpected end of input" message. Please kindly help, advise me on where I made mistake and how I can resolve this problem, and respond in this Forum.
Thanks in advance,
Scott Chang
Hi Manish, Thanks for your response.
Yes, it is a duplicate with Qroducts/Qroduct instead of Products/Product. I did it, because I don't know how to remove the existing "Products" database.
Again, I got the existing "Qroducts" database in this second trial!!?? I am comletely lost in doing "Importing XML file to SQL Table" now!! I think that I have not touched T-SQL and XML programming, since 2008. I
did not catch the new features of T-SQL 2008, XML, SQL/XML, XQuery, etc. for long time. Recently, I did not know what DECLARE, @x, SET,...were, and dived into the SQL/XML and XQuery programming. I knew the SQL Basics (SELECT, FROM, WHERE,..), creating
the names of databases and tables in SQL Server 2008/2012 Management Studio (Express) before. This morning, I found an old T-SQL 2008 Prgrammer's Guide that has the new features of SQL Server 2008 for T-SQL, XML, XQuery, etc. I just starting reading
it to know what DECLARE, @x, SET,... are. But, I still don't know where the existing databases "Products" and "Qroducts" (created by me) are - they are not in the Databases of SQL Server 2012 Management Studio I am using!!?? Could
you please kindly point out where the "Products" and "Qroducts" databases are?
Prashanth responded to my posted question too and he asked to to try his code: DECLARE @xml XML, SELECT @xml =' <Qroducts>.....SELECT product.value.....FROM @XML.nodes.....AS.... I just learned that his code is doing the thing we
want to do and print the results below the SQL Query. This is not what I need in doing my SQL/XML programming. I am reading/studying the new (2008) features of T-SQL, XQuery 1.0: An XML Query Language (Second Edition), and Microsoft XQuery Language Reference
(SQL Server 2012 Books Online) closely now. I hope that I can resume the T-SQL, XML Query, SQL/XML, XQuery in my SQL Server 2012 Management Studio soon.
Please tell me where the existing databases "Products" and "Qroducts" I created in my previous trials in my SQL Server 2012 Management Studio. This is what I need to know and to delete them, before I do this kind of "Importing
XML file to Table of SQL Server 2012 Management Studio" programming again.
Please kindly help, advise and respond again.
Many Thanks,
Scott Chang -
Can we create new tablespace in Oracle Database 10g Express Edition?
Hi,
Can we create new tablespace in Oracle Database 10g Express Edition instead of using the default "users" tablespace provided?
Please advise.
Thank you.Correct. The sum of all user tablespaces is not allowed to exceed 4 GIG.
You could try shrinking your tablespaces. Theres a script called maxshrink on http://asktom.oracle.com which is useful for this.
You could compress your tables.
If you are storing lobs, you could consider storing them as bfiles.
Or upgrade to Oracle Standard Edition 1. Its not that expensive. -
How can I import schema to a different tablespace in a new database?
Hi,
I want to transport a schema "abc", which is on 'USERS" tablespace in the old database, to a new database using Data Pump. But on the new server, I want it on a different tablespace, say "TEST". How can I do that? I tried the following but it does not work:
1. Create a user "abc" on new database, assign "TEST" as its default tablespace;
2. use impdp to import the dmp file;
I found that on the new server, the imported tables are still on the "USERS" tablespace.
Can anyone tell me how to do it? thanks a lot.Use the REMAP_TABLESPACE option:
REMAP_TABLESPACE = source_tablespace:target_tablespace
Rick -
How create new database and table in java db and how get java db backup
hi master
sir i use stuido creator
sir please give me idea how i create new database
and how create new table and view in this new database
and how get this database backup
how i give this databae backup to isp for deployment
please give me idea with step
thank
aamirCreate your own Value Object (Data Transfer Object) in Java with a structure similar to this and map the fields returned from the database to the fields of that object (preferably using SEtT methods).
Hope this helps. -
Do we need run catbundle.sql file for new databases.
dear all,
i have doubt over execution of catbundle.sql or not?
scenario:
i have insatlled 10gr2 on rhel5 and applied patchset 4 (10.2.0.5) and applied Oracle® Database Patch 10248542 - 10.2.0.5.2 Patch Set Update
after this i have create fresh database.
now,
in Oracle® Database Patch 10248542 - 10.2.0.5.2 Patch Set Update document it has specified in belwo section
3.4 Post Installation Instructions for Databases Created or Upgraded after Installation of PSU 10.2.0.5.2 in the Oracle Home
These instructions are for a database that is created or upgraded after the installation of PSU 10.2.0.5.2.
You must execute the steps in Section 3.3.2, "Loading Modified SQL Files into the Database" for any new database only if it was created by any of the following methods:
Using DBCA (Database Configuration Assistant) to select a sample database (General, Data Warehouse, Transaction Processing)
Using a script that was created by DBCA that creates a database from a sample database
Cloning a database that was created by either of the two preceding methods, and if the steps in Section 3.3.2, "Loading Modified SQL Files into the Database" were not executed after PSU 10.2.0.5.2 was applied
Upgraded databases do not require any post-installation steps.
so do we need to run catbundle here or not.
since i have created fresh database after applying 10.2.0.5 PSU2 why does it required.
opatch output:
[oracle@RG615 ~]$ opatch lsinventory
Invoking OPatch 10.2.0.5.1
Oracle Interim Patch Installer version 10.2.0.5.1
Copyright (c) 2010, Oracle Corporation. All rights reserved.
Oracle Home : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1
Central Inventory : /prd/crm/swbcrmdb/usr/oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.5.1
OUI version : 10.2.0.5.0
OUI location : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/oui
Log file location : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2011-05-03_11-41-34AM.log
Patch history file: /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt
Lsinventory Output file location : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2011-05-03_11-41-34AM.txt
Installed Top-level Products (2):
Oracle Database 10g 10.2.0.1.0
Oracle Database 10g Release 2 Patch Set 4 10.2.0.5.0
There are 2 products installed in this Oracle Home.
Interim patches (1) :
Patch 10248542 : applied on Tue May 03 07:32:29 BST 2011
Unique Patch ID: 13292123
Created on 25 Dec 2010, 23:11:24 hrs PST8PDT
Bugs fixed:
6402302, 9713537, 8350262, 9949948, 8394351, 10327179, 8546356, 9711859
9714832, 9952230, 10248542, 8544696, 9963497, 9772888, 8664189, 10249537
7519406, 9952270, 8277300, 9726739
OPatch succeeded.Pl post the output of view DBA_REGISTRY_HISTORY - see MOS Doc 605795.1 (Introduction To Oracle Database catbundle.sql)
Was the database created using DBCA or manually using scripts ?
Srini -
SQL Server 2014 New Database Design Features
SQL Server 2014 has three major database design related features:
1. In-memory OLTP tables (Hekaton)
2. Inline INDEX declaration in CREATE TABLE
3. Updateable clustered columnstore index
Any other new feature? Thanks.
Kalman Toth Database & OLAP Architect
SQL Server 2014 Design & Programming
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012http://windowsitpro.com/sql-server-2014/top-ten-new-features-sql-server-2014
http://www.sqlpass.org/sqlserver2014/Webinars.aspx
Enhanced query processing for better performance without app changes.
Buffer Pool extension to SSDs for faster paging.
Resource Governor controls IO along with CPU and memory.
Enhanced Always On now supports 8 secondary for better HA (High Availability -
Hi,
I have installed SQL Server 2012 Express edition (name of installation media: en_sql_server_2012_express_edition_with_advanced_services_x64.exe) from MSDN and I have installed the application on my pc with Windows 7 Exterprise.
Everything is working fine except when I am trying to create "New Database Diagram", where I recieve following error message:
TITLE: Microsoft SQL Server Management Studio
Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
BUTTONS:
OK
I have tried two times to reinstall SQL Server 2012 Express and I have installed Cumulative Update #3 for SQL Server 2012 and restarted the machine, but I have still the same problem with the same error message.
Installed the following fixes:
1) 2012_RTM_DAC_CU3_2723749_11_0_2332_x64
2) SQLServer2012_RTM_CU3_2723749_11_0_2332_x64
These files was installed successful.
How can I solve the problem?
BR
Jan NilssonHi Jan,
Have you installed Visual Studio in your machine?
The problem seems to be related to installing and uninstalling the VS 2011 RC0 program.
The workaround involves copying the files from another PC with SQL 2008 or 2012 from one machine to another. Just replace this folder:
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8
See also the following for further details:
http://social.msdn.microsoft.com/Forums/en-GB/vstsdb/thread/d65c71f5-3887-4f2a-bbd3-e799a4ac6fdc
Best Regards,
Iric
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Upgrading to new database tiers in Azure SQL
I have a lot of databases many of which are in older database tiers web/business.
How do I determine which specific new database tier they need to be upgraded to?Hi askulkarni,
Please see the following: http://azure.microsoft.com/en-us/documentation/articles/sql-database-upgrade-new-service-tiers/ -
Error message when creating new database
Hi, i am trying to create a new database for the first time but keep getting an error. Ive been through the create statement several times and it all looks good to me.Any help would be greatly appreciated !
The error im getting is :
ORA-00604: error occurred at recursive SQL level 2
ORA-00942: table or view does not exist
Fri Dec 9 22:54:10 2011
Errors in file /u03/app/oracle/admin/OPS/udump/ops_ora_59850.trc:
ORA-01501: CREATE DATABASE failed
ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 5608
ORA-00604: error occurred at recursive SQL level 2
ORA-00942: table or view does not exist
Fri Dec 9 22:54:10 2011
Error 1519 happened during db open, shutting down database
USER: terminating instance due to error 1519
Instance terminated by USER, pid = 59850
ORA-1092 signalled during: CREATE DATABASE OPS
Here is my create database statement:
CREATE DATABASE OPS
USER SYS IDENTIFIED BY pz6r58
USER SYSTEM IDENTIFIED BY y1tz5p
LOGFILE GROUP 1 ('/u98/oradata/OPS/redo01.log') SIZE 30M,
GROUP 2 ('/u98/oradata/OPS/redo02.log') SIZE 30M
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXLOGHISTORY 1
MAXDATAFILES 100
MAXINSTANCES 1
CHARACTER SET US7ASCII
NATIONAL CHARACTER SET AL16UTF16
DATAFILE '/u02/oradata/OPS/system01.dbf' SIZE 30M REUSE
EXTENT MANAGEMENT LOCAL
SYSAUX DATAFILE '/u02/oradata/OPS/sysaux01.dbf' SIZE 30M REUSE
DEFAULT TABLESPACE tbs01
DATAFILE '/u07/oradata/OPS/tbs01.dbf' SIZE 325M REUSE
DEFAULT TEMPORARY TABLESPACE temp01
TEMPFILE '/u07/oradata/OPS/temp01.dbf'
SIZE 20M REUSE
UNDO TABLESPACE undotbs01
DATAFILE '/u07/oradata/OPS/undotbs01.dbf'
Size 50m reuse;
Here is my pfile
db_block_size=8192
db_cache_size=25165824
db_file_multiblock_read_count=16
open_cursors=300
db_domain=world
db_name=OPS
background_dump_dest=/u03/app/oracle/admin/OPS/bdump
core_dump_dest=/u03/app/oracle/admin/OPS/cdump
timed_statistics=TRUE
user_dump_dest=/u03/app/oracle/admin/OPS/udump
control_files=("/u02/oradata/OPS/control01.ctl", "/u05/oradata/OPS/control02.ctl", "/u06/oradata/OPS/control03.ctl")
rollback_segments = (RBS01,RBS02,RBS03)
os_authent_prefix = ""
instance_name=OPS
compatible=10.2.0.0.0
#hash_join_enabled=TRUEa = obsolete in 10.2
query_rewrite_enabled=FALSE
star_transformation_enabled=FALSE
java_pool_size=0
large_pool_size=0
#large_pool_size=8388608
#shared_pool_size=36700160
shared_pool_size=76700160
#large_pool_size=8388608
#java_pool_size=150000000
#shared_pool_size=187928166
streams_pool_size=50331648
processes=150
session_max_open_files=20
fast_start_mttr_target=300
remote_login_passwordfile=EXCLUSIVE
pga_aggregate_target=25165824
sort_area_size=65536
rollback_segments = (RBS01,RBS02,RBS03)
undo_management=auto
undo_tablespace=UNDO_TS
#undo_retention=10800
Many thanksRefer this MOS ID *CREATE DATABASE Statement Fails With ORA-1501 ORA-1519 ORA-604 ORA-942 Errors [ID 434557.1]*
Increase the size of SYSAUX tablespace in the CREATE DATABASE statement.
The SYSAUX tablespace needs to be at least 240 MB at the time of database creation. The space requirements of the SYSAUX tablespace will increase after the database is fully deployed
Also the size of the system tablespace should be more and not to 30 MB as in your case
Maybe you are looking for
-
E75 : I can't connect my mobile to Nokia-Suite, Pc...
Hi, this week i missed the pop-up when i received a SMS on my E75 using Pc_Suite (last Build) on my Vista machine. I decided to remove all Nokia software and reinstall them. Since reinstalling, My E75 is not connectable with the cable (only Bluetooth
-
DBMAN350 Error reading MultiCube data over aggregate
Hi, I have handed down multicube over a Cube, DSO, and IP Aggregate. When I try to display the data using a LISTCUBE I get errors. I just noticed I get the same error in my development box. 1. Error reading the data of InfoProvider Z_C017_A8 Mes
-
Hello everyone...I just setup the Linksys EA4500 router on my computer and I am able to hook up to the internet on my computer and on my Logitech Revue. How do I access the media server? It is not showing up on the Logitech Revue or my Samsung TV?
-
I was at a concert where one of the band members just plugged his minidisc player into the soundboard with a "y" cable and it turned out great. I'm trying to basically do the same thing. However, I would prefer something that would be storing in a re
-
Hi, I'm using the actionscript attached below to retrieve text into a dynamic text box. I've also embedded a font that the dynamic text boxes are set to display entitled 'Codex LT' by adding it to my Library and changing the Linkage Properties to 'Ex