Adventure works database sample question

Dear all,
I need to build a database structure for a shop which is actually selling home furniture and I have seen that quite many table from the AW database could fit my scenario but I have some points that I do not catch in that sample.
If anyone could light my brain I will appreciate.
1- First of all in many tables I can see a reference to a BusinessEntityID but could find any table where BusinessEntity is define ?
2- In my scenario my company will have full control on the database and will resell the software to shops. Shops can be a single shop of belonging to a HeadOffice which is the owner of those shops. The following picture illustrate this
- Shops Owner 1 to 3 are customers of My COMPANY
- Shop 1 to Shop 3 are customers of respective ShopOwner
How can I define and identify those entity in AW sample database ?
Thnaks for help
regards

So does a BusinessEntiy is nothing else than a CUSTOMER in fact ?
IN orther word does each of my blue box in my picture is a BusinessEntity = a Customer?
May be it is just a matter of naming but need to catch it correctly :-)
Hi wakefun,
A business entity is a person or business which has zero or more addresses and zero or more people related to it. For example, the people related to a store would typically be purchasing agents of a retail sporting or bicycle store who buy bicycles wholesale
from AdventureWorks Cycles. A person related to an employee might be the employee’s emergency contact.
In AdventureWorks2008R2 and 2012, the concept of a customer has also been broadened, a customer can be any person or a store. This enables employees (for example) to be customers without storing redundant information about them.
For more information about BusinessEntity tables in AdventureWorks2008R2, you can review the following post.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/dfc1c1f6-cf33-491e-aec1-5803cb406572/explain-businessentity-tables-in-adventureworks2008r2?forum=sqlserversamples
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support

