Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2010

    Unanswered: 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'


  2. #2
    Join Date
    Sep 2009
    San Sebastian, Spain
    In MySQL CREATE SCHEMA is synonymous for CREATE DATABASE. So your query above can only do SELECT * FROM DATABASE.TABLE;
    Ronan Cashell
    Certified Oracle DBA/Certified MySQL Expert (DBA & Cluster DBA)
    Follow me on Twitter

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts