data-integrity Questions
1
Solved
In Oracle deferred constraints are checked only at the point of commit.
What is the meaning of DEFERRABLE clause in a case of NOT NULL constraint?
For example
create table test(a number not null ...
Jenjena asked 14/1, 2011 at 10:11
1
Solved
What is the most suitable hash function for file integrity checking (checksums) to detect corruption?
I need to consider the following:
Wide range of file size (1 kb to 10GB+)
Lots of different f...
Clamber asked 26/10, 2010 at 8:45
2
Solved
I just learned, to my amazement, that foreign key constraints can be non-trusted. This occurs when a constraint is added using WITH NOCHECK. When a constraint is non-trusted, it isn't used by the q...
Iveson asked 28/9, 2010 at 14:21
10
Solved
When I was learning in university, they taught us the database fundamentals, basics and rules,
and one of the most important rules is the constraints (primary key, foreign key), and how to make 1-m...
Regimen asked 13/9, 2010 at 13:37
3
Solved
I often have call hierarchies in that all methods need the same parameters. If I dont't want to put them on the instance level (member of the class) then I ask me always if its meaningfull to check...
Torbert asked 14/7, 2010 at 10:30
10
Solved
My development team of four people has been facing this issue for some time now:
Sometimes we need to be working off the same set of data. So while we develop on our local computers, the dev datab...
Berty asked 28/6, 2010 at 15:14
3
Solved
I have several files with code testing code (which uses a "unittest" class).
Later I found it would be nice to test database integrity also. I put this into a separate directory tree. (Things like...
Aer asked 25/4, 2010 at 8:0
9
Solved
I was trying out the validity of private access specifier in C++. Here goes:
Interface:
// class_A.h
class A
{
public:
void printX();
private:
void actualPrintX();
int x;
};
Implementation:...
Aldric asked 16/2, 2010 at 13:16
3
Solved
I open the database file and obtain a database connection using open() method of sqlite3 and the connection will not be closed until program exits. If there occurs an unexpected error such as compu...
Bultman asked 21/9, 2009 at 3:37
10
Solved
In C++, what alternatives do I have for exposing a collection, from the point of view of performance and data integrity?
My problem is that I want to return an internal list of data to the caller,...
Circum asked 4/9, 2008 at 20:22
38
I remember hearing Joel Spolsky mention in podcast 014 that he'd barely ever used a foreign key (if I remember correctly). However, to me they seem pretty vital to avoid duplication and subsequent ...
Breault asked 17/9, 2008 at 13:25
© 2022 - 2024 — McMap. All rights reserved.