Search results

  1. ButtonMoon

    How to have 2 AutoNumber Fields in One Table

    Wazniw, I have to agree with Robert that it is a common enough requirement to need to assign more than one kind of identifier to things in a database table. Nothing illogical in that and it certainly is not the case that relational databases don't allow it. If your DBMS supports it then...
  2. ButtonMoon

    Tables not sorting by primary key after conversion to Azure SQL

    You just need to put ORDER BY in your queries. There is no "default" sort order and the only way to be sure is to specify the columns in the ORDER BY clause. If you don't then SQL Server attempts to choose the fastest access path to satisfy the unordered query. That may mean the data is...
  3. ButtonMoon

    One-to-one table relationships? Curse or Cure?

    What most people call "one to one" very often means "one to zero or one". In other words one side of the relationship is optional. This is sometimes called Z-cardinality and is different from strict "one-to-one". Strict one-to-one relationships between two tables in most cases tend to be...
  4. ButtonMoon

    To Null, or Not to Null

    It's usually good practice to avoid or minimise the use of nulls. Nulls cause some queries to return results that are "incorrect" (i.e. the results won't correspond with the intended meaning of the database). Unfortunately SQL and SQL-style databases can make nulls difficult, though not...
  5. ButtonMoon

    Design/normalisation

    No one can say for sure what is normalized or not because you haven't specified the dependencies you are supposed to be modelling. All we can do is make some guesses and assumptions based on attribute names. I expect this is homework so the important thing is that you know and can justify your...
  6. ButtonMoon

    Systemic Database Design Issues

    The biggest general problem is the one you are describing as "data entry control" - which fundamentally means inadequate implementation of business rules. More specifically: lack of data integrity constraints; weak typing; use of nulls. Such problems are a legacy of SQL and its implementations...
  7. ButtonMoon

    PLS HELP! every year run out of space.. data only (3 tables) = 2gb

    How about upsizing the database to SQL Server Express. 10GB is the limit there and if you need more you can consider upgrading to SQL Server Standard.
  8. ButtonMoon

    Deploying Access over a Network (How To)

    Dave, do you mean Build it first in Jet/ACE. Upgrade to SQL Server later ? I know people have suggested that before but I think it's bad advice for lots of reasons. Even at best it involves more work overall: creating two versions of the database instead of one. Very likely it may require a lot...
  9. ButtonMoon

    How to re-create the AutoNumber column with values assigned?

    I think it's a poor analogy because serial numbers would be a natural key for dollar bills and they are as far as I know the only way to identify bills, which is exactly what autonumber columns ought not to be. Your example money queries are all about counting and aggregation, which misses the...
  10. ButtonMoon

    Deploying Access over a Network (How To)

    There is no such set of minimum permissions. A Jet/ACE database is and must be an open book as far as users are concerned because every user must be granted either read-only or read/write access to the database file itself. Is there a reason why you didn't or can't implement the database in SQL...
  11. ButtonMoon

    User Level Security in Access 2007

    Creating your own "role-based security" by hiding data behind forms and other application-level code is a very, very dubious practice. It's really a form of "security theatre" - a way of deceiving legitimate users into thinking their data is subject to a level of security which in reality isn't...
  12. ButtonMoon

    DB Consistantly Corrupting

    Maybe you don't have to wait. You could start development on your own workstation (using SQL Developer Edition or Express). In some development teams the developers work on individual workstations and only deploy to the shared development server when they are ready to check in. That's a method...
  13. ButtonMoon

    DB Consistantly Corrupting

    True, and that alone is a good enough reason not to even consider using Jet/ACE for a system with 200 users. Larnu, what is your backup and recovery strategy? For the sake of argument, suppose you backed up such a database twice a day. In a crash you would be faced with losing up to 100...
  14. ButtonMoon

    relationship linking row and coloumn in a table

    20 points I guess would mean you need up to 760 rows. That's a very small table, not a long one. If updates need to be by human beings then you could make your user interface a grid like the one you originally posted. User interface design doesn't have to look the same as table design.
  15. ButtonMoon

    Prevent duplicate records from a form

    Enforcing the key in the database is more important. Put a uniqueness constraint (AKA key constraint / "unique index") on RA_PO_Nbr if there isn't one already. Don't rely only on procedural code in your forms to keep out duplicates - it won't.
  16. ButtonMoon

    relationship linking row and coloumn in a table

    I suggest you structure your table something like this: From To Fuel ---- ---- ---- A B 10 A C 15 B A 5 B C 5 C A 10 C B 5
  17. ButtonMoon

    Merging Contacts

    De-duplicating and merging contacts has some complexities but there is lots of software and some common techniques to help you do it (Google for terms like fuzzy matching, householding and contact list de-duplication). Obviously you need to decide when and how it's appropriate to apply such...
  18. ButtonMoon

    Prevent Duplicate Records

    Add a uniqueness constraint to your table. Data integrity belongs in the database, not just in forms. ALTER TABLE tbl ADD CONSTRAINT AK1_tbl UNIQUE (col1, col2, col3); Are you sure you really want to enforce uniqueness of names? Duplicate names are very common.
  19. ButtonMoon

    Recommended Systems ???

    They are called "Recommendation Systems" or "Recommender Systems". A search of an academic index like CiteSeer or the ACM digital library will find thousands of references for you. Here's one: http://infolab.stanford.edu/~ullman/mmds/ch9.pdf
Back
Top Bottom