Questions about Database roles

Hi, 
Need to setup a new (Windows) user which has varied access to tables, views and procedures in about 8 different schemas all in the same database. 
I've created a instance level login and then gone to the database to set the more granular details. 
First question.  Does this user need to own the schemas they will access? 
Secondly, I'm assumign the best bet would be to create a database role and then apply the privs against that? 
I need to give access to all stored procedures (and future procedures) in a couple of these schemas and none in the others.  Is it possible to grant execute on all procedures in a schema whist prohibiting others? 
Then I would assign the database role to the new instance login? 
Thanks 

In the database he has access to a number of schemas but I wish to explicitly exclude him from all views in those schemas and in addition to this all the sys catalogs, e.g
Also have no idea how to restrict access to the user created views without doing them all manually, but then what happens in the future if new views are added? They are not going to be explicitly denied. 
David nailed the problem.
There is no way to differentiate SELECT permission between Tables and Views. If they are all in the same schema and tables are allowed and views not.. out of luck and have to include the allowed object one by one (as opposed to denying the not allowed ones
with the risk of missing some in the future)
This is why database design should have security in mind from the very beginning and views, being a way to access (aka "access-schema") data in tables should ideally be placed in a separate schemas
Andreas Wolter (Blog |
Twitter)
MCM - Microsoft Certified Master SQL Server 2008
MCSM - Microsoft Certified Solutions Master Data Platform, SQL Server 2012
www.andreas-wolter.com |
www.SarpedonQualityLab.com

