Copy database structure but not the data

I'm looking to create a new version of a database but with completely reloaded data - so I want to retain the database structure but none of the data.
Is there an easy way (read: without a DBA on staff) to copy an existing database structure - preferably with views and stored procedures - and not take the data along for the ride?
Thanks in advance for suggestions...!

My mistake Judith.
Using Object Explorer, [Right Click] on the database,
Select [Tasks],
Then [Generate Scripts...]
On the first screen, check the 'Script all objects' checkbox.
You can either save to a file or into a window. When the scripts are finished, go to the top and change the name of the database, then run the scripts.
That 'should' get you what you want.

Similar Messages

  • How to restrict the user to change the project structure but not the documents?

    Hi,
    I have created one project assigning different users in Solution manger. I want to risitrict some of the users to change the project structure but simultaneously allwoing the project documents to be created, edited or deleted using solar01 under Project documentation tab. For that I have followed the steps provided in the follwoing link.
    http://wiki.scn.sap.com/wiki/display/SM/Howto+Restrict+Changes+to+Project+Nodes+to+Assigned+Team+Members
    I am able to restrict the users to change the project structure, but I am not able to allow access to the project documents. It gives me the message "You are not authorised to change the project". This fulfills my one of the requirements. But, Is there any way  to restrict the user to change the project structure but not the documents?. Any help will be apperitiated.
    Thanks,
    Rutvik Uapdhyay. 

    Hi Rutvik,
    Basically there are 2 different authorization role ...you should look for and customize as per requirement in Z* namespace.
    role  - SAP_SOLAR01_ALL
    this take care of objects in Solar01 like tab access etc
    role -SAP_SOL_KW_ALL
    this takes care of entire documentation within solman
    hope this helps
    Regards
    Prakhar

  • Master database archivelog but not the slaves...is this possible?

    Hi,
    I've followinf situation:
    1xmaster database server oracle 9i
    3xslave database servers oracle 9i
    The databases on the slaves are exact copies of the master. The slaves are refreshed every night by a san-sync. The san-sync copies all the datafiles/redo logs and control files to the slave servers. On the master database DML is executed so all changes to the data are made on the master database, the slaves are static. All the databases are in no-archivelog mode.
    Rigth now I don't have a backup of the master database and I would like to implement a hot rman backup.
    questions:
    can I just run the master database in archivelog mode without turning on archiving on the slaves? I guess this might be a problem because archiving is turned on at database level ('alter database archivelog'). What will happen when I sync the master database to the slaves when the master database is in archivelog mode and the slaves are not. Please note we don't sync spfile/pfile.
    regards,
    Martin

    Hi,
    Thanks for your reply.
    My doubts are about the master database should be in archive log mode but the slaves don't, the slaves are copies of the master (datafiles, redologs and controlfiles) and the slaves are refresh every night.
    Right now the master database is also in noarchivelog mode. What if I change the master to archivelog mode and would like to keep the slaves in noarchivelog mode.
    Will the slaves also be in archivelog mode after a database refresh?
    I would like to know this because if this is true i'll need to do some setting in the init.ora file like archivelog dest etc...
    regards,
    Martin

  • I want an iphone, but not the data package...is this possible?

    I am a guy...I don't get to carry around a purse, and I have limited room in my pockets. I would like to get an iphone but I don't want the $30 a month data package. For some reason this is very difficult for people to understand but it is quite simple. I pretty much have access to WiFi everywhere I go, so I don't need this absurdly high priced data package. I just want to be able to use the phone itself and use the Internet and email when I am in a WiFi area as well as take pictures and have a calender etc.
    I am a current AT&T customer and I am eligible for an iphone uprage. So my question is this. Can I buy the iphone 3G, sign up for the data package (since it is required at purchase) and then cancel it soon after so I can just use it as a phone and a WiFi internet access? I would really appreciate a solid answer to this, since even the AT&T store representatives don't know how to answer this. I really don't think it's that difficult a question...
    Thanks!

    Sorry, but no. The iPhone requires a data package. You cannot get the iphone and then later take off the data package. ATT will not allow that, plus the iPhone uses the data for it's voicemail. The voicemail will only download over a data network, not wi-fi. If you can't or don't want to spend the $30/month, then the best bet is to go with another phone.
    iPhone : voice and data. Can't get one without the other
    Sorry for the bad news!

  • Save object state but not the data

    Hi Everyone,
    I'm trying to serialize a form so that I can recover the state information such as size of the form at close, size of splitpane separator, and size of each column of a JTable within the form.
    However, I don't want to save the JTable's data. Also, I'm not sure about the procedure for deserialization.
    For example if I have a line like:
    frame.getContentPane().add(new JTable(tableModel));
    next time I read the form, it already has the table within it so I shouldn't really create it or add the JTable to it, am I right?
    Any comment to clarify this is really appreciated.
    Thanks,
    Al

    Ok here is what you got to do just like createing your own subclass of JFrame
    you should also create subclesses all the GUI componants you going to use in the application that need their state saved and restored.
    All those class should implement a comman interface which has getState and setState (Ex:- CJTextArea, CJTextField, CJTable, CJFrame, CJInternalFrame, CJPanel .....). and thos subclasses should be used to create the widows
    You will also need a several state classes for various types of components
    such as
    ComponentState -- Super class
    ContainerState -- to hold stateobjects given by the components in a perticuler Container (ex:- JPanel)
    FrameState
    TextCompState -- text components (JTextField,JTextArea)
    ListState
    TableState
    and the getStste and setSatate of the form should be written to return an object which contains the state of the form and all the other state objects returned by its nested components.
    This kind of thing is done in most of the software organization in (Not just to restor the state but for many different tasks) that develop large applications with complex user interfaces.
    Its worth spending some time to devalop such an API becouse it can be used in any programdeveloped after that.
    The company I work has done excatly that some time ago but I cant post any code here (You know why)

  • My pictures and music from a dead Imac are on an external hard drive. My Windows 8 sees the hard drive but not the data. How do I get the files to my PC?

    this is confusing

    Hi Bob.
    I was actually confused in trying to navigate where to ask the question in the first place within the Support Community framework. I've been away from the Apple world for many years now and obviously this world of technology moves very fast, yes? So that's the reason my opening query mentions confusion.
    Before I visited here I spent quite some time Googling the topic finding tons of answers going back MOSTLY 6-8 years all of which were fairly specific and geared toward now obsolete versions of the question or assumed my Apple computer was up and running or I had an "unformated" external hard drive.
    I didn't find anything wrong with the advice to use MacDrive but of course I was hoping not to have to use my credit card to do this------------what has to be fairly routine process. After I Googled "alternatives to MacDrive" I found a free ten day trial run for Paragon. It worked for all the picture files but can't see the old movie or music. I'm still working it out. Maybe I'm missing something. Anyways it's hard to communicate with experts who seem to want you to already be on a certain level or they will simply leave you in the dust with their "help."

  • I able to copy and paste files from external hard drive to mac, but not the other way around. Please suggest. Thanks

    I m able to copy and paste selected files from external hard drive to my mac but not the other way around. Im not able to copy files from Mac to external hard drive.
    The same is working fine with USB flash memory.
    Please help.

    Vijay Raymond Daniel wrote:
    The only thing is we need to buy this software. if there is a free solution to inter change files between NTFS and HFS it would be better,
    Don't use NTFS, remove your data off it first and change the format to something the Mac and PC can read, but doens't cost money or require software.
    Drives, partitions, formatting w/Mac's + PC's

  • How can I restore my data from iCal? I didn't make any backup, but I use  time machine with an external HD. I deleted iCal when I deleted my gmail account. I have tried to restore, but I can only restore the iCal software and not the data.

    How can I restore my data from iCal? I didn't make any backup, but I use  time machine with an external HD. I deleted iCal when I deleted my gmail account. I have tried to restore, but I can only restore the iCal software and not the data.

    So what is your question?
    If you forgot your encryption password:
    Warning: Make sure it's a password you will remember or write it down for safekeeping. If you encrypt an iPhone backup in iTunes and forget your password, you can't restore from backup and your data will be unrecoverable.
    If you can't remember the password and want to start again, you must perform a full software restore and chooseset up as a new device when iTunes prompts you to select the backup from which to restore.
    The above comes from here:
    http://support.apple.com/kb/HT4946

  • Is there a way to repeat an activity in the calendar monthly on the same day, i.e., the 2nd Wednesday of each month?  I can repeat on the date but not the day of the month.

    Is there a way to repeat an activity in the calendar monthly on the same day, i.e., the 2nd Wednesday of each month?  ( I can repeat on the date but not the day of the month.)

    Not with the stock calendars app.

  • How do you know what the data usage was for and why?  It shows you date and usage but not the reason.

    How can you see what data usage was for on the bill?  It only shows the date and usage but not the reason for the usage.

    You can not see this info on VZW's site. There are apps for smartphones that will break down the info though, but by site or what was downloaded

  • TS3212 ITunes worked fine on my Windows 7 machine.  Had to rebuild the machine but all the data remains.  Downloaded a new version of iTunes and cannot figure out how to load all of my music currently on my hard drive.  Tried moving Library file.  Did not

    ITunes worked fine on my Windows 7 machine.  Had to rebuild the machine but all the data remains.  Downloaded a new version of iTunes and cannot figure out how to load all of my music currently on my hard drive.  Tried moving "iTunes Library" file.  Did not work.  Never had trouble like this before.

    Many thanks for your post. I've been trying for days to get this sorted and was getting well fed up with I-Tunes. Really thought i'd never get it working again. Tried un-installing it, loading older versions and they still wouldn't work.
    Came across your suggestion by chance and top man - it worked..!!!!
    How you even knew what to do is beyond me - but thanks so much. I really was pulling my hair out.
    You need to put your post over the Web as there seem to be loads of people having the same trouble.
    Thanks again.

  • The calendar typeface is so dim, I can barely read it. Name of days and date, but not the items I put in. Apple says they have no fix. Anyone else have this problem? Any solutions?

    The calendar typeface is so dim, I can barely read it. Name of days and date, but not the items I put in. Apple says they have no fix. Anyone else have this problem? Any solutions?

    I agree and I found your post because I did a google search ical typeface dim.
    If I find anything out, I will post back here.

  • When I look up the creation date for files on my Macbook I get the date and month in brackets, but not the year.  Why is this and how can I look up the year?

    When I look up the creation date for files on my Macbook (using "get info", or the information window in Iphoto) I get the date and month in brackets, but not the year.  Why is this and how can I look up the year? 

    Does the Date Modified column in a window set to List view show the date correctly, or does it also display it incorrectly?
    To add additional columns to a Finder (folder) window, with that window open and active open the View Options for it. You can do that by pressing Command-J or by selecting View Options from the View menu in the main menubar.

  • How Delete all the data in all BI Models, just the data but not the model

    Hi Gurus,
    i need to delete all the data of the cubes, PSA , etc , all the data of this models but not the model, how can i do this in a fast way? though a program? thanks

    Hi,
    I would prefer process chain, not program.
    Create new process chain include data target deletion component and PSA deletion component.  (Include corrosponding DSO/Cube/PSA names).
    Run process chain.
    Else you can search for FMs to delete contents from your targets.
    Delete InfoCube Data
    Regards,
    Vinay

  • How can I print the DATE in the Header/Footer but NOT the TIME?

    I know how use page set-up to change the headers and footers. Firefox doesn't give me the choice of printing just the DATE rather than the DATE/TIME. I tried Custom Date and it printed "Date", and not the date. I tried &Date and it print the Date & Time.
    Is there a way to print just the date?
    Sign me
    Midnight Printer

    You want to print them on their own? Can't be done. WIth the photo? Install this
    http://www.iborderfx.com/iborderfx/