Similar Messages

  • Adventure Works STORE sample table question

    Dear all,
    I am actually studing the database structure of the AW sample database, which is quite close to one of my current project architecture.
    I have seen in this sample database that the CUSTOMER table seems to be used to identify either a STORE of a physical Person through the PersonID column.
    My question is that if we define a STORE information from that sample databse where can we find the address, tel, ... of the STORE ?
    Does those information for a store is actually not in that sample or do we consider that there is at least a contact person for a defined STORE and the address and telephone of that physical primary contact person identify also the STORE contact info ?
    Thanks for clarification
    regards

    AdventureWorks Cycles selling bikes and related accessories both online to individual buyers and through resellers (dealers, stores).
    BOL: "As a bicycle manufacturing company, Adventure Works Cycles has two types of customers:
    Individuals. These are consumers who buy products from the Adventure Works Cycles online store.
    Stores. These are retail or wholesale stores that buy products for resale from Adventure Works Cycles sales representatives."
    Here are the related tables:
    SELECT * FROM [AdventureWorks2012].[Sales].[Customer];
    CustomerID PersonID StoreID TerritoryID AccountNumber rowguid ModifiedDate
    700 NULL 1030 5 AW00000700 540FB57F-F81A-4794-8E9A-C071C4F0BC18 2008-10-13 11:15:07.263
    701 NULL 844 6 AW00000701 61AE9625-8BD8-48B7-B171-8A90CBBA494C 2008-10-13 11:15:07.263
    11000 13531 NULL 9 AW00011000 477586B3-2977-4E54-B1A8-569AB2C7C4D4 2008-10-13 11:15:07.263
    11001 5454 NULL 9 AW00011001 C32A8084-9077-4F13-9738-1E2DA7C1DCD9 2008-10-13 11:15:07.263
    11002 11269 NULL 9 AW00011002 45715DD8-2F57-4A39-BEB4-6A8F99D59794 2008-10-13 11:15:07.263
    SELECT * FROM [AdventureWorks2012].[Sales].[Store];
    BusinessEntityID Name SalesPersonID .......
    292 Next-Door Bike Store 279
    294 Professional Sales and Service 276
    296 Riders Company 277
    298 The Bike Mechanics 275
    300 Nationwide Supply 286
    Here is the data model description:
    http://technet.microsoft.com/en-us/library/ms124824(v=sql.100).aspx
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Not able to attach Adventure works Database to SQL server 2012 Management studio

    Hello
    while i try to attach AdventureWorks2012 database to SQL Server 2012 Management Studio i am getting the following error
    Msg 1813, Level 16, State 2, Line 1
    Could not open new database 'AdventureWorks2012'. CREATE DATABASE is aborted.
    Msg 948, Level 20, State 1, Line 1
    The database 'AdventureWorks2012' cannot be opened because it is version 705. This server supports version 662 and earlier. A downgrade path is not supported.
    Kindly help me in this regard
    Thanks
    Joey

    Hi,
    You can use the following query to achieve the version of SQL Server.
    Select @@version
    As the previous comments, you can either upgrade to SQL Server 2012 or attach the AdventureWorks2008 database in the link which KevinNicholas provided.
    Additional information:
    How to determine the version and edition of SQL Server and its components
    http://support.microsoft.com/kb/321185/en-us
    Upgrade to SQL Server 2012 Using the Installation Wizard (Setup)
    http://technet.microsoft.com/en-us/library/ms144267.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Attaching Adventure Works Database

    Hello team members,
    During Attach the AdventureWorks2008 database_data.mdf, the error message shows up:
    Msg 262, Level 14, State 1, Line 1
    CREATE DATABASE permission denied in database 'master'

    Hi,
    Your user don't have permission to create a database. You can change the user permission and grant CREATE ANY DATABASE. Or you can use the sa.

  • Please HELP me with getting the right version of Adventure Works database

    Hi,
    I have SQL SERVER 2008 R2 installed with me. And i have downloaded 'AdventureWorks2008R2_Database' from msdn links only.
    It is running fine. 
    Now the practise material i have with me is where employee table have columns precisely as in this link here 'http://technet.microsoft.com/en-us/library/ms124432(v=sql.100).aspx'. And the version which i downloaded and using doesnot have these.
    So need help with actual version which would have all these columns. 
    Thanks

    Hello,
    That's link is to the documentation of Version 2008, in Version
    2008 R2 the design has changed a little bit. Download the example for version 2008 is you Need exact that table design.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • BIBeans on WinNT - killer of previously working OLAP samples?

    I installed JDeveloper 9i RC and BiBeans RC. I applied all the latest OLAP patches and started working on BiBeans tutorial. I installed the demo database bibdemo schema and started creating OLAP connection required by Designer wizard. As other people already posted, the connection won't work until upcoming OLAP Patch for WinNT/2000.
    So I tried to go back to my previously working OLAP samples (generated from OLN OLAP API Fundamentals class) and noticed that they didn't work any more.
    Here is the output of the sample program:
    **** Obtained CORBA stub for /etc/OLAPServer/OLAPServer1 ****
    **** OLAP Services connection start ****
    **** OLAP Services connection made ****
    *** Metadata provider created ***
    Exception in thread main
    oracle.express.mdm.MetadataNotFoundException
         java.lang.String oracle.express.mdm.MetadataPropertyBag.getStringPropertyValue(java.lang.String)
         oracle.express.mdm.MdmObject oracle.express.mdm.MdmObjectFactory.createMdmObject(java.lang.String, oracle.express.mdm.MetadataPropertyBag, oracle.express.mdm.MdmMetadataProvider, oracle.olapi.data.source.DataProvider)
         oracle.express.mdm.MdmObject oracle.express.mdm.MdmMetadataProvider.getMetadataObject(java.lang.String)
         oracle.express.mdm.MdmSchema oracle.express.mdm.MdmMetadataProvider.getRootSchema()
         void oracle.practices.OLAPPractices.execute(java.lang.String[])
         void oracle.practices.OLAPPractices.main(java.lang.String[])
    Process exited with exit code 1.
    The line that generates the exception is:
    MdmSchema root = mdp.getRootSchema();
    I noticed that installing BIBDEMO sample schema removed the old SH measures and cubes. I tried changing the user/pwd from SH to BIBDEMO and got the same error.
    What's causing the problem. Can I easily undo the BIBDEMO changes and make the OLAP API samples work again. Or am I stuck waiting for the upcoming OLAP Patch?
    /Stan

    Hi Stan
    Can you tell us exactly what you did?
    What versions of the Beans and Oracle9i OLAP did you have first?
    What version of the OLAP patch did you install?
    What OS are you using? I initially installed Oracle 9i Database for MS Windows NT/2000 from CD-ROM (version 9.0.1). I have also installed JDeveloper 3.2.3 from an accompanying CD-ROM. I don't remember if BI Beans existed in that release, probably not.
    Then I downloaded JDeveloper 9i RC and BIBeans AddIn for JDeveloper. I installed the following patches:
    - Oracle9i Patch Set Version 9.0.1.2.0,
    - Oracle OLAP Release 1 Patch Set Version 9.0.1.1.1,
    - Oracle OLAP Best Practices for Cube Aggregation and Query Operations Release 1 (9.0.1) for Windows and UNIX, Part Number A92122-01,
    - XADEMO.BAT for Oracle OLAP.
    I'm using Windows NT 4 with SP 6a.
    I have also re-installed the SH_CAT schema as you suggested in the other note, but that didn't make the problem go away. I'm still getting MetadataNotFoundException when calling mdp.getRootSchema().
    /Stan

  • Sample questions

    Hi Harold and Brian
    I would like to know if it is possible to use your samples questions (i.e. http://www.oracle.com/global/us/education/certification/sample_questions/exam_1Z0_046.html) in my next official publications. Would like also to know if we can just write a book about a Oracle certification or shall we also ask Oracle before the book hits the streets?
    Who shall I ask before using those questions please? What kind of authorization shall I request?
    Thanks.
    Regards,
    Hub

    Hi Aman
    Thanks for your question, it is about the Oracle under Linux OCE? I'm working hard to get the chapters written in a new format with Q&A, exercices. Hopefully will be printed next year, after I delivery all the 15 chapters.
    unfortunately my co-author was supposed to furnish some chapters dropped the project (besides that he didn't wrote a word for that book) so therefore will the writing / editing take longer time than expected.
    I'll keep you informed.
    Regards,
    Hub

  • CRM certification sample questions

    Hi
    If anybody has done the CRM ,can you please provide some guidance regarding some sample questions
    Thanks
    Jaya

    Questions are not available. If you want guidance here it is.
    Clearing the certification is drectly proportional to your capability of mugging up and remembering the stuff.
    Questions are asked only from the corresponding manuals. So read every line. Dont skip anything.
    Reading the manual 8 times or more should help you sail smoothly thru the certificaiton exam without any thunderstorms.
    Menu paths are generally not asked. Same for transaction codes. However try to memorize the commonly used transaction codes and menu paths.
    Preparation method: mug up the whole manual. Practical work exp. is not at all required. (something strange abt the certfs)
    hope this helps
    <b> <i> Julius Pereira </i> </b>

  • Sample Questions of SAP MI Certification Exam

    Hi Friends,
    I am appearing for the SAP Certification Exam in MI.
    I am not sure what kind of questions SAP is going to ask in the exam, because inspite of searching at so many places (SAP sites), I have not got even a single question to have an idea.
    I think somebody of you must have appeared for certification exam or have some source for getting sample questions,
    Please revert with some useful information....
    Thanks,
    Deepak

    Hi Deepak,
    I did not attend any MI certifications but can suggest you a few.
    As people working on MI are very few,we need to wait and see untill the TechEd completes.
    Any how from my exp working on MI for 1 year, i can suggest few things from MIddleware and backend.
    1)Types of syncbo's(TO1,SO1,UO1,T51)(importance of these),unit testing syncbos(emulator),how we assign/unassign applications on our MI client using NWA,types of bapis,how we upload application to nwa.
    2) Client side...wat are the general APIs we need to use(Ex:to getlist of records, modify record from client, to sync etc we use specific APIs)(Need to know what all APIs to use.
    3) How to generate mobile ID using Merep_pd
    4) MI supports on what platforms.
    5) All MI features like (Replication,cascade download, cascade delete,filtering,multilanguage feature etc)
    6)Smartsync tools as wella s generic sync related Questions
    May be end to end work flow of MI will work(Create record from client and sync, check in worklist monitor and in Middleware and backend)
    These are all very specific and basics of MI.
    I heard SAP certifications are not going to be very easy.
    So all the best for certification.
    Hope this basic info helps you.
    Thanks,
    Karthick

  • Sample questions for CRM telesales consultant certification

    Hi,
    has anyone access to sample questions for the "SAP CRM telesales consultant certification"? I tried to search the SDN forum, however, for whatever reason it didn't work.
    Thanks & regards
    Wolfgang

    Hi Wolfgang,
    Refer the following links:
    http://searchsap.techtarget.com/generic/0,295582,sid21_gci1149410,00.html
    http://searchsap.techtarget.com/general/0,295582,sid21_gci1108668,00.html
    This book has everything regarding certifications in SAP CRM
    http://www.sapcookbook.com/SAP-CRM-Interview-Questions-SAP-Customer-Relationship-FAQ.htm
    <b>Reward points if it helps.</b>

  • Sample questions on SAP NetWeaver-Web Application Develpment certification

    hello frnds,
    can i find any sample questions on
    <i><b>SAP NetWeaver-Web Application Develpment - JAVA</b></i> certification?
    what are the books/material should i follow for the same ?
    Thank you,
    Regards,
    Shobhan

    hi Sobhan
    Please try on
    braincert.com
    Farook

  • Java Programming Competition Sample Questions

    Hi,
    I am interested in participating the Java Programming Competition in my University. For pratice can you point me to some website with sample questions or any question u have in mind.
    Thanks
    Satish

    I was thinking of putting up on-forum competitions, winner gets dukes etc.
    Someone find an empty forum and we can get on it.

  • SAP ABAP Certification Sample Questions

    Hi
    Can anyone help me in SAP ABAP certification sample questions?
    Before giving the exam i wanted to just check mu knowlegde..
    Do not ask for sample question on SDN.
    Read and respect forum rules.
    Edited by: Zubin Shah on Jun 1, 2010 6:08 PM

    Hi
    If can answer most of these then you will have no problem with the cert exam: Security interview questions - some fun to tickle your brain.

  • SCSA 310-014 free sample questions

    Can anybody guide me to get SCSA 310-014 free sample questions. Thanks in advance.
    Thanks,
    Vasanth.

    The guys over at http://www.unixporting.com/ provide -very- cheap practice exams.
    I know: it's not -free-. But their exams are -very- good and actually drive you to learn more than you need to know for the real exam. That way you'll be sure to do well on the test :)

  • Plant MAintenance certification  sample question

    Hi all,
    I am due to appear for Plant MAintenance certification thios macrh.It wud be greatful if anyone of u can help with the sample questions .

    Go through the PM Question & Answer book published by sapcook. It will be of great help to you
    Regards,
    Ketul

