Desired change to CREATE SCHEMA

Create Schema command allows multiple create table, create view and grant statements to be grouped together so that if one fails, none of them are actioned. This is excellent for "production release" scripts, as it means that we don't have to back out those changes that worked before re-running the corrected script.
However, a lot of our database changes are of the "ALTER TABLE ADD" or "ALTER TABLE MODIFY" these days, since we have tables for all our logical objects. I'd dearly love these commands to be added to CREATE SCHEMA (or some similar command) so that they could also be "rolled back" in a group.
Am I crazy or would this be useful to others?

Create Schema command allows multiple create table,
create view and grant statements to be grouped
together so that if one fails, none of them are
actioned. This is excellent for "production release"
scripts, as it means that we don't have to back out
those changes that worked before re-running the
corrected script.
However, a lot of our database changes are of the
"ALTER TABLE ADD" or "ALTER TABLE MODIFY" these days,
since we have tables for all our logical objects. I'd
dearly love these commands to be added to CREATE
SCHEMA (or some similar command) so that they could
also be "rolled back" in a group.
Am I crazy or would this be useful to others?It seems like a sensible addition to me, though I personally would be looking for an ALTER SCHEMA command.
I have to say though that the CREATE SCHEMA command looks rather limited to me in general - no CREATE INDEX, no CREATE PROCEDURE and so on. The wording in the docs
The CREATE SCHEMA statement supports the syntax of these statements only as defined by standard SQL, rather than the complete syntax supported by Oracle Database
rather suggests to me that this a compatibility only statement rather than an actively developed one (which is a shame).
Niall Litchfield
http://www.orawin.info/
Message was edited by:
Niall Litchfield

