Need Database structure

Hi,
How to create one database in sql server and connect from console application , web form and windows form application to one database?

And see many examples of connection strings  here
http://www.connectionstrings.com/
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence

Similar Messages

  • Use same report with same database structure to different database server.

    Hi,
    I have standard crystal reports which needs to be copied to another database server.
    The origin database has exactly same database structure with the data base in other server.
    My only question is how to change the connection of the crystal report file from old database server to new one without affecting the linked tables in the report. Would it be possible?
    Note: origin database and new database has same structure, tables and columns but differ in data on it. and both has different server. (MS SQL)
    Thanks,

    Hi Mark,
    Open the report in the CR Designer > select Database option on the top > select Set Datasource location.
    The pane on the top shows the current connection. Go ahead and create a new connection to the target database from the pane at the bottom. Once created, highlight one table from the top, highlight the corresponding table from the bottom pane and click Update. Do this for each table.
    -Abhilash

  • MMS Topology Database Structure

    Hello,
    Is there an Appnote out there somewhere that describes the database
    structure for MMS topology? I need to somehow extract the info populated
    by ZSM discovery and port it to our central database in HP openview.
    Cheers,
    Dennis.

    Dennis,
    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Changing database structure

    I have to add a tabel a mailalerttext and link that to mailalertypes which is linked to mailalerts. I had some problems with the selectlists, underneath you will find something that will solve that problem I thought, but it may be easier to solve it simpler, but thats apex stuff.
    If a default user and default applicationcode would exist, it would be possible to use them in the mailalert table which has following colums:
    MAILALERTID,APPLICATIECD,GEBRUIKERID,MAILALERTTYPEID,SENDMAILIND
    gebruikerid means userid.
    The defaultuser and application code would then be used in the mailalerts table and the column mailalertype would be replaced by mailalerttypecode. These are defined they can't change.
    The reason is that if mailalerttext is linked to maillalerts using the mailalertid as the foreign key, then that allows to find the correct text, or select it straightaway by using the mailtextid. All the selects would then be made on the mailalert table.
    The numbers used as default are just those that are free, a default user can be filled in like that in te gebruikers table, and a default application code in the apps table.
    Only the standard user and the mailalerttypecode are important, the standard applicationcode could be used as an extra check but might not be necessary.
    A select could then be made on that applicationcode, that user, that typecode if not found select standarduser and typecode.
    Applicationcode is only filled in to stick to the table definitions. To solve a problem with a select list on a page in apex i think this is overkill, as it requires more changes then does the first solution, It means changing tables, dropping columns adding them, changing triggers, changing code in apex pages, a lot of work.
    But I was wondering if concerning a database structure, starting from scratch this is something that would be considered good, not so good, bad, something to not do ?
    I'm not sure this is the right group, but it isn't strictly apex, and it isn't really sql/plsql either. More database structure.
    I'm just beginning, so i'd like to know your opinions and why it would be bad, or possibly good.
    Message was edited by: Floris Vermeir
    Removed the spelling mistakes.
    Floris

    I'm still not sure I understand your existing data model properly. The following is my interpretation of what I think your're trying to achieve.
    There are four core data tables -
    * APPLICATIONS - holds information relating to the programs you administer
    * MAIL_TEXT - holds boilerplate text for each type of e-mail (I'm assuming this text can be shared across applications)
    * MAIL_TYPES - the different kinds of e-mail alerts which can be sent
    * USERS - holds information about the support staff.
    I think you need two intersection tables
    * APP_MAIL_TYPES - application X uses text Y for e-mails of type Z (candidate key: app id and type id)
    * USER_MAIL_REGS - user Joe gets e-mails of type Z from application X (candidate key: app id, type id and user id)
    NB If the registration is just done against alert type for all apps, then the USER_MAIL_REGS table shoudl intersect USERS and MAIL_TYPES.
    |                      |
    |  applications        |
    |                      |
           |
           |
          /|\
    |                      |                |                      |
    |  app_mail_types      |>---------------|  mail types          |
    |                      |                |                      |
             \|/     |
              |      |
                |      ---------------------------------          
                |                            |
                |                              /|\
    |                      |                |                      |    
    |  mail text           |                |  user_mail_regs      |    
    |                      |                |                      |    
                                             \|/
                                              |
                                                       |
                                            |                      |                       
                                            |       users          |                       
                                            |                      |                       
                                            ----------------------                        I think USER_MAIL_REGS corresponds to your "overview" table. (It's a good idea to use names which convey as much info as possible. I acknowledge the difficulty of doing this in another language). Changing the users' registrations would simply be a matter of inserting or deleting rows from the USER_MAIL_REGS.
    If this doesn't help you then I'm afraid you will need to give me more info. Specifically, what tables you have, the role they play and the relationships between them.
    Cheers, APC

  • Different Database structure migartion

    In second version of our software we change the database structure.
    Now we need to migrate data from version 1 to version 2 that have different database structure.
    Is Streaming or any other oracle feature provides possibility or I should write code by hand?

    I sugeest you migrate the tables individaully having in mind the DML and DDL statements
    hitting the database from the application end. You need to do a mapping for both the databse.
    Do the events from your old application still update the same tables as the new application
    You need to really think this out to avoid having complications in your new version.
    I dont think stream option is the best at this stage rather export/import of tables would be the best option
    then you can think of stream to update your new version at run time.

  • Refresh database structure

    Hello !
    I'm using VB.net 2013 , Entity Framework 6 , SQL server 2008R2 and SMO.
    I have the application that use the database.
    But sometime I make changes to database structure , and I want to add to my application a "Refresh Database" command.
    Let's say that I have a database model called "Model" ( as a .bak file). The refresh command should compare the current database with this model and after make all the changes needed to make the current database up to date according to model.
    How this can be done using SMO ?
    Thank you !

    Do you think that creating a new database and migrating data it's more easy ?
    Let's get an example :
    The new Model.bak contains only a new field in one of the tables comparing with the current database.
    Do you think that only for 1 field , I should create a new database and migrate thousand of records ? After that of course I should make additional work to make this "New database" connect with my program because I use Entity framework that
    is created with wizard on design time with the database ( that have a specific name ) , and the new database have another name.
    So I think is more easy to add this new field to the current database ( so make a "Refresh" )  and end of the story.
    what do you think ?
    thank you !
    Hi dcode25,
    For such a scenario adding only one more field, what you should do in the upgrade is neither to restore nor to "refresh", the only approach is to run the ALTER table script to add the column when your upgrade wizard fires. This approach should be
    applied to the cases that there's not much modification in your "model". For the cases which are more complex, the restore and migration is the option.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support
    Hello !
    I think that the conversion now is transformed in how we  should call this process.
    Why you don't like the word "Refresh". I like to call this process refresh , but we can call how we want.
    The point is that I want to do this process within my application . I don't know what do you mean with "When your upgrade wizard fire ?"
    Is possible to use the Alter table script in vb.net inside my application and what are the steps ? But of course I want to make this process general so regardless of how many field are added , this process should work. But how can I compare first the
    current database with new model to find out what are the changes that I should made ?
    And what you consider  "too much modification "
    The modifications on new "Model.Bak" may  be :
    - One (or some ) field(s) are added to one (or several )  existing table(s).
    - One (or some ) field(s) are deleted to one (or several )  existing table (s).
    - One (or some ) field(s) in one (or several )  existing table (s) have a different type.
    - A new table is added to database
    - A new table is added that have a new relationship with an existing table
    - 2 or more new tables are added that may have relationship between each other.
    On your opinion , which of these modifications can be done without migration and inside my application ?
    For the others , why do you think that cannot be done without migrating ? Because it's impossible to do , or is difficult ?
    In my opinion ( of course I can be wrong because I don't know ) these may be the steps :
    1) Get one by one the tables in "Model.Bak"
    2) With each table , first detect if this exist in the current database
    3) If not exist , create the table ( or copy from Model ???? I don't know if can be done ).
    4) If exist , compare one by one the fields , and if a field doesn't exist , add the new field. If a field exist but has a different type , change the type. After detect if one of fields in current database doesn't exist on model. If so , delete that field.
    5) If a new relationship exist , add the new relationship
    If you agree with these steps , which of them may be impossible to be done ?
    Or if can be done , how can I realize each of these steps inside my program in vb.net ?
    Thank you !

  • Database structure advise

    Just looking for a bit of advice as to how to best go set up my database structure.
    I currently have the following tables:
    lodges
    LodgeID (PK)
    Lodge
    etc
    scores
    ScoreID (PK)
    Score
    CategoryID (FK)
    LodgeID (FK)
    etc
    categoriesFull
    CategoryID (PK)
    Category
    etc
    countries
    CountryID (PK)
    Country
    So any lodge can have multiple scores, in multiple categories.
    And I can currently produce a list of lodges for any given category, in a particular country which lists the lodge, the number of votes in the category, and the average score in the for that category, using:
    SELECT ScoreID, COUNT(ScoreID) as scoreCount, AVG(Score) as AverageScore, lodges.LodgeID, Lodge, Country, lodges.CountryID, CategoryID FROM lodges INNER JOIN countries ON lodges.CountryID = countries.CountryID INNER JOIN scores ON lodges.LodgeID = scores.LodgeID WHERE lodges.CountryID = 37 AND CategoryID='14' GROUP BY Lodge
    So far, so good.
    What I'm looking to do now is allow create two new fields, 'rank', and 'finalist'. So the plan is to use an update multiple record on those pages, with a tick box for 'finalist' and a text / integer field for 'rank'.
    So someone can view all the lodges in a list and just tick the boxes for the ones they want to be a finalist, enter the rank of 1-10 for the top 10 ,and click update to update all the records.
    However, I am not sure which table it would be best to put these in. They're kind of related to the scores, but really apply to the lodges, i.e. any given lodge will be deemed to be a finalist in a particular category, and may be ranked in any category.
    At the moment I'm thinking I just need an extra table:
    finalists
    FinalistID (PK)
    Finalist (yes / no)
    Rank
    LodgeID (FK)
    CategoryID (FK)
    Hope that makes sense - any advice on this would be appreciated before I start down the wrong path.
    Thank you!

    I currently have the following tables:
    lodges
    LodgeID (PK)
    Lodge etc
    scores
    ScoreID (PK)
    Score
    CategoryID (FK)
    LodgeID (FK)
    (also used to calculate ScoreCount and AverageScore)
    categoriesFull
    CategoryID (PK)
    Category
    countries
    CountryID (PK)
    Country
    nominations
    NominationID (PK)
    LodgeID (FK)
    CategoriesFullID (FK) (--to categoriesFull.CategoryID)
    SW_finalist
    SW_rank
    So if I have the following:
    lodges
    LodgeID, Lodge
    798, Borana Lodge
    scores
    ScoreID, LodgeID, CategoryID, Score
    1001, 798, 7, 3 1002, 798, 7, 6 1003, 798, 7, 9
    categoriesFull
    CategoryID
    7
    countries
    CountryID
    3
    nominations
    NominationID, LodgeID, CategoryID, SW_finalist, SW_rank
    1234, 798, 7, Yes, 2
    I'd like to be able to output
    LodgeID, Lodge, CategoryID, CountryID, ScoreCount, AverageScore, NominationID, SW_finalist, SW_rank
    798, Borana Lodge, 7, 3, 3, 6, 1234, Yes, 2
    This is what I had before introducing the nominations table:
    SELECT ScoreID, COUNT(ScoreID) as scoreCount, AVG(Score) as AverageScore, lodges.LodgeID, Lodge, Country, lodges.CountryID, CategoryID, SW_finalist, SW_rank FROM lodges INNER JOIN countries ON lodges.CountryID = countries.CountryID INNER JOIN nominations ON lodges.LodgeID=nominations.LodgeID INNER JOIN scores ON lodges.LodgeID = scores.LodgeID WHERE lodges.CountryID = 3 AND CategoryID='7' GROUP BY Lodge
    Which seemed to work to output:
    LodgeID, Lodge, CategoryID, CountryID, ScoreCount, AverageScore 798, Borana Lodge, 7, 3, 3, 6
    I just need to tag on those three fields from the nominations table. I presume the join on nominations needs to be also be on categoriesFull.CategoryID, but when I try something like
    SELECT ScoreID, COUNT(ScoreID) as scoreCount, AVG(Score) as AverageScore, lodges.LodgeID, Lodge, Country, lodges.CountryID, CategoryID, SW_finalist, SW_rank FROM lodges INNER JOIN countries ON lodges.CountryID = countries.CountryID LEFT OUTER JOIN nominations ON lodges.LodgeID=nominations.LodgeID AND nominations.CategoriesFullID = categoriesFull.CategoryID INNER JOIN scores ON lodges.LodgeID = scores.LodgeID WHERE lodges.CountryID = 3 AND CategoryID='7' GROUP BY Lodge
    I get an error about categoriesFull.CategoryID being an unknown column.
    I think all the tables have the IDs they need, but any help with the right joins to get it to work would be much appreciated.
    Thank you.

  • Database structure for a 5 star ratings system

    This is something I've been asked to look at creating. At the moment the site has a database back end storing details of a few hundred holiday properties. So that part is already set up.
    So I'm familiar enough with databases etc, but less so the formulas and any additional database structure for any voting.
    It would be pretty simple, ie visitors could vote 1, 2, 3 4, or 5 stars for any property.
    There needs to be a total score recorded somewhere for each property.
    And the site needs to display the average score for that property.
    Any pointers on this much would be much appreciated.
    Thanks.

    Consider my wrist duly slapped.
    Yes, Google is an excellent resource, although in my experience for many things such as this a search will return 101 different ways of doing something, many of which will do, or explain, 80% of what you need.
    So sometimes posting on a forum is better for getting a recommendation from someone for a good tutorial on something.

  • Database Structure For Articles and Categories

    Hi - This is a question about database structure - please help. Thanks
    For a website with many subjects or themes is it best to use 1 big table to hold or the articles or many small tables to hold articles for different subjects - I will explain what I mean.
    Say my website has a 'cooking' section, a 'sports' section and a general 'blog' section.
    In each section the articles will be organized into different sub-categories but I can't see a way to do this.
    Case 1: All the articles are stored in 1 table. There is a second table which 'assigns' an article to a category (the cateogries themselves are stored in a separate table) and also assigns a sub-category (sub-categories stored in a separate table???) and then what if there needed to be a sub-sub-cateogry?? This just doesn't seem to work well!
    Case 2: For each theme there is a separate table - Cooking Table, Sports Table, Blog Table. And for each separate table there is a categories table Cooking-Categories which assigns each cooking article a sub-cateogry (and the sub-categories are stored in a separate table also) - and what if I needed to make a sub-sub-category - then would I need to make another table? This just sounds like a lot of tables even though the end result would probably be easier!
    Case 3: All categories are stored in 1 table - as well as all subcateogires of those categories as well as all sub-sub categories, etc (each with an ID)... Each article is 'assigned' a category ID
    Please someone show me the light! I am confusing myself.
    Thanks
    Chris

    There is no 'best' way of creating a database. It's more logic that is involved in examining the parameters that determine what DB will suit your current requirement. These parameters may include but aren't limited to:
    Latency
    Performance
    Sortability
    Accessibility
    Ease-of-use
    Scalability
    If I were you, for the said purpose, I'd create with 4 tables as follows:
    Categories - this will hold your main categoriesCatID, Name, Order ID
    Sub-CategotiesSubCatID, CatID (that the SubCat is linked to), Name, Order ID
    Sub-Sub CategoriesSubSubCatID, SubCatID, CatID, Name, Order Id
    ArticlesArticleID, SubSubCatID (can hold multiple Sub-Sub-categories) SubCatID (can hold multiple Sub-categories), CatID (can hold multiple Categotries), Name, Order ID, Article Title, Article Description, Article Thumbnail, URL Name, Metatags (for SEO, if you're looking at doing SEO)
    The CatID in Article Table will usually be an INT value with limited chars, the SubCatID and SubSubCatID in Article Table will ideally be a varchar value with about 200 chars so you could assign multiple SubCatIDs to one article.
    I'd like to add here that this is very much a debatable post. What suits me may not suit you and/ or the others who may read this post! But this way, I can accomplish my programming/ coding task/ CMS integration with ease-of-use.
    Good luck with your DB!
    ~ST

  • Database structure for Oracle to use with SMP 3.0

    Hi,
    We are planning to use Custom Database for SMP 3.0.
    Please help me with the Database Structure I need to create in Oracle DB instance to use with SMP 3.0.
    Additional Details:
    SMP Version: 3.0
    Service Pack Level: SP 03
    Server OS: Windows Server 2008 R2
    Database Version: Oracle 11.2

    Will this PDF be useful? at page # 33 as titled Oracle Database Preparation
    Regards,
    JK

  • Database structure changed. Mapping Crystal reports to new datasource

    There are several crystal reports that need to be remapped to a new database we have in place. The data structure has quite changed. I started using the 'Set datasource Location' option to map the new database fields to existing fields in the report. The problem shows up when trying to map fields from multiple tables to existing fields in the report from a single table. To elaborate, the old database structure has only one table used for a report and the new database structure has these same fileds coming from two different tables. The 'Set datasource Location'  option is leting me map the existing table used in the report to only one report. Is this how this functionality works or am I missing something. Please advise the best way to do this mapping.
    VJ

    hi VJ,
    when you're dealing with reports where the data source can change along with the number of tables or the table names or the field names etc. then this is a method that you can design with to avoid issues associated with datasource changes.
    you can also change existing reports to use this formula only method but of course there's a bit of work involved in changing reports vs. designing them like this from the ground up.
    -jamie

  • Database structure check

    Hello All,
    In the Live Cache alert monitor for a production system I am getting a red alert for the node "Database Structure Check" The message is "No data consistency check in the last three months"
    Can anyone please let me know if I can schedule the "Check database structure" from the DB Planning Calendar ( LC10 ) in the production system? Does it have any effect on the system performance?  If there is any prerequisite steps that need to done before running the "Check database structure" please let me know.
    The Live Cache version that is currently running is 7.6.02   BUILD 014-123-152-175.
    Thanks and Best Regards,
    Sanjay

    Hello Sanjay,
    you can use the TA DB13 or DB13C for planning the Check Data. But there are also other possibilities to do it. I think all you questions in the FAQ note to the Check Data procedure.
    Please try this link
    https://websmp230.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=940420&nlang=&smpsrv=
    If it doesn't work you can check the note 940420 directly.
    Best regards,
    Oksana Alekseious

  • Database structure : How to design the track system of a railway station

    Dear Oracle experts,
    I'm interested in your opinion about a database design problem.
    I want to design a database which describes e.g. the tracks of trains in
    a big railway station with many switches. What I always know is the position of every switch in my railway station.
    If I know all of the present switch-positions I know automatically where a train which is at a certain position would move.
    In my database I would like to store these pathways and search the pathway of train at a certain position and the present switch positions.
    One problem is that if one of the switches is at a position which leads to a pathway which would the train drive round the next switch the position of the next switch would be uninteresting. Since I have to search the table with my pathways with my set of switch positions I willl have to put datasets for all positions of the circumscribed switch
    into my table.
    Exampel :
    I have 3 switches. If switch 1 is at position 1 switch 2 is circumscribed and the train drives to switch 3. If switch 1 is on position 2 the train drives to switch 2. If switch 2 could have 10 positions then I would have to create datasets for all the 10 positions of switch 2 for all positions of switch 1 although these positions are not always interesting.
    To solve this problem I would like to describe some kind of search tree in my database structure. Does someone of you have an idea how to solve this problem ?
    Best ragards,
    Daniel

    Hirachical is interesting, but you pay a big performance/feature penalty by using it.
    If this is a real train station, then changes probably won't be done on the tracks for a long time, and if so, it's a rare event that your program may not need to be able to handle dynamically?
    If that, then your DB becomes simple ... have a table of tracks coming into the station, and another list of tracks going out. Maybe also "destination tracks" within your station.
    Then simply have a table that takes a source/destination pair of tracks, and then a column for each switch. The column holds the setting of the switch to provide the path between source and destination.
    Then you have a simple and fast query access. It's rather easy to turn the table for reporting if you want a more dynamic query access; but I guess your main need for the system is to ask "what do my switches need to be set at if a train needs to go from point A to point B". If so, a simple table layout as above is going to be your solution. And it's going to be fast and efficient.
    Only if you dynamically want to be able to design the track layout does this become a harder problem. But you could still use the same "construct":
    Table: Destination Pairs
    PairID Number
    FromTrack Number references tracks
    ToTrack Number references tracks
    Table: Switch settings
    SwitchID Number references Switches
    PairID number references Destination Pairs
    SwitchSetting number
    primary key: SwitchID, PairID
    Now your query is a join - but it's possible to simply list all the switch settings on a given pair. No need for hirachical queries.

  • Database structure to DTD.

    Hi,
    I am relatively new to XML,
    so forgive me if ny question sounds trivial.
    We are not in development of the
    a system which be based on the relational
    database and as a side project there should be some xml.
    The thing is that dtd should reflect exactly
    the database structure and I always should be able
    to write xml file to a relational database and back.
    Please understand me correctly, I can't just
    write entire xml file into the database,
    but rather I should be able to parse the xml file and
    put the information in a bunch of tables as ordinary
    number, char and varchar2 fields
    (Forgot to tell I am using Oracle8.0 ).
    Another thing is that the database structure may change
    and I want the dtd to follow this change.
    Is there any package ( freeware or not ) which would
    allow me to synchronze database structure with dtd
    and to write and read data to/from xml without
    need of rewriting the parsing code.
    Thank you very much!
    Michael Larionov.
    null

    Your questions are not trivial and are the subject of at least
    one W3C Working Group - XML Schema. This is in fact why there
    are really no solutions yet that I am aware of for what you are
    asking. DTDs are not extensible nor can they map directly to a
    database schema. Now our iFS solution may deliver most of what
    you are asking through its .typ file registration of a DTD to a
    schema. Check out
    http://www.oracle.com/database/options/ifs.html for more
    information.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    Michael Larionov (guest) wrote:
    : Hi,
    : I am relatively new to XML,
    : so forgive me if ny question sounds trivial.
    : We are not in development of the
    : a system which be based on the relational
    : database and as a side project there should be some xml.
    : The thing is that dtd should reflect exactly
    : the database structure and I always should be able
    : to write xml file to a relational database and back.
    : Please understand me correctly, I can't just
    : write entire xml file into the database,
    : but rather I should be able to parse the xml file and
    : put the information in a bunch of tables as ordinary
    : number, char and varchar2 fields
    : (Forgot to tell I am using Oracle8.0 ).
    : Another thing is that the database structure may change
    : and I want the dtd to follow this change.
    : Is there any package ( freeware or not ) which would
    : allow me to synchronze database structure with dtd
    : and to write and read data to/from xml without
    : need of rewriting the parsing code.
    : Thank you very much!
    : Michael Larionov.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Database Structure Q:

    I'm designing a web application that acts as business management software for many small autobody shops.  This method was chosen because it creates a central point of administration for the software and I believe that a properly configured cluster of services will meet performance requirements.  Using SQL Server 2k5 as my backend, I need to structure my DB(s) so that performance and size are kept to a minimum.
    That being said, the first problem I encounter is in creating a structure that supports multiple businesses, each with their own unique dataset.
    For example, each business will have work orders specific to their business.  This necessitates a uniqueness constrained by businessID (hereafter titled "BizID") and WorkOrderID (WoID).  The first solution I happened on was the simplest:  A composite primary key composed of BizID (int) and WoID (int).  The unfortunate consequence of this, as I soon realized, was that *every* table containing multiple business' data would need this composite key structure.  The second problem with this method is that there is no such thing (to my knowledge) as a composite identity.  I could identify WoID as the identity column, but it would not iterate WoID for BizID x properly if any other Biz added a work order to the table. (i.e. biz 1 adds three work orders (identitied 1, 2, 3), biz 2 adds one work order (would identity as 4) and Biz 1 adds another (would identity as 5), leaving us with 1, 2, 3, 4, 5 across two businesses, rather than 1, 2, 3, 4 for biz 1 and 1 for Biz 2)
    The second idea I considered was one DB per business.  I didn't consider that for very long, since I assumed size considerations would be blown out of the water if I had 50 business and 50 DBs.  I could be wrong, as I am decidedly a novice at this.  It does benefit from not putting all my eggs in one basket though and makes backup/recovery/troubleshooting much simpler.
    The third idea I considered was one table per business.  This suffers from the same issues as #2 above with not as many of the benefits.
    Both ideas 2 and 3 would need a master table relating logins to the DBs they belong to, which would not be hard to implement at all, but the implications of using this method are unknown to me.
    So quite obviously, I'm a novice at this.  Perhaps I took a project on that was too big for my britches, but just getting out of college puts me in a good place to take a risk and I will learn a great deal from putting a complex (is it so?) system like this into action.
    I appreciate any and all responses, thanks in advance for your replies!
    -Devin

    I don't seem to understand what you're using schemas for.  It seems to me that this is a security measure designed to assign users permissions to partitions of the database-space.  Correct me if I'm wrong, but a schema allows no more than the setting of permissions against DB objects.  It doesn't permit the naming of two tables identically, so I'm afraid I fail to see what you mean when you say all objects would be called the same...
    Schemas certainly help when it comes time to restrict data access for each business to only its data, if I use the one table to one business relationship, but I have to deal with a naming convention for the tables now.
    Business 1 (ID 1)            Business 2 (ID 2)
    tblWorkOrder1                  tblWorkOrder2
    Appending the ID # on the end of the table could work, but it seems clunky and inelegant for the problem I described.  Surely there has to be a better way (maybe schemas work, but after a few hours of reading up on them, I don't see what richbrownesq was attempting to impart to me).

Maybe you are looking for