OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
R: Re: FW: Re: what is a schema? what is a database?

From: Nanni Claudio (claudio.nannigalileoavionica.it)
Date: Fri Mar 28 2008 - 05:00:11 CDT


I know I am a little late.
From my experience with Oracle Database:

ORACLE MYSQL(equivalent)
-------------------------------------------------------------------
DATABASE MYSQL INSTALLATION
SCHEMA DATABASE

So in Oracle a Database is an instance running on an Oracle installation,
While with MySQL you need different installations to have different instances(mysqld).
In my opinion Oracle naming approach is more correct, if you consider a Database as a RDBMS, anyway, MYSQL IS GREAT!

Aloha!

Claudio Nanni

-----Messaggio originale-----
Da: news [mailto:newsger.gmane.org] Per conto di Thufir
Inviato: mercoledì 5 marzo 2008 12.09
A: mysqllists.mysql.com
Oggetto: Re: FW: Re: what is a schema? what is a database?

On Tue, 04 Mar 2008 07:21:21 -0800, Garris, Nicole wrote:

> My experience (Oracle, PostgreSQL, MySQL, SQL Server) is that every
> DBMS is different in this regard. Microsoft's SQL Server works like
> this:
>
> A SQL Server instance ("server") can have many databases.
>
> A database can have many schemas, schema simply being a grouping for
> objects in a database. In a SQL Server 2005 database, there can be two
> tables named "Product" if one is in the schema Sales and the other is in
> the schema Manufacture. The two tables are Sales.Product and
> Manufacture.Product.
>
> A fully qualified SQL Server object name is
> server.database.schema.object.

In your two examples:

SELECT * FROM server.sales.schema.product;
SELECT * FROM server.product.schema.product;

I'm a bit tired, so maybe I'm not seeing it, but what goes in the schema
place holder?

-Thufir

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=claudio.nannigalileoavionica.it

"Questo messaggio ed ogni suo allegato sono confidenziali e possono essere riservati o, comunque, protetti dall'essere diffusi. Se il ricevente non é il destinatario diretto del presente messaggio, é pregato di contattare l'originario mittente e di cancellare questo messaggio ed ogni suo allegato dal sistema di posta. Se il ricevente non é il destinatario diretto del presente messaggio, sono vietati l'uso, la riproduzione e la stampa di questo messaggio e di ogni suo allegato, nonché la diffusione del loro contenuto a qualsiasi altro soggetto" ***** "This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please contact the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not use, copy or print this message or attachment or disclose the contents to any other person."

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql