If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Concept Of Schemas

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-14-11, 12:04
pinkfloyd43 pinkfloyd43 is offline
Registered User
 
Join Date: Dec 2010
Posts: 39
Concept Of Schemas

I have looked around a bit on the web but did not find a definitive answer/example.

I want to be able to discern different customer data by using the concept of schemas.

For example

SELECT * from BIGDB.Customer1.patient_information

WHERE BIGDB is the database and Customer1 is the schema
and lastly the table

If it does support schemas like this, sorry another question, can you backup and restore individual schemas?

As I indicated I have searched for a while now and am either not getting it, it does not exist, or I am searching with the incorrect 'terms'

Thanks!
Reply With Quote
  #2 (permalink)  
Old 10-14-11, 14:31
it-iss.com it-iss.com is offline
Registered User
 
Join Date: Sep 2009
Location: San Sebastian, Spain
Posts: 620
In MySQL CREATE SCHEMA is synonymous for CREATE DATABASE. So your query above can only do SELECT * FROM DATABASE.TABLE;
__________________
Ronan Cashell
Senior Oracle/MySQL DBA
http://www.it-iss.com
Reply With Quote
Reply

Tags
schema

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On