Maybe you are looking for

  • What is the best laptop to run Premiere Pro cc?

    Hi everyone, I've been having a lot of problems with Premiere cc since I downloaded it a few months ago and am now realising the problem is with my computer.  I have a late 2012 Macbook Pro, 2.5 ghz, 8gb Ram, intel hd 4000 processor which just doesn'

  • I cannot choose "undo" command anymore.

    I have Mavericks and the latest update to Final Cut Pro X.  I noticed a few weeks ago that I can no longer "Undo" a command.  Does anyone know a workaround for this?  Is it a Mavericks problem? Also, When FCPX crashes, it doesn't save the last state

  • Upgrading Solaris 10 8/07 to run LDOMs?

    I am trying to get to a point where I can create and run logical domains - the HW is a SPARC Enterprise T5220, OS is "Solaris 10 8/07 s10s_u4wos_12b SPARC" - and according to the book ("BEGINNERS GUIDE TO LDOMS: UNDERSTANDING AND DEPLOYING LOGICAL DO

  • IN IMOVIE CANT GET IDVD TO RESPOND

    Hi Folks Having problems with iMovie at the moment;- Iv'e craeted a project, selected it and used the share -- iDVD command Its run its course, but then the expected icon on the tool bar does not happen ! Am I doing something wrong ? Should I have do

  • Mercedes Benz / C-Class 240 / yr-2002 / Nokia 6233...

    Hello, i bought a Mercedes Benz C-240, year 2002, and in the arm rest there is a connection cable (jack). As i can see there is a call option in the audio system. What i would like to do is to connect my nokia phone 6233i to the system so i can use i