Click here to Skip to main content
15,887,267 members
Home / Discussions / Database
   

Database

 
AnswerRe: Oracle SQL Developer Pin
Michael Potter10-Jul-12 11:56
Michael Potter10-Jul-12 11:56 
AnswerRe: Oracle SQL Developer Pin
David Mujica11-Jul-12 2:39
David Mujica11-Jul-12 2:39 
GeneralRe: Oracle SQL Developer Pin
vanikanc11-Jul-12 3:01
vanikanc11-Jul-12 3:01 
GeneralRe: Oracle SQL Developer Pin
David Mujica11-Jul-12 3:09
David Mujica11-Jul-12 3:09 
GeneralIntroduce integerity in the database Pin
sharp_k9-Jul-12 4:08
sharp_k9-Jul-12 4:08 
GeneralRe: Introduce integerity in the database Pin
Wayne Gaylard9-Jul-12 4:24
professionalWayne Gaylard9-Jul-12 4:24 
GeneralRe: Introduce integerity in the database Pin
sharp_k9-Jul-12 4:47
sharp_k9-Jul-12 4:47 
GeneralRe: Introduce integerity in the database Pin
jschell9-Jul-12 12:26
jschell9-Jul-12 12:26 
sharp_k wrote:
But in my situation, I can not make a combination of columns unique.


The table represents a "customer". There are going to be columns in there, not all 80, which defines what a unique "customer" is.

You CANNOT procede until you determine which columns make it unique.

If there a few columns then you can add a uniqueness constraint.

But lets say you have a 'lot' of columns, like 50 columns, then you are probably out of luck for easy solutions because it is unlikely that you can add a uniqueness constraint for that many columns.

In that case you would need to wrap ALL access to table in a proc. The proc would verify, via a query, that no other record existed with those 50 columns before the insert. Views can often help with this.

You also need to consider exactly how those records get added. Because now the system is going to start producing errors where it didn't produce errors before.

Additionally if you have a 'lot' of columns which make it unique then for something called a "customer" I would think that there is a design problem.
AnswerRe: Introduce integerity in the database Pin
Jörgen Andersson9-Jul-12 19:52
professionalJörgen Andersson9-Jul-12 19:52 
GeneralRe: Introduce integerity in the database Pin
R. Giskard Reventlov9-Jul-12 5:17
R. Giskard Reventlov9-Jul-12 5:17 
QuestionRe: Introduce integerity in the database Pin
Eddy Vluggen9-Jul-12 12:52
professionalEddy Vluggen9-Jul-12 12:52 
AnswerRe: Introduce integerity in the database Pin
R. Giskard Reventlov10-Jul-12 12:05
R. Giskard Reventlov10-Jul-12 12:05 
GeneralRe: Introduce integerity in the database Pin
PIEBALDconsult9-Jul-12 10:54
mvePIEBALDconsult9-Jul-12 10:54 
AnswerRe: Introduce integerity in the database Pin
Eddy Vluggen9-Jul-12 12:51
professionalEddy Vluggen9-Jul-12 12:51 
Questionwhy (Object reference not set to an instance of an object)?! Pin
Jassim Rahma8-Jul-12 21:48
Jassim Rahma8-Jul-12 21:48 
AnswerRe: why (Object reference not set to an instance of an object)?! Pin
Simon_Whale9-Jul-12 4:24
Simon_Whale9-Jul-12 4:24 
AnswerRe: why (Object reference not set to an instance of an object)?! Pin
Luc Pattyn9-Jul-12 13:06
sitebuilderLuc Pattyn9-Jul-12 13:06 
Questionupdate table structures from another server Pin
Jassim Rahma8-Jul-12 20:37
Jassim Rahma8-Jul-12 20:37 
AnswerRe: update table structures from another server Pin
Wayne Gaylard8-Jul-12 21:27
professionalWayne Gaylard8-Jul-12 21:27 
Questiontransfer mysql proceedures Pin
Jassim Rahma8-Jul-12 20:35
Jassim Rahma8-Jul-12 20:35 
QuestionError can not attach a database with the same name? Pin
Member 24584675-Jul-12 18:18
Member 24584675-Jul-12 18:18 
AnswerRe: Error can not attach a database with the same name? Pin
Midnight Ahri5-Jul-12 22:21
Midnight Ahri5-Jul-12 22:21 
GeneralRe: Error can not attach a database with the same name? Pin
Member 24584678-Jul-12 18:32
Member 24584678-Jul-12 18:32 
AnswerRe: Error can not attach a database with the same name? Pin
Mycroft Holmes5-Jul-12 23:37
professionalMycroft Holmes5-Jul-12 23:37 
QuestionCopy stored procedures to another database why not? Pin
Member 24584675-Jul-12 17:34
Member 24584675-Jul-12 17:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.