Click here to Skip to main content
15,896,111 members
Home / Discussions / Database
   

Database

 
AnswerRe: HELP SQL WILDCARDS PROB Pin
Corporal Agarn11-Jul-12 9:26
professionalCorporal Agarn11-Jul-12 9:26 
GeneralRe: HELP SQL WILDCARDS PROB Pin
R. Giskard Reventlov11-Jul-12 9:45
R. Giskard Reventlov11-Jul-12 9:45 
QuestionGenerate Excel From SQL Server Pin
vvashishta11-Jul-12 3:36
vvashishta11-Jul-12 3:36 
AnswerRe: Generate Excel From SQL Server Pin
gonzalezmail1980h11-Jul-12 4:57
gonzalezmail1980h11-Jul-12 4:57 
GeneralTrigger for execute exe When inserted a receode to table Pin
hiran12310-Jul-12 23:09
hiran12310-Jul-12 23:09 
AnswerRe: Trigger for execute exe When inserted a receode to table Pin
Mycroft Holmes11-Jul-12 1:07
professionalMycroft Holmes11-Jul-12 1:07 
AnswerRe: Trigger for execute exe When inserted a receode to table Pin
hiran12311-Jul-12 16:38
hiran12311-Jul-12 16:38 
GeneralRe: Trigger for execute exe When inserted a receode to table Pin
Mycroft Holmes11-Jul-12 17:57
professionalMycroft Holmes11-Jul-12 17:57 
RantParameter Sniffing Pin
Mycroft Holmes10-Jul-12 15:11
professionalMycroft Holmes10-Jul-12 15:11 
QuestionOracle SQL Developer Pin
vanikanc10-Jul-12 9:42
vanikanc10-Jul-12 9:42 
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 

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.