Similar Messages

  • Data type change made to schema.xml of comments list which is part of blog site template is not reflecting in the existing site but working fine when new site is created.

    Hi,
    I have created a blog site with the available site template few days back. Now we have the requirement of having the attachments in the body of the comments section. 
    So, I updated the schema.xml of the comments list available under ../templates/blog/lists/comments/schema.xml to have rich text for the Body field.
    With this change, I created a new site and it was working fine. Change is reflected in the new blog site.
    However, this particular change is not reflected in the existing blog site. Any changes made to the schema.xml is not effecting the old blog site.
    Can anyone suggest what can be done for the change to be reflected in the old blog site?
    Thanks in Advance,
    Regards, Keerthi Suryadevara

    Hi,
    According to your post, my understanding is that you wanted to add attachments in the body of the comments section.
    You can add the the Code inside the Default list pages. For more information, you can refer to:
    Enable Attachment in SharePoint Blog post list and display the list Attachments
    In addition, you can add an enhanced rich text field to the comment list and remove the body field. Then you can insert files into comments, too.
    Here is a similar thread for your reference:
    http://sharepoint.stackexchange.com/questions/77194/how-to-add-attachments-for-comments-list-in-sharepoint-blog-2010
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • XSD Changes - Problem Exception - creating schema

    I am having a problem and need your help. New to SOA.
    I have a xsd file in my project. Based on the xsd definition in the file I have created a BPEL variable (using element) refering to the xsd element name. Added a simplae assign statement and I could see the child elements fine during the Assign statement.
    However when I add new child element in the xsd file or even change the name of the pre-existing child element name the variable in the assign activity gives the error "Problem Exception - creating schema". I created a completely new variable by refering the xsd element but still the new variable also gives error "Problem Exception - creating schema".
    It appears that it does not like me changing the xsd file at all. Am I missing any step. Do I need to take any more step after changing the xsd to be able to create a new variable based on the xsd file.
    Please help.
    Thanks

    I looked it from the variable definition by clicking on "Exeception - Problem Building Schema" and it showing more details. The error is "Duplicated definition for : VariableFetchPOData"
    Where can I see the duplicated definition information. ?
    Please advise
    Thanks

  • Error in Creating schema

    Hi,
    I'm trying to install Oracle webcenter poratl by following the below linked mentioned
    As per the guide am trying to create schema,, am getting the error mentioned below
    Error: Oracle Initialization Parameter 'PROCESSES' is too low.
    Cause: The Oracle Initialization Parameter 'PROCESSES' must be at least 200.
    Action: Change the Database Initialization Parameter 'PROCESSES' to 200 or more, then rerun RCU.
    I changed the processes=200 in init.ora file & restarted the DB 11g..
    Still facing the same error while creating schema.
    Any one familiar with this kinda issue.
    Thanks,
    AR

    Hi ,
    Please check the output of the following sql command :->
    SQL>show parameter process;
    Check if Value for processes is more than desired value.
    If using spfile , you can change it as :->
    SQL>ALTER SYSTEM SET processes=300 SCOPE=SPFILE;
    Thanks

  • Is it possible to change the owning schema when generating datetime dimensions in the datasource?

    When creating a date time dimension using the dimension wizard and generate schema wizard, i would like to be able to change the owning schema from dbo to something else. The field is greyed out and I am unable to change it.
    Is it possible to change the owning schema when generating datetime dimensions in the datasource?

    Hi rkbjr,
    Thank you for your question.  
    I am currently looking into this issue and will give you an update as soon as possible. 
    Thank you for your understanding and support. 
    Thanks,
    Bin Long
    TechNet Subscriber Support
    If you are TechNet Subscription user and have
    any feedback on our support quality, please send your feedback here.
    Bin Long
    TechNet Community Support

  • Changing default color scheme when exporting ALV report to Excel spreadshee

    Hi all,
    We have a bunch of FI reports created using OOPS in abap.  Each of the reports has the functionality to be exported to an excel spreadsheet.  When exporting to Excel, the headers are a very dark brown color, making them difficult to read and it has been requested that they are shaded a lighter color.  I have not defined any sort of color scheme within the report itself, and I was wondering if there was a way to change the color scheme when exporting the report to excel.  Let me know if there is anything that can be done, thanks!

    check ur fcat

  • Unable to change Date Created in Metadata

    Please help with my first post...
    Unable to change Date Created field in Metadata.
    I am a newspaper photographer sending .jpg pics with captions to my office from my iMac. They are viewed at the office on Windows PCs using SCC MediaGrid.
    When changing Date Created in Metadata Invalid Format warning appears "Format should be ISO 8601 XML compliant, that is YYYY-MM-DDThh:mm[:ss][tz] (eg 2006-07-11T13:14:30-07:00)"
    If 2009-09-26, for example, is entered then exported pictures opened up in Photoshop or shown on SCC MediaGrid do not display the date.
    To get dates to show up I first have to open a pic in Photoshop, go to File Info, enter 26/9/09 in Date Created and Save As.
    Next I have to Import this into Aperture where the Date Created shows as "20090926".
    Using Lift Metadata and Stamp Metadata the date can be transferred to other pics.
    Now when I export these pics the date does show up in Photoshop and SCC MediaGrid.
    Can Date Created be typed straight into field in Aperture?...Very important when pics go into archive on a server.
    Also if I hit Return key in a Metadata Caption, to type on the next line, both lines will appear as one with a small square in-between them when viewed on SCC MediaGrid on a Windows PC.
    Thanks in anticipation.

    Nick I don't generallt use the IPTC metadata, so I'm not sure I will be too much help.
    What version of Aperture are you using? I tried both things and I didn't have any problems with the latest version of Aperture on my Mac.
    I was able to enter a date into "Date Created" both with and without the time-zone adjustment. Can you tell us the exact string you tried to enter into the "Date Created" and exactly when you get the error? I tried to enter my time zone (eastern US) as "-5:00", but Aperture wouldn't let me enter the 5 and popped up the error message when I typed that key. I had to use "-05:00".
    As for the caption, when I hit return, Aperture ends my edit. I cannot reproduce your described behavior of actually getting a new-line into the field. I suspect your problem (although I don't know how you get to your problem) is one of the following:
    1) The IPTC standard doesn't tell if the software should use a Unix-style end-of-line (which is a line-feed), or a DOS/Windows style end-of-line (which is carriage-return followed by line-feed). Aperture may put in the Unix-style and your Windows programs don't know what to do with it.
    2) The IPTC standard does indicate the end-of-line style, but either Aperture or your other programs don't follow it.
    or
    3) IPTC Metadata doesn't actually support end-of-line, so Aperture should not allow you to enter multiple lines, but it has a bug so it does allow you to do that.
    Can you tell us where exactly you are editing the caption? I tried it in the inspector pane (on the left) in the "Metadata" tab, and then I hit the "IPTC" button at the bottom of the tab.
    nathan

  • System hanging when i try to display or change or create a function module?

    Hi Experts,
    My system is hanging when i try to display or change or create a FM using SE37 transaction. I am able to execute SE37 transaction but when i give a FM name which is already existing, the system is getting hanged up. If i give a FM which is not present in the system and try to display it, it gives an error "FM does not exists". I have unistalled the SAP logon and reinstalled it again and restarted my system but still this problem is encountered.
    Can any one please help me in this issue??
    Thanks a lot in Advance!
    Regards,
    Lakshman.

    Hi Prasad,
    Go to se38 transaction and look at  UTILITIES-> Settings-> ABAP editor-> Change front-end editor to old(if it is new) and check once. Hope this solves your problem becuase this is what i have done for my problem and let me know whether the problem has been solved.
    Regards,
    Lakshman.
    Edited by: lakshman reddy G on Mar 5, 2009 5:54 PM

  • What events change the Created field in, finder, get info

    On my laptop, in finder, in the get info screen there are 2 fields the Created Date and Modified Date fields.
    I was looking at these fields for an app that I use on my iPhone, it was listed in finder, so I clicked the get info option.
    The created date and modified date were 10/16 both the same.
    I have not used this app in a long time, my question is this.
    What event changes the created field?  If the app was downloaded on the Iphone will the created field get updated in finder?
    or if it was an update on itunes, would that change the created date in finder?
    Does the created date mean that the app was downloaded and installed on that date?

    Thank you so much.  That works just fine.  However, I also just discovered something.  Evidently, at least some of the fields in list view are editable.  By adding Grouping to the columns shown and clicking on the empty field, I was actually able to type whatever I needed into the field.
    I have not yet tried it with other fields, but will do so to see if it works for all fields in the list view.
    Laura

  • Changes to Create expense report

    Hi everyone!
          Could anyone fill me up on how to change the "create expense report" standard application hosted on in portal(Java). I have no experience on Netweaver studio. a step-by step procedure to change some basic functionalilty will help.
    Thanks!

    check the note 1977668    Web: country & region as separate fields Apply the note and make the entry in TA20SWITCH view as described. in the Webdynpro application you can choose: - either you take the combined dropdownbox for all country / region   combinations - or you can take the seperate fields but then you must have for all   countries an entry with region space.

  • Is there any need to create schema in unvierse designer of business objects

    HI this is sridhar
    is there any need to create schema in unvierse designer of business objects xi r2,  when i integrated sap bi data into business objects,i,e i have fetched sap-bi/bw data to business objects universe
    please help me

    I don't see what is wrong with
    <jsp:useBean id="tabsConfigurator" class="com.mypackage.TabLayoutConfiguratorImpl"/>
    The class has a no-args constructor at least. The useBean tag will work with it. Probably.
    But still, some code just can't be translated into scriptless JSTL.
    Calling methods which take parameters is one of those things.
    In this case you probably want to write a custom tag to work with your tabs
    I would probably look at using custom tags like this:
    <%@ taglib prefix="tab" uri="/WEB-INF/TabLayout.tld"%>
    // tab to create the configurator.
    // either export it as a var, or use other tags only nested within this one
    // so you can get access to the configurator.
    <tab:configure var="configurator">
      <tab:render configurator="${configurator}" tab="${tab}">
    </tab:configure>I don't know exactly what the scriptlet code will be doing. But I think a custom taglib would be the only way to eliminate scriptlet code that you have here.

  • How to create schema for Header and Footer with pipe delimiter file BPEL11g

    Hi all,
    I have issule creating Schema for Header and Footer with body file .The file format is Pipe delimiter.The following format below like is...
    Softeware Components:File Adapter(Read) 11g,
    1|1211|000|577|5444
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|4544|000|yted
    I hope get the sollution for this from this Forum..Please help me out..Thankyou.

    You mean how many rows or columns..?
    If coloumns means 5 and rows only one(1).

  • How to create Schema Header and footer with Pipe delimiter file..?

    Hi all,
    I have issue with creating Schema Header and footer with body file ..The file format is Pipe delimiter.. The follwing file below like is...
    Adapters:File Adapter(Read)-11g.
    1|000|2025|SDFG|54787
    1|2055|244|9566|000|000|044|2577|361147|45554|wweqw|52555|564|000|647|464
    1|2027|344|4566|000|000|044|8577|361147|45554|wweqw|82555|564|000|647|844
    1|2024|444|6566|000|000|044|9577|361147|45554|wweqw|12555|564|000|647|544
    1|2023|544|8566|000|000|044|5577|361147|45554|wweqw|52555|564|000|647|442
    1|2022|644|3566|000|000|044|7577|361147|45554|wweqw|02555|564|000|647|448
    1|0000|546|25544|454
    If you have sollution for this, please help me out..Thank you.

    You mean how many rows or columns..?
    If coloumns means 5 and rows only one(1).

  • Is there any way to change the color scheme in a document in Pages?

    I have come from a PC using Publisher for a weekly newsletter and am trying to use Pages to accomplish the same thing.  i want to change the color scheme from week to week and have not found a way to accomplish this.
    I am currently using Word for Mac for this, but I would like to move over to Pages.  I'm playing with it some, but can't seem to find a way to change the color of the publication from week to week.  To change to another template all together would cause me to have to reinvent the wheel each and every week, and I'm not willing to do that.
    Adobe Illustrator is an option, but it looks mighty complicated to set it up...  And I've balked at the price tag.
    Any suggestions?

    Pages does not have Themes like Word.
    There might be other ways to achieve what you want by swapping master objects and changing colors of Styles. A bit more work but not horrendously more.
    You can name color swatches in the Color Picker so you could set up a set of colors there then update styles and objects systematically using those swatches.
    Illustrator would be an extremely poor choice for a Newsletter.
    Have a look at the new Swift Publisher 3 in the App Store, currently 30% off. They have added some very good tools that have brought it into a much more Pro usable form. Including many key features that Pages lacks.
    Peter

  • How can I create schema?

    Hi all.
    I've used oracle 9i 9.2.0.3 database.
    I want to create schema using oemapp console. But I can't.
    I've thought that a schema might be created when user's created. But when I created a user, a releated schema was not created.
    How can I create schema which has a user name?

    I've thought that a schema might be created when
    user's created. But when I created a user, a releated
    schema was not created.
    How can I create schema which has a user name? From the Oracle® Database Concepts manual:
    "A schema is a collection of logical structures of data, or schema objects. A schema is owned by a database user and has the same name as that user. Each user owns a single schema."
    So, in a way, you can consider both concepts as being identical, i.e. when you create a user, you automatically create the corresponding (empty) schema. The schema can then be enhanced by creating additional objects under the authority of the user who owns it.

Maybe you are looking for

  • OSX 10.6.8 and Adobe CS2

    I have just upgraded my laptop to 10.6.8, and I'm now having problems with Adobe software. No other software updates were done at the time, except that MS Office 2008 was also loaded (using MS Office 2004 previously). I've checked through the forums

  • Help, select long list in ..select filer values

    Hi All   I have a doubt, in Portal, in one query, when I choose select filter values for one characterist (master data) and I look for Master data that begin with "Purchasing..*" I get the list and how can I pass this selection list to values (right

  • ODS actiavtion: any issue?

    Hi, I am updating data from ODS to the other --- While first was in actiavation step the other fellow has scheduled the first data upload data to the second ODS: Now that it has only limited number of records in the second ODS after activation i wond

  • How to Recover in Lion From Time Machine all my systems at it was an hour a go?

    Hi There, I just make a mistake and delete many system files from the Lion now I would like to reatore all my laptop at the point it was 2 hours a go, I have tImeMachine working well.  but I got Lion online, so I don't have the Installation Disk, to

  • Pink Line Under Clips in the Timeline

    I'm working on my first FCE (4) project, and up until today hadn't captured any DV clips into FCE (I had been importing clips already on the hard drive). Each of the newly captured clips that I've put into the timeline has a pink line underneath. I h