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
Related
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 4 days ago.
Improve this question
i use sql server express edition 2012. i will create smll project with sql server with C# winform. i know sql databasei limit is 10 GB.
so appropriately how many table and store proceudre store in sql server 2012 express ediion . and also appropriately how many record (Row) store in sql database.
i will try search in Google and also quora forum but did not show any answer with.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I want to generate portable script file of a SQL Server database by using backup (.bak) so that we will be able to create database (with all objects and data) without backup file.
I don't want to restore backup file to SQL Server Management Studio to achieve it.
Is it possible?
How can I achieve it?
Follow the normal procedure to restore DB then on the last screen generate script rather than clicking OK:
Then you can use the same script or modify it to do what you are after.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am working on a micro-finance software. A module 'special savings' i added with the software but before that the client did it manually (There was no software posting). So i like to develop a conversion tool to take the previous manual entry. But all member information and organization information in previous SQL db, where i develop the tool in Access DB. So i need to import some data with same table name to Access from SQL. I want to do the importing against a button instead of any wizard. So i want to export all data of my required tables including table name to my access file from SQL.
If you have same table schema available in Access DB, you can
read all data from Sql Server and write into Access tables.
Create a DTS package to do the export and call it when user clicks on "Data Import"
Create a linked table in Access then use
INSERT INTO AccessTable (Column1, Column2, ...)
SELECT Column1,Column2,... FROM SqlServerTable
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?
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
We have a need to have a datastore of some form that has the following properties.
Relocatable, local or remote systems.
Capable of multiple readers/writers, new queries should contain updates.
De-centralized, no server would be required.
Capable of holding at least 16 Mb of data.
SQL CE seems capable, but I'm not sure I'd understand what technologies would go into integrating such a solution as I don't really have an SQL background.
Is there anyone that has tackled a problem like this? what solutions have worked for you?
For point #1, do you want to be able to access the SQL CE database remotely on a share? If so I do not believe you want to do this as CE is not targetted for this. See this link for some details. I think it would be fine for the other 3 items if I am understanding you properly.