Oracle 10g keeps on Initializing [closed] - sql

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am continuously getting Error Code “The ORA-01033: ORACLE initialization or shutdown in progress”
This is happening ever since I physically deleted a couple of .dbf files

I did this meself many years ago, deleting the files from disk before DROPing them from within Oracle. The following link has some steps for getting your database to come up after telling Oracle that the files are no longer there: http://www.mydigitallife.info/how-drop-tablespace-and-recover-oracle-database-when-accidentally-delete-datafile/.

Try Connecting as SYSDBA. Also look at the relevant lines from the alert-log. May be at (%ORACLE_BASE%/diag/rdbms/%ORACLE_SID%/%ORACLE_SID%/trace/alert_%ORACLE_SID%.log).
It is likely that oracle is trying to write to or open one of the .dbf files you deleted. What were the .dbf files?

Related

restore attach sql database [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
My old computer crashed and died a couple of weeks ago(motherboard), and I have been able to copy data from the hard drive over to new computer.
Problem is with sql database, I'm not able to restore or attach as I get the error access is denied
Anybody have an idea as to what I can do.
Thanks
George
After trying to get data via attach/restore, I just went into the data folder and copied and pasted the old db and log files, now works OK.

Is it possible to restore a SQL Server backup to a different database [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I would like to restore a backup to a different database than the original.
I did backup for databaseA, but want to restore to databaseB. I want to test first and get the data from the backup, then just take the data I need to update databaseA.
How to do this?
Yes you can.
In the GUI
Your source Database is "DatabaseA"
Your destination database if "DatabaseB"
On the Files tab, you'll need to provide new file names.

Copying a Live Database without Log File [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
I have a SQL Server 2008 Database running on Express. I want to copy only the schema and data to an exact copy of this database. How can I do it and what are the steps involved?
My original database has a huge log file, so i do not want to copy that.
P.S: I do undersand that since this is a LIVE database, there could some amount of live data that will not be copied. I am OK with that.
You could use the "Generate Scripts" option to create a sql file with all of your schema and data. See this MS article: http://msdn.microsoft.com/en-us/library/ms178078.aspx

Recover data in sql server [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I wanted to ask can the database be restored to an earlier stage.
Somebody logged into my system and run a delete command.
Can this be restored?
Yes, it can. Reload the database from a backup.
Yes, you can (if you are running in Full Mode) just reload information from the Transaction Log.
How to: Restore a Transaction Log Backup
You might find this link also of some help:
How to: Restore to a Point in Time

purchased software [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I bought usage rights to a confederate soldiers database which is in sql, I bought it to intergrate with my wordpress genealogy blog, and I need to know if there is any way to do this, the place where I purchased will not give my money back, and are not very helpful as far as figuring this out.
thanks,
r. summers
When you say it's "in sql", what exactly do you mean?
Do you mean that it's a Microsoft SQL Server database file (.mdf or .sdf file extension)?
Do you mean that it's a SQL script that generates the database (something like a CREATE DATABASE command followed by one or more CREATE TABLE commands followed by a bunch of INSERT commands)?
Do you mean something entirely different?