Maybe you are looking for

  • Multiple CREATE TRIGGER's in SQL file

    I have an SQL file which contains multiple CREATE TRIGGER statements. I can't run it as it stands in SQLPlus Worksheet because it doesn't recognise the end; as the end of the create trigger statement and fails on the next CREATE line. Is there a way

  • Inventory pending transactions stuck pending transactions in with no error

    Hi everybody, there are some inventory pending transactions stuck pending transactions in with no error. those transactions of inter-org shipment (issue) one of items doesn't have quantities. so, why the left items that have quantities will not be re

  • PostChanges()  commit the data into MySQL with engine=MyISAM

    suddenly i found the following code called in AM could commit the change into database . this.getTransaction().postChanges(); My database is MySQL 5.0,and set it with MyISAM engine .i know this engine can not support transaction.

  • Why won't my external drives show up on my desktop?

    i have tried going to the disk utilities and remounting my external drives and checked for an option in system prefs, but my external drives (both flash drive and hard drive) just won't show up on my desktop. My computer isn't even a week old!

  • How to correctly merge users folders from one catalog to another?

    Hi gurus, Here's the scenario we have right now and would appreciate any guidance: Several months ago, in our 11g Test server, we upgraded our 10g production catalog to 11g and have been developing/correcting dashboards in this 11g Test server. Now w