What is schema?
what does schema means,as i know that it means a related tables ( for example HR schema) but i think it has a different meaning when it is used with triggers
(on database or on schema triggers) then here it seems as they are taking about a user or all users..is this right??????
Hi,
Oracle implements schemas and users differently than some other SQL databases. In oracle every user automatically has a place to create objects, their own schema. In Oracle a user can not own objects in another user's schema. The schema denotes the object owner. Essentially users are schemas, and vice versa.
In terms of database triggers versus schema triggers, a database trigger runs for the entire database while the schema trigger runs only for the current user/schema. For example an AFTER LOGON ON DATABASE trigger would execute whenever anyone tried to login but an AFTER LOGON ON SCHEMA trigger would only affect the account that owns that trigger.
See http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10795/adfns_tr.htm#1006274
I hope that this helps,
Steven
Similar Messages
-
What are schemas and rules in HR?How it will use in HR?
Hi HR Proff,
What are schemas and rules in HR?How it will use in HR?
Give some documentation on this?
Early reply is highely appriciable.
Regards,
Chow.Refer this link -
http://www.sd-solutions.com/documents/SDS_Payroll_Schemas.html
Regards,
Amit -
What naming scheme is the best?
I've imported photos from a hard drive into Aperture. The folders were listed as years. Then with folders of events within each.
On import to Aperture I have ie: 1999 as project. Within this I have many folders such as Fishing, XX birthday, XX birthday, Fun Park, Christmas, etc...
Then another Project 2000 and same as above.
Is there a better naming scheme I should use? In each year Project folder I have Christmas photos. Paintball tournaments. Family get togethers etc..
Some events the same just different years.
Is there a more efficient use of Apeture? Such as making a Christmas Project and then putting all Christmas photos in here? Should I then make year folders of the tournaments or for Christmas?
Not sure of the best use of Aperture to control photos?For me the best thing is a unique name for every image. I had considered a date naming convention and did not go forward for a few reasons, first off the name was getting too long and I could always look for the date by metadata, so no need.
I figured naming by content presented problems such as what content if an image of a dog also has a cat in it? Skiing in Alta? Skiing or Alta.... Then there is the problem of remembering or finding the last numbered image in the group.
So I ended up with a simple sequence number. I was originally going to go with using letters for the beginning to coincide with a year. A=2001, B=2002 etc. I again threw this out as being redundant because of Metadata. I ended up just going with a letter first with 5 digits following. I edit down to keepers and then simply go back and see the last number I used and then use the following number.
In Aperture I place the images in projects of the shoot in folders of the client then in projects within those folders. I then put alias's in a sequentially numbered folder in groups of 1000. -
What LDAP schema should I use with JMQ 2.0?
I've just downloaded the JMS 2.0 beta for Solaris and trying to set up a admin objects store with LDAP server (NES 4.12). However I cannot find a LDAP schema file to import into the LDAP server in your release. Would it be possible to send me a copy?
As far as I know, you don't need to import any LDAP schema into
Netscape Directory Server 4.12 (I assume this is what you
are using) to store the administered objects.
Are you seeing "schema violation" errors when you use jmqobjmgr ?
If that is the case, what lookup name are you using ? Does
your lookup name have the form:
"cn=myLookupName"
In most cases (it can be overriden), LDAP servers require lookup names
to have the above format. -
Hey Forum,
I am using a wd 500gb ext hdd and now i am about to reformat my hdd to one partition hfs+j and now i need to know, reformat it to apple partition map, master boot record, or guid partition?
Pls reply thanks!:D
Ala.Hi Ala,
GPT (GUID Partition Table) and MacOS Extended (Journaled) are the standard (normal) settings to be used for external harddisks in conjunction with Intel-based Macs like your MacBook.
Regards
Stefan -
Schema and calculation rules in Payroll
hi experts
what is schema ? what are the function of schema in payroll? How to set calculation rules for payroll? pls help in detail.
points will be awarded for useful answers.
ThanksHi Das,
Schema is is set of rules means when ever you run the pay roll driver for eg: US driver RPCALCU0, in selection screen you have to mention the pay roll driver for US u000 in schema field.
when ever run the driver the set of rules executed and according the rules payroll is calculated.
OR
Each country payroll version supported by SAP has a program called the "payroll driver" that calculates payrolls. For example, in the U.S., the payroll driver is RPCALCU0, in Mexico it is HMXCALC0, and in Canada RPCALCK0. Each one is different, but they share a common core of functionality. The job of the payroll driver is to process payroll functions as specified in a payroll schema. These payroll functions each perform a specific job, for example - reading data from infotypes, calculating taxes, and processing wage types. Some functions process payroll rules. Rules are a collection of payroll operations. Each operation does a small unit of work, such as multiplying a wage typeu2019s number by a rate to get an amount.
Schemas are edited with transaction PE01
Schema rules PE02
Functions and operations are maintained with transaction PE04.
If anything require let me know
Regards
Sudheer -
Hi all,
I learmed the basic stuff of XML, DTD, DOM, etc. long time ago. Now, I came back to resume my XML journey and try to learn the XML Schemas, XPath and XQuery. I have Microsoft SQL Server 2012 Management Studio (SSMS2012) in our computer network. From
Page 221 of the old Book "Beginning XML 2nd Edition" written by David Hunter, et.al., (published by Wrox), I copied the name5.xsd and name5.xml :
<?xml version="1.0"?>
<schema xmlns=http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.wrox.com/name" xmlns:target="http://www.wrox.com/name"
elementFormDefault="qualified">
<element name="name">
<complexType>
<sequence>
<element name="first" type="string"/>
<element name="middle" type="string"/>
<element name="last" type="string"/>
</sequence>
</complexType>
</element>
</schema>
<?xml version="1.0"?>
<name
xmlns=http://www.wrox.com/name"
xmlns:xsi="http://www.wrox.org/2001XMLSchema-instance"
xsi:schemaLocation="http://www.wrox.com/name name5.xsd"
title="Mr.">
<first>John</first>
<middle>Frizgerald</middle>
<last>Doe</last>
</name>
How can I execute these two files in my SSMS2012 for doing my first XML Schema trial?
Please kindly help, advise and respond.
Thanks in advance,
Scott ChangHi Eric Zhang, Thanks for your nice response.
1) I saw the CREATE XML SCHEMA COLLECTION (Transact-SQL) and tried its first example "Create XML schema collection in the database" in my SQL Server 2012 Management Studio (SSMS2012):
-- Create a sample database in which to load the XML schema collection.
-- Copied this set of code stsments from Microsoft Library (ms176009)
-- ColesMS12_20a.sql (saved in C:/Documents/SQL Server Management Studio)
-- 19 March 2015 1145 AM
CREATE DATABASE SampleDB
GO
USE SampleDB
GO
CREATE XML SCHEMA COLLECTION ManuInstructionsSchemaCollection AS
N'<?xml version="1.0" encoding="UTF-16"?>
<xsd:schema targetNamespace="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions"
xmlns ="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
<xsd:complexType name="StepType" mixed="true" >
<xsd:choice minOccurs="0" maxOccurs="unbounded" >
<xsd:element name="tool" type="xsd:string" />
<xsd:element name="material" type="xsd:string" />
<xsd:element name="blueprint" type="xsd:string" />
<xsd:element name="specs" type="xsd:string" />
<xsd:element name="diag" type="xsd:string" />
</xsd:choice>
</xsd:complexType>
<xsd:element name="root">
<xsd:complexType mixed="true">
<xsd:sequence>
<xsd:element name="Location" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType mixed="true">
<xsd:sequence>
<xsd:element name="step" type="StepType" minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="LocationID" type="xsd:integer" use="required"/>
<xsd:attribute name="SetupHours" type="xsd:decimal" use="optional"/>
<xsd:attribute name="MachineHours" type="xsd:decimal" use="optional"/>
<xsd:attribute name="LaborHours" type="xsd:decimal" use="optional"/>
<xsd:attribute name="LotSize" type="xsd:decimal" use="optional"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>' ;
GO
-- Verify - list of collections in the database.
select *
from sys.xml_schema_collections
-- Verify - list of namespaces in the database.
select name
from sys.xml_schema_namespaces
-- Use it. Create a typed xml variable. Note collection name specified.
DECLARE @x xml (ManuInstructionsSchemaCollection)
GO
--Or create a typed xml column.
CREATE TABLE T (
i int primary key,
x xml (ManuInstructionsSchemaCollection))
GO
-- ////The following code statements are not used in order to create SampleDB
-- Clean up
---DROP TABLE T
---GO
---DROP XML SCHEMA COLLECTION ManuInstructionsSchemaCollection
---Go
---USE Master
---GO
---DROP DATABASE SampleDB
It worked and I got the following results:
1 4 NULL sys 2009-04-13 12:59:13.390 2012-02-10 20:16:02.097
65536 1 NULL ManuInstructionsSchemaCollection 2015-03-19 11:47:17.660 2015-03-19 11:47:17.660
http://www.w3.org/2001/XMLSchema
http://schemas.microsoft.com/sqlserver/2004/sqltypes
http://www.w3.org/XML/1998/namespace
http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions
But, I don't undertand (i) what SCHEMA COECTION is, (ii) what <xsd:schema targetNamespace=.....</xsd:complexType> are, (iii) How I can specify my "project specific" schema in the Microsoft SCHEMA COLLECTION to check my xml file.
2) I dived in the XQuery programmimng in SSMS2012 in the last few weeks. I used the examles of Ad-Hoc XML File Query by Seth Delconte (in
httpS://www.simple-talk.com/content/print.aspx?article=1756) in my SSMS2012. They worked. But I don't understand the (i) Importing XML data using a function, (ii) Using the XQuery contans()
function to find substrings, (iii)Efficiency comparisons in the article.
Please kindly help me in enlightening me to resolve the difficulties listed in 1) and 2).
Thanks,
Scott Chang -
Schema group on vendor master ..?
hi all
Can anybody explain me about the schema group in MM
1. what is schema group
2.Its significance
3.Where to configure//
Thanks
sap-mmHi,
Group for calculation schema (vendor): - Determines which calculation schema (pricing procedure) is to be used in purchasing documents containing this vendor number.
Use: - You can use the schema group to specify the calculation schema per purchasing organization or vendor. The relevant calculation schema is determined by reference to the schema group.
The effect of this is that the conditions to be maintained in a purchasing document can differ depending on the relevant purchasing organization or vendor.
If a calculation schema is only to be valid for certain purchasing organizations or vendors, proceed as follows:
1. Define the schema group for the purchasing organization or the vendor using the relevant function in the menu "Calculation schema -> Schema groups".
2. Assign the schema group to the calculation schema via "Calculation schema -> Determine schema".
3. Enter the schema group for the vendor in the vendor master records to which the calculation schema is to be assigned. Assign the schema group of the purchasing organization to the relevant purchasing organization using "Calculation schema -> Schema group -> Assign to purch. org.".
You can configure it in path SPRO > MM > Purchasing > Conditions > Define Price Determination Process > Define Schema Group, here do following;
Schema Groups: Vendor
Schema Groups for Purchasing Organizations
Assignment of Schema Group to Purchasing Organization -
How to determine the Xcelsius Theme and Colour scheme used in a dashboard
I would like to know what colour scheme and xcelsius Theme has been used in creating a given dashboard. Kindly share this information
ThanksHi,
Xcelisus Thems cannot be used in professional dashboards.If you are doing any dashboard's for your internal team ,It would be ok..
But the best pratice is to create ur own colors,all along the dashboard..
Regards,
satish.p -
SCHEMA showing max amount of connections
Hi,
I hope this (Database-General) was the correct forum with which to post this topic. If not, let me know, and I'll repost elsewhere.
I'm not the DBA of our Oracle server, but I was wondering if there's a way -- I suppose at the SQL Plus prompt -- to determine what the schema is configured for with regards to the maximum amount of active connections allowed?
Having some difficulty, and I'm not sure that even a connection pooling config with the Java portion will properly address it.
ThanksOk, thanks, Eric.
Not sure if it was a problem pertinent to the driver I had configged in some of the connection objects I made in my Java pages and servlets, or just an error stemming from too many people trying to connect with a given account.
I use 9i, but you're right, I likely need to talk to the DBA. They're up in the northeast (US) and I've emailed them to inquire.
Basically, some people could get connected, while others got a timeout error. -
Validating a xml schema (xsd file)
Hi,
I was wondering - my program should accept schema files and before doing whatever it does with them I want to put them through a validation and present errors if any.
I wasn't sure what is the right way to go about this - I know how to set up a validating parser with my own ErrorHandler and retrieve error info for simple xml files and xml schema instances, but how do I set up the parser to validate a schema definition?
My first idea was to validate it like I would validate any schema instance, since xsd files also have their own schema definition, but that seems kind of funny, since obviously the parser already knows what a schema definition should look like.
Has anyone done this?
Thanks,
Uri.Try something like this??
DocumentBuilderFactory DBF = null;
try
DBF = DocumentBuilderFactory.newInstance();
catch (Exception fce)
// Set various configuration options
DBF.setValidating(true);
DBF.setNamespaceAware(true);
DBF.setIgnoringComments(true);
DBF.setIgnoringElementContentWhitespace(true);
DBF.setCoalescing(true);
DBF.setAttribute("http://java.sun.com/xml/jaxp/properties/schemaSource", new File(Filename));
DBF = DBF.newDocumentBuilder();
DBF.setErrorHandler(this);
DBF.setEntityResolver(this);
catch (Exception pce)
blah blah blah blah....
I hope this is what you were looking/asking for... I could be way off base here 8-)) -
Hi
Can some one explain me, what exactly schemas means in SRM catalog content managementThe information is alreay there in help.sap.com. The links attached below for your reference.
http://help.sap.com/saphelp_ccm20/helpdata/en/cb/b2891b094042d1a3ee1cf5b0d8bd33/content.htm
http://help.sap.com/saphelp_ccm20/helpdata/en/84/6F13B1D603D511BCBC0800060D9C68/content.htm
Regards
Kathirvel -
Schema name while creating db link
Hi
What is schema name for sqlserver source in owb need to provided while creating db link.
reagrds
rajeshNo One to respond me??
-
Is there a section in delivered docs that explains each EBS Oracle schema?
Hi folks,
The security group in the organization I work for is not used to COTS packages such as EBS, and is always asking why the database needs so many Oracle accounts. At the very least, I need to explain what each one is for, and it's going to be extremely time consuming.
So my question is, is there anywhere in the delivered EBS documentation that explains what each schema is for specifically? I've looked quite a bit, and can't find anything specific as far as a break down schema by schema. I'm not looking for a data model, simply an explanation for each one.
By the way, this is a 12.1.1 installation.
Thanks very much,
-Adam vonNiedaSee Appendix C of MOS Doc 403537.1 (Secure Configuration Guide for Oracle E-Business Suite Release 12)
HTH
Srini -
What is schema bind view? Can anyone explain with suitable example ? When we need schema bind view how its helpful for performance
When a view is specified with SCHEMABINDING option, you cannot modify the base tables the view uses such that the view is affected. Also, you cannot drop the tables used inside the view unless you drop the view first. You cannot also use ALTER TABLE statements
on the tables used by the view. All referenced objects must belong to the same database.
more information can be found here...
http://technet.microsoft.com/en-us/library/ms187956%28v=sql.105%29.aspx
To create a SCHEMA BINDING View you will use the syntax
CREATE VIEW dbo.VW_Name WITH SCHEMABINDING AS
SELECT statement..
Now that you used SCHEMABINDING on the view, if you try to ALTER the referenced table it will throw any error.
Please mark as answer, if this helped you resolving your issue.
Good Luck :) .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.
Maybe you are looking for
-
Hello, I have a (Company owned) iPhone 4 with upgraded IOS5 installed. I have 345 pics , several videos, notes, contacts, and my favorite songs(68 of them) in there. I must return the phone to my former employer. I have purchased a new phone with an
-
SharePoint 2010 TechNet Gurus Announced for June 2014!
The Results are in! and the winners of the TechNet Guru Competition June 2014 have been posted on the Wiki Ninjas Blog. Below is a summary, heavily trimmed to fit the size restrictions of forum posting. BizTalk Technical Guru - June 2014 Steef-Jan
-
A bit strange, but... I've got a new mac pro tower w/ a 23" Apple cinema display... by chance is there a way to connect my old Titanium laptop to the second (empty) video port in order to use the Titanium LCD as my menu monitor while I retouch on the
-
Cfinput validation is not working
I have a CF8 cfform which contains several cfinput tags set to required. If I submit the form without fillign otu those fields, I do get the popup message displaying the error message(s) but when I click ok on that popup, it still submits the form.
-
0CalQuarter after upgrade issue
Hi buddy, Thanks for this valuable Note 1019513 - Conversion exit for 0CALQUARTER is missing . i solved my problem on 0calquarter. but i got one more issue on this. In 3.1c after inputting 1/2007 and check it would didplay as Q1 2007 on selection sc