Click here to Skip to main content
15,914,162 members
Home / Discussions / Database
   

Database

 
GeneralRe: Joining three tables Pin
Raabi Anony27-May-16 16:13
Raabi Anony27-May-16 16:13 
QuestionUpdate existing and next incoming entries in SQL server 2008 Pin
srikrishnathanthri26-May-16 21:14
srikrishnathanthri26-May-16 21:14 
AnswerRe: Update existing and next incoming entries in SQL server 2008 Pin
Richard MacCutchan26-May-16 21:24
mveRichard MacCutchan26-May-16 21:24 
AnswerRe: Update existing and next incoming entries in SQL server 2008 Pin
Eddy Vluggen26-May-16 23:44
professionalEddy Vluggen26-May-16 23:44 
QuestionError in SQL backup with checksum Pin
IT - Researcher23-May-16 1:30
IT - Researcher23-May-16 1:30 
AnswerRe: Error in SQL backup with checksum Pin
Richard Deeming23-May-16 2:06
mveRichard Deeming23-May-16 2:06 
GeneralRe: Error in SQL backup with checksum Pin
srikrishnathanthri26-May-16 21:16
srikrishnathanthri26-May-16 21:16 
GeneralRe: Error in SQL backup with checksum Pin
Richard Deeming27-May-16 0:09
mveRichard Deeming27-May-16 0:09 
GeneralRe: Error in SQL backup with checksum Pin
Richard Deeming27-May-16 3:15
mveRichard Deeming27-May-16 3:15 
QuestionIncorrect syntax near the keyword 'CROSS'. Pin
Vimalsoft(Pty) Ltd22-May-16 1:26
professionalVimalsoft(Pty) Ltd22-May-16 1:26 
AnswerRe: Incorrect syntax near the keyword 'CROSS'. Pin
Vimalsoft(Pty) Ltd22-May-16 2:06
professionalVimalsoft(Pty) Ltd22-May-16 2:06 
SuggestionRe: Incorrect syntax near the keyword 'CROSS'. Pin
Richard Deeming23-May-16 2:02
mveRichard Deeming23-May-16 2:02 
QuestionError in MsHflexGrid for rowcolchange event Pin
srikrishnathanthri19-May-16 0:36
srikrishnathanthri19-May-16 0:36 
AnswerRe: Error in MsHflexGrid for rowcolchange event Pin
Simon_Whale19-May-16 0:40
Simon_Whale19-May-16 0:40 
AnswerRe: Error in MsHflexGrid for rowcolchange event Pin
Mycroft Holmes20-May-16 11:51
professionalMycroft Holmes20-May-16 11:51 
QuestionAuto update SQL table entries using foreign keys Pin
srikrishnathanthri16-May-16 21:50
srikrishnathanthri16-May-16 21:50 
AnswerRe: Auto update SQL table entries using foreign keys Pin
Richard Deeming17-May-16 1:26
mveRichard Deeming17-May-16 1:26 
GeneralRe: Auto update SQL table entries using foreign keys Pin
srikrishnathanthri17-May-16 2:04
srikrishnathanthri17-May-16 2:04 
GeneralRe: Auto update SQL table entries using foreign keys Pin
Richard Deeming17-May-16 2:15
mveRichard Deeming17-May-16 2:15 
GeneralRe: Auto update SQL table entries using foreign keys Pin
srikrishnathanthri17-May-16 2:40
srikrishnathanthri17-May-16 2:40 
GeneralRe: Auto update SQL table entries using foreign keys Pin
Richard Deeming17-May-16 2:43
mveRichard Deeming17-May-16 2:43 
GeneralRe: Auto update SQL table entries using foreign keys Pin
srikrishnathanthri18-May-16 1:33
srikrishnathanthri18-May-16 1:33 
Now I have a doubt,
I want to another column named 'regno' and I want to make it primary key of product1. Now is it possible to add FK in prodcut2 for regno, name, state and place. ?
Because I am getting an error..
Introducing FOREIGN KEY constraint 'FK_ProductDetails_Products' on table 'Product2' may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints.


In my case,
regno refers to Prooduct1's regno ( which is primary key)
name, place and state refers to Prooduct1's name, place and state ( which are unique constraints )

Why I am getting this error ?
GeneralRe: Auto update SQL table entries using foreign keys Pin
Richard Deeming18-May-16 1:40
mveRichard Deeming18-May-16 1:40 
AnswerRe: Auto update SQL table entries using foreign keys Pin
John C Rayan18-May-16 2:51
professionalJohn C Rayan18-May-16 2:51 
QuestionINSERT from SELECT into a variable Pin
Jassim Rahma15-May-16 6:05
Jassim Rahma15-May-16 6:05 

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.