Similar Messages

  • Few basic questions about database administration

    Hello,
    I have a few basic questions about database administration.
    1. I switched one of my oracle instances to archivelog mode. I just cannot locate the archive log files on my windows system. The %ora_home%/ora92/database/archive directory is desperately empty...
    2.What is the tools01.dbf datafile used for?
    3.What is the undotbso1.dbf datafile used for?
    Thanks in advance,
    Julien.

    1. The archive log location needs to be specified in your init.ora file. By default, Oracle will place the archive files in either ORACLE_HOME/dbs or ORACLE_HOME/database.
    2. The tools01.dbf file belongs to the tools tablespace which should be set as the default tablespace for system. It primary purpose is to hold Oracle Forms and Reports database objects, however, it should also be used for holding other non sys database objects such as the perfstat (statspack) or other third party database schemas e.g. quests sqllab.
    3. undotbs01.dbf file belongs to the undo tablespace.

  • A question about CA Role Seperation

    Hello
    Can someone please help me with the following question regarding CA Role Separation (thanks in advance)
    I understand by default the 'Local Administrator' or 'Local Administrators Group' have certain high privileges on the CA itself.
    I understand enabling 'Role Separation' stops a security principle (e.g. user) being a member of more than one of the pre-defined CA Role Based Administration roles. For example if Role Separation is enabled you cannot have both Audit
    and Backup rights.
    If the above is correct, when you enable Role Separation does this also take away the default privileges the Local Administrator (and members of the Local Administrators Group) have on the CA?
    Or
    Does Role Separation simple stop the Local Administrator (or members of the Local Administrators Group) being assigned more than one of the CA Role Based roles (as above) but thereby still allow high privileges to the CA in any event.
    The reason I ask is by default I believe Domain Admins group is automatically made a members of the Local Administrators Group on Domain Joined computers (and thereby the CA Server).
    I do not want Domain Admins or Enterprise Admins having Rights to the CA (e.g. be able to perform CA tasks).
    Therefore do I need to perform 'extra' tasks over and about enabling Role Separation (e.g. restricting membership of the local administrators group) to achieve the security I want?
    Thanks All
    AAnotherUser__
    AAnotherUser__

    Hi,
    Based on your description, you don’t want Domain Admins or Enterprise Admins having rights to the CA, which cannot be achieved.
    That’s because members of local administrators group on a CA can disable role separation. Even if we remove the Domain Admins group from the local administrators group, Domain Admins still can add them back through Restricted Groups group policy.
    Here are some references below for you:
    Role Separation
    http://technet.microsoft.com/en-us/library/cc773161(v=WS.10).aspx
    Restricted Groups Policy Settings
    http://technet.microsoft.com/en-us/library/cc756802(v=WS.10).aspx
    Best Regards,
    Amy

  • A question about database schema when creating JClient Form

    Sir,
    I created a JClient Form application using the wizard, in which a JCLoginDialog was generated. Then I modified the JCLoginDialog.java file so that it works with JDBC instead of with the OracleAS JAAS Provider. My name is the database schama name, and I created the form using my name.
    When I log in using my name, It is fine. But when my colleague log in using her name, it is failed. The error message said that the table is not found. My colleague has access of the related database table through a database role.
    I think it is the schema problem when I create the model project. I do not know how to add the schema name before the table name, such as stephen.mytable .
    Please help me. Thanks
    Stephen

    I have solve the problem. That was a mistake I made.
    Stephen

  • Question about Database Access

    Hello,
    I have one question regarding database access from Java.
    What are the other ways of connecting to database other than JDBC? This was one of the question I been asked by the interviewer. He says JDBC connection can slow down the perfomance when it comes large number of transactions?
    Any insight or help will be very useful.
    Thanks

    He may have been referring to available "persistance managers" like Hibernate or the mechanisms build into EJB containers. However, as far as I know, they all use JDBC, and any speed-up is due to caching of data as objects.

  • Questions about database application tables connector

    Hi all,
    I need to manage with OIM several databases (each one with its custom tables).
    Also, one of them will be my trusted target on the initial load of users. The structure of our tables is not similar to the included in the example.
    The documentation explains how the OraAppX.xml could be modified but it doesn't speak about relations with "DBTable_nonTrusted.xml" and/or "DBTable_trusted.xml" For example, if I don't have a column called USR_COMM_LANG, could I replace this column name for another that I have in my database ? And what about the references on the "DBTable_nonTrusted.xml" file. Connector doc doesn't explain how references to that field (USR_COMM_LANG---xel_usr_comm_lang) are managed by the connector and if the normal working of the connector could be affected if the name of a variable is changed in the xml conf file.
    It could be that adapters of this connector were hardcoded with the referece to xel_usr_comm_lang (???) .
    The connector documentation includes a section titled "Adding Custom Database Columns for Provisioning and Reconciliation". The first impression reading this document is that it is possible to extend the predefined table rather than create and define a new structure of table.
    Has anyone rebuilt the "DBTable_nonTrusted.xml", "DBTable_trusted.xml" and "OraAppX.xml" files changing all default variables in order to manage a customized table? .
    Many thanks in advance,
    Claudia

    Hi Claudia,
    1) Yes, you must replace the column names in the "column" tag on your XML file for the column names that you have in your database tables. Also, remember that you need to configure the other parameters (like data_type, data_typ_size, etc) according to your database table.
    2) The "xel_data_source" parameter is the attribute name that will be recognized by the OIM and they can be mapped to a form field (UD_DBAPP_XXXX) in your process definition in OIM Design Console.
    3) You can customize your Database Application Tables connector for provisioning as you wish, but some issues exists. In the Known Issues section of the documentation you can see that this connector doesn't work for more than two tables.
    4) To customize your Database Application Tables for Trusted Recon, there are other restrictions because OIM users have some required fields that must be filled to create a user successfully.
    Hope that helps, and please let me know if you have more questions.
    Regards.

  • Question about Databases on a distributed environment...

    Hi,
    I have quick question. We have production in a distributed environment as follows
    (a) SQL server, EPMA, and Calc Manager
    (b) Workspace, and Shared Services
    (c) Essbase
    (d) Planning
    Now we have multiple databases for each hyperion service i.e.
    (1) HSS (using for hyperion shared service)
    (2) BIPLUS (Using for workspace)
    (3) AAS (Using for Essbase Administrator Services)
    (4) CALCMGR (Using for calculation manager)
    (5) EPMA (Using for EPMA)
    (6) ERPI (Using for ERP Integrator)
    (7) PLANSYS (Using for Planning)
    Now, my question is ....is it necessary that we have that multiple database in a distributed environment or we can have one database for everything? What is main objective for creating databases for each application?
    Please share your best knowledge and give me positive and negative about multiple database and single database for hyperion...
    Thanks to all...
    Safi

    I am going to be lazy and copy an extract from the install doc
    For simplicity and ease of deployment, you can use one database repository for all products (with the exceptions noted below). When you configure multiple products at one time using EPM System Configurator, one database is configured for all selected products.
    Caution!
    To use a different database for each product, perform the “Configure Database” task separately for each product. In some cases you might want to configure separate databases for products. Consider performance, rollback procedures for a single application or product, and disaster recovery plans.
    The following products and product components require unique databases:
    Performance Management Architect interface data source
    Extended Analytics for Financial Management and Extended Analytics for Strategic Finance
    Planning – Each Planning application should have its own repository.
    Performance Scorecard
    FDM – Use an Oracle Database instance exclusively for FDM.
    Data Relationship Management.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • [IPCC Express] Questions about database fields

    Hello,
    I'm developing some reports for Cisco IPCC Express.
    During the development, a lot of questions came out related to the definition of some fields:
    - In ContactCallDetail, what is the difference between transfer and redirect a call?
    - In ContactCallDetail, what is the difference between transfer = 1 and contactType=5? Both are related to transfering a call.
    I'll appreciate any help you can give me.
    Best Regards,
    Filipe Cruz - Portugal

    Where i can get that Enterprise Edition ?<br>
    here (click)<br>
    <br>
    does Express edition has Web based EM ?<br>Read the doc about Express Edition : Oracle Database 10g Express Edition<br>
    <br>
    Nicolas.

  • General Questions about Oracle Roles/Privileges

    Hi,
    I have a few questions I'm hoping to get clarification on:
    1 - Is there a view similar to DBA_SYS_PRIVS/DBA_TAB_PRIVS that shows which system privileges have been assigned to users/accounts ONLY, filtering out roles? If not, how would one go about obtaining this list?
    2 - Is there a view similar to DBA_ROLE_PRIVS that shows also just shows which users have been assigned to which roles ONLY, again filtering out roles? If not, how would one go about obtaining this list? I assume some type of recursion has to be done here to flatten out the roles.
    My end goal is this:
    - List of all users and directly assigned system privileges only
    - List of all users and directly assigned table/object privileges only
    - List of all users and all roles (if role X contains role Y, this list should show user has role X and Y)
    Many thanks!

    1 - Is there a view similar to DBA_SYS_PRIVS/DBA_TAB_PRIVS that shows which system privileges have been assigned to users/accounts ONLY, filtering out roles? If not, how would one go about obtaining this list?
    it's simple:
    select grantee, privilege from dba_sys_privs where grantee in (select username from dba_users);
    select grantee, owner, table_name, privilege from dba_tab_privs where grantee in (select username from dba_users);
    2 - Is there a view similar to DBA_ROLE_PRIVS that shows also just shows which users have been assigned to which roles ONLY, again filtering out roles? If not, how would one go about obtaining this list? I assume some type of recursion has to be done here to flatten out the roles.
    select grantee, granted_role from dba_role_privs where grantee in (select username from dba_users);
    select grantee, granted_role from dba_role_privs where grantee in (select role from dba_roles);Hope this helps...

  • Question about databases in dreamweaver cs6

    Hi all,
    I need to clarify that I am very new to phpmyadmin, mysql, and databases. This is what i am stucked with.
    Currently, I have one table (book) which contains these attributes (ISBN(primary key), title, author, publisher, price etc) in my database (book)
    I have the other table (users) which contains these attributes (username (primary key), password, name, DOB etc) in my database (user)
    Let me explain the series of steps first. An user logs in on the log in page successfully, and he will be directed to the main page, then he will type or select his search terms, then the results page will display the relevant results in the master list, then he will select the specific result to go to the detailed page containing more information.
    What I want now is to create a reservation page. If the user likes the specific book in the detailed page, he can click reserve it, and will be directed to the reservation page.
    I intend to have these search textfields: Username, Title, Price, Number of orders.
    How can I let the username textfield to be automatically filled as the user has logged in at the login page initially. Also, how can I let the title and price textfield to be automatically filled, as the user has clicked reserve it at the specific detailed page? I intend that the user just key in number of orders and press submit button. My 3rd database (reservation) will capture the info of username, title, price, and number of orders. Do i use insert record or update record?
    Do i create a relational table in phpmyadmin by linking it with the keys from tables (book and users)? Will this be a many to many relationship? I intend my third table to have these attributes (reservation no (primary key), username, title, price, no, of orders and date of collection?
    Moreover, how do I auto generate the date of collection (for e.g. it will be 5 days after the point of time when the user click the submit button) in my third table ?
    Thanks!

    IVYY wrote:
    But I still have a last question.
    Now I have my Title, Price, Full Name, Email textfields all auto filled by session variables, I also have a no. of orders for the users to enter and press submit. So I only have Title, price, full name, email and no. of orders textfield in my reservation page.
    My third table intends to have these attributes: Reservation Numner, Title, Price, Full Name, Email, and Date of Collection. My reservation page doesnt have the reservation and date of collection textfields. I intend to pull out these 2 data after the user press submit.
    May I know what is my primary key for now? Do I use update or insert record? Correct my attributes or textfields if I am wrong. How do I go about doing this now?
    I'm not quite following;
    So now you have Title, Price, Full Name and Email values which you can get from the Reservations page form. What are you intending to do with it? Insert that into a table in your database?
    Also what are you planning to do with the Reservation Number and Date of Collection?
    As previously mentioned you can add the Collection Date to the reservations page if you want and pass it along with the rest of the data via a hidden from field if you need to.
    <?php
    $collectionDate = date('d-m-Y', strtotime("+5 days"));
    ?>
    Just add value="<?php echo $collectionDate; ?>" to the hidden form field.

  • Questions About Database Recovery (-30975)

    Hello,
    In Berkeley 4.5.20, we are seeing the following error sporadically, but more frequently than we'd like (which is, to say, not at all): "BerkeleyDbErrno=-30975 - DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery"
    This exception is being thrown mostly, if not exclusively, during the environment open call. Still investigating.
    I will post my environment below, but first some questions.
    1. How often should a database become become corrupt?
    2. What are the causes of this corruption? Can they be caused by "chance?" (I.e. app is properly coded.) Can they be caused by improper coding? If so, is there a list of common things to check?
    3. Does Oracle expect application developers to create their own recovery handlers, especially for apps that require 100% uptime? E.g. using DB_ENV->set_event_notify or filtering on DB_RUNRECOVERY.
    Our environment:
    Windows Server 2003 SP2
    Berkeley DB 4.5.20
    set_verbose(DB_VERB_WAITSFOR, 1);
    set_cachesize(0, 65536 * 1024, 1);
    set_lg_max(10000000);
    set_lk_detect(DB_LOCK_YOUNGEST);
    set_timeout(60000000, DB_SET_LOCK_TIMEOUT);
    set_timeout(60000000, DB_SET_TXN_TIMEOUT);
    set_tx_max(100000);
    set_flags(DB_TXN_NOSYNC, 1);
    set_flags(DB_LOG_AUTOREMOVE, 1);
    set_lk_max_lockers(10000);
    set_lk_max_locks(10000);
    set_lk_max_objects(10000);
    open(sPath, DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_MPOOL | DB_THREAD | DB_INIT_TXN | DB_RECOVER, 0);
    set_pagesize     (4096);
    u_int32_t dbOpenFlags = DB_CREATE | DB_AUTO_COMMIT;
    pDbPrimary->open(NULL, strFile, NULL, DB_HASH, dbOpenFlags, 0);
    We also have a number of secondary databases.
    One additional piece of information that might be relevant is that the databases where this happens (we have 8 in total managed by our process,) seem to be the two specific databases that at times aren't opened until well after the process is up and running due to the nature of their data. This is to say that 6 of the other databases are normally opened during startup of our service. We are still investigating this to see if this is consistently true.

    Here is the output from the error logs (we didn't have this properly set up until now) when this error opening the environment happens:
    12/17/2007 17:18:12 (e64/518) 1024: Berkeley Error: CDbBerkeley MapViewOfFile: Not enough storage is available to process this command.
    12/17/2007 17:18:12 (e64/518) 1024: Berkeley Error: CDbBerkeley PANIC: Not enough space
    12/17/2007 17:18:12 (e64/518) 1024: Berkeley Error: CDbBerkeley DeleteFile: C:\xxxxxxxx\Database\xxxJOB_OAT\__db.003: Access is denied.
    12/17/2007 17:18:12 (e64/518) 1024: Berkeley Error: CDbBerkeley MapViewOfFile: Not enough storage is available to process this command.
    12/17/2007 17:18:12 (e64/518) 1024: Berkeley Error: CDbBerkeley PANIC: Not enough space
    12/17/2007 17:18:12 (e64/518) 1024: Berkeley Error: CDbBerkeley PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
    12/17/2007 17:18:30 (e64/518) 1024: Berkeley Error: CDbBerkeley unable to join the environment
    12/17/2007 17:18:30 (e64/518) 1024: Berkeley Error: CDbBerkeley DeleteFile: C:\xxxxxxxx\Database\xxxJOB_OAT\__db.003.del.0547204268: Access is denied.
    12/17/2007 17:18:30 (e64/518) 1024: Berkeley Error: CDbBerkeley DeleteFile: C:\xxxxxxxx\Database\xxxJOB_OAT\__db.003: Access is denied.
    12/17/2007 17:19:18 (e64/518) 1024: Database EInitialize failed. (C:\xxxxxxxx\Database\xxxJOB_OAT: BerkeleyDbErrno=-30975 - DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery)
    The last line is generated by a DbException and was all we were seeing up until now.
    I also set_verbose(DB_VERB_RECOVERY, 1) and set_msgcall to the same log file. We get verbose messages on the 1st 7 database files that open successfully, but none from the last one, I assume because they output to set_errcall instead.
    There is 67GB of free space on this disk by the way, so not sure what "Not enough space" means.
    Thanks again for your help.

  • Questions about database access in WCS 7.x version

    Hello,
    In WCS version 7.x, events from controllers are stored in database. The limits for these events are 7 days and 40000 events. Does anyone know where  we could change these limits?
    In the other hand, we can´t access to database because we don´t know user and password to access database. Can anyone pass me default credentials for database?
    What is the procedure to change database password in WCS version 7.x?
    Thnaks in advance.

    Don't know about username and password for the database, but this might help:
    http://www.cisco.com/en/US/products/ps6305/products_qanda_item09186a00807a60f0.shtml
    Q. How many alarms are kept in the WCS when are they cleared, and what is the average size of each alarm?
    A. The WCS keeps the last 40,000 events in the system and clears them up after seven days. An event or alarm can have 1000 bytes on average.
    A. Under the <WCS_INSTAL_DIR>/webnms/conf folder, there is a file called NmsProcessesBE.conf. Within this file, the user needs to modify the parameter CLEAN_EVENT_INTERVAL (default value is seven days) and the parameter EVENT_WINDOW_SIZE (default value is 40,000). The server needs to be stopped and restarted after the user makes the modifications.

  • Newbie questions about Database replication, "backups", and sql version

    Just created my first Sql Database using the "SQL Database Management Portal". A blast but three questions come to mind:
    1. Is this DB automatically
    "replicated"? (In other words,  is DB "failover" or clustering,  a feature of all newly created Azure databases?) 
    2. Our on-premise model is to make a daily DB backup which is saved to a nightly tape. If needed, we can restore a two-month old database backup under a new name to compare it with the current one. Does Sql Azure support this capability
    or not? Can it be requested?
    3.  Which on-premise version of sql is "Sql Azure" closest to? (2014?)
    TIA,
    edm2
    P.S. My database was created using the "web" edition.

    Hi edm,
    According to your description, you create a SQL Azure database in Azure platform. The replication feature is not supported by Microsoft Azure SQL database. If you want to sync the SQL Azure database and local database, you can use SQL Azure Data Sync service.
    For more information, see:
    http://blogs.technet.com/b/the_cloud_pilot/archive/2011/10/24/your-first-sql-azure-data-sync-step-by-step.aspx
    In addition, if you have Web or Business Edition databases, you must create your own backup strategy. You can use database copy or Import and Export services to create copies of the data and export the file to an Microsoft Azure storage account. Meanwile,
    Windows Azure SQL Database provides a mechanism for automating the process for exporting a database to BACPAC files on a set interval and frequency. For more information, see:
    Schedule an Automated Export:
    http://msdn.microsoft.com/en-us/library/hh335292.aspx#automate
    Windows Azure SQL Database Backup and Restore strategy:
    http://www.mssqltips.com/sqlservertip/3057/windows-azure-sql-database-backup-and-restore-strategy/
    Currently, Azure uses a special version of Microsoft SQL Server as its backend. It provides high availability by storing multiple copies of databases, elastic scale and rapid provisioning, when we check the version of SQL Server, it shows as follows.
    Microsoft SQL Azure (RTM) - 11.0.9216.62
    Regards,
    Sofiya Li
    If you have any feedback on our support, please click
    here.
    Sofiya Li
    TechNet Community Support

  • Questions about database pooling....

    Hi everyone, I'm not new to java programming but I am looking to polish up my skills. I have read sooo many articles and am still confused so please be patient with me. Java has a way of adding new acronyms everytime I turn around - its very hard to keep up with...
    I am using Netbeans 5 with Tomcat 5.5.9 bundled.
    I am connecting to a postgresql database (version 8.1).
    I would like to implement some type of jdbc connection pooling. Everything I have read, even on the tomcat website is confusing and seems to be a "best effort" type of situation - none gauranteeing correctness or reliability or replicability between what others may experience and what I might.
    I looked into a pure java solution such as DbConnectionBroker but I get confused as to how this "pooling" is effected by servlet lifecycles. I have read and read and still do not understand the necessary concepts.
    If I have a login servlet that makes a single query to the database, how long does that instance of the servlet stay loaded into memory? If it is dropped out of memory right away it seems there is no benefit of using the connectionBroker? (since each time someone visits the login servlet it would have to recreate the login servlet and broker object??)
    Is the broker object kept in memory somewhere with connections open after the servlet stops executing? How can other servlets access that same broker object without creating a new one of their own??
    I guess it comes down to really not understanding the persistence of how things are loaded and kept in memory. If this is a question for the Tomcat people I do apologize :/ It just seems these forums are by far and away the best place for any type of java help :)

    A servlet has nothing to do with it.
    A servlet uses a pooled instance. It is the pooled instance, not the servlet which is cached. At least in terms of discussing db connection pools.
    A cache means that it remains in memory. If the cache isn't kept in memory then keeping a cache is pointless.
    I guess it comes down to really not understanding
    the persistence of how things are loaded and kept in memory.More of a basic java question than anything else.
    The GC will collect reference which are no longer active sometime after they become not active. Thus a local reference can be collected after the method exits. But a static will not be collected until the class is (not instances of the class, but the class itself.) That won't happen until the class loader that loaded the class is collected.

  • Question about database structure - best practice

    I want to create, display, and maintain a data table of loan
    rates. These
    rates will be for two loan categories - Conforming and Jumbo.
    They will be
    for two loan terms - 15year and 30year. Within each term,
    there will be a
    display of -
    points (0, 1, 3) - rate - APR
    For example -
    CONFORMING
    30 year
    POINTS RATE APR
    0 6.375 6.6
    1 6.125 6.24
    3 6.0 6.12
    My first question is -
    Would it be better to set up the database with 5 fields
    (category, term,
    points, rate, apr), or 13 fields (category, 30_zeropointRate,
    30_onepointRate, 30_threepointRate, 30_zeropointAPR,
    30_onepointAPR,
    30_threepointAPR, 15_zeropointRate, 15_onepointRate,
    15_threepointRate,
    15_zeropointAPR, 15_onepointAPR, 15_threepointAPR)?
    The latter option would mean that my table would only contain
    two records -
    one for each of the two categories. It seems simpler to
    manage in that
    regard.
    Any thoughts, suggestions, recommendations?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================

    Thanks, Pat. I'm pretty sure that this is a dead-end
    expansion. The site
    itself will surely expand, but I think this particular need
    will be
    informational only....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Pat Shaw" <[email protected]> wrote in message
    news:[email protected]...
    > But if the site ever wants to expand on it's
    functionality etc. it can be
    > very difficult to get round a de-normalised database.
    You can find that
    > you have tied yourself in knots and the only solution is
    to go back and
    > redesign the database which often includes major
    redesigning of the
    > fron-end too.
    >
    > If you are confident that this will not be the case then
    go with your
    > initial thoughts but don't be too lenient just in case.
    Leave yorself a
    > little scope. I always aim for 3rd normal form as this
    guarantees a robust
    > database design without being OTT.
    >
    > Pat.
    >
    >
    > "Joris van Lier" <[email protected]> wrote in
    message
    > news:[email protected]...
    >>
    >>
    >> "Murray *ACE*"
    <[email protected]> wrote in message
    >> news:[email protected]...
    >>> I want to create, display, and maintain a data
    table of loan rates.
    >>> These rates will be for two loan categories -
    Conforming and Jumbo.
    >>> They will be for two loan terms - 15year and
    30year. Within each term,
    >>> there will be a display of -
    >>>
    >>> points (0, 1, 3) - rate - APR
    >>>
    >>> For example -
    >>>
    >>> CONFORMING
    >>> 30 year
    >>> POINTS RATE APR
    >>> ----------- --------- ------
    >>> 0 6.375 6.6
    >>> 1 6.125 6.24
    >>> 3 6.0 6.12
    >>>
    >>> My first question is -
    >>>
    >>> Would it be better to set up the database with 5
    fields (category, term,
    >>> points, rate, apr), or 13 fields (category,
    30_zeropointRate,
    >>> 30_onepointRate, 30_threepointRate,
    30_zeropointAPR, 30_onepointAPR,
    >>> 30_threepointAPR, 15_zeropointRate,
    15_onepointRate, 15_threepointRate,
    >>> 15_zeropointAPR, 15_onepointAPR,
    15_threepointAPR)?
    >>>
    >>> The latter option would mean that my table would
    only contain two
    >>> records - one for each of the two categories. It
    seems simpler to
    >>> manage in that regard.
    >>>
    >>> Any thoughts, suggestions, recommendations?
    >>
    >> In my opinion, normalizing is not necessary with
    small sites, for example
    >> the uber-normalized database design I did for the
    telcost compare matrix
    >> (
    http://www.artronics.nl/telcostmatrix/matrix.php
    ) proved to be totally
    >> overkill.
    >>
    >> Joris
    >
    >

Maybe you are looking for

  • How to get a rollover in 1 spot to show in another?

    Hello guys, I haven't used dreamweaver since 2001 and even back then I wasn't that great at it. I used joomla to build my church webiste, but I had a photoshop person make a index page for me and the concept it because the church has 3 locations, at

  • BIS Contact/Calendar Sync Broken and Unreliable

    I'm a Google Apps reseller in Canada.  Recently, making Blackberrys play nice using BIS has been an absolute horror story.  A quick breakdown of the recent history of the Blackberry: -Originally, did not support any sync of contacts and calendars nat

  • Bounced songs appear to have proper format but have no sound

    What am I doing wrong? Is all I have to do to bounce a song - file/bounce? So far none of my bounces have any sound. They all appear to play normally but we can't hear anything. Does any one have any ideas?

  • How to access frame labels in a SWF loader?

    I have a swfloader, which has a swf file embedded.  It loads and plays, and stops at the frame in the swf where I have a stop(). In one of my app's functions, I need to send the playhead in the swf to another frame labe, but I seem to have forgotten

  • Can't get my pic what to do?

    your program does not let me in i need help and i don't want to loose my pic