Click here to Skip to main content
15,897,315 members
Home / Discussions / Database
   

Database

 
QuestionStored procedure Pin
Karthick_gc10-Feb-09 0:34
Karthick_gc10-Feb-09 0:34 
AnswerRe: Stored procedure Pin
Rupesh Kumar Swami10-Feb-09 1:19
Rupesh Kumar Swami10-Feb-09 1:19 
AnswerRe: Stored procedure Pin
Wendelius10-Feb-09 1:23
mentorWendelius10-Feb-09 1:23 
AnswerRe: Stored procedure Pin
Ashfield10-Feb-09 1:38
Ashfield10-Feb-09 1:38 
QuestionSSIS-Need to create folder and move file programatically. Pin
Tarini Singh10-Feb-09 0:32
Tarini Singh10-Feb-09 0:32 
QuestionSQL2008 installation Pin
Member 45581399-Feb-09 22:53
Member 45581399-Feb-09 22:53 
AnswerRe: SQL2008 installation Pin
Wendelius9-Feb-09 23:19
mentorWendelius9-Feb-09 23:19 
QuestionQuery still returning NOT EQUAL Fields Pin
Sunset Towers9-Feb-09 14:26
Sunset Towers9-Feb-09 14:26 
SELECT DISTINCT Firms.dbo.FirmNames.id, Firms.dbo.FirmNames.FirmName
FROM         FirmsInFamily INNER JOIN
                      Families ON FirmsInFamily.FamilyID = Families.FamilyID INNER JOIN
                      Firms.dbo.FirmNames ON FirmsInFamily.FirmID <> Firms.dbo.FirmNames.id
WHERE     (Families.FamilyID = @FamilyID)


I guess this would work if FirmsInFamily.FirmID only had one entry, but there is a possibility of there being multiple records for this field so how can I remove the records that don't belong because they are located in the FirmsInFamilyTable from the Firms.dbo.FirmNames.

I'm lookin for something that is extremely quick as this search is going to be done quite a bit.

I tried doing a derived table and then deleting, but I guess you can't do that.

Thanks in advance.

Franklin Smith
AnswerRe: Query still returning NOT EQUAL Fields Pin
Wendelius9-Feb-09 18:24
mentorWendelius9-Feb-09 18:24 
GeneralRe: Query still returning NOT EQUAL Fields Pin
Sunset Towers9-Feb-09 18:58
Sunset Towers9-Feb-09 18:58 
GeneralRe: Query still returning NOT EQUAL Fields Pin
Wendelius9-Feb-09 20:13
mentorWendelius9-Feb-09 20:13 
QuestionAllocation! Pin
Learner5209-Feb-09 12:40
Learner5209-Feb-09 12:40 
QuestionSQL Foreign Key Issue Pin
Harvey Saayman9-Feb-09 10:02
Harvey Saayman9-Feb-09 10:02 
AnswerRe: SQL Foreign Key Issue Pin
Wendelius9-Feb-09 18:14
mentorWendelius9-Feb-09 18:14 
GeneralRe: SQL Foreign Key Issue Pin
Harvey Saayman9-Feb-09 19:34
Harvey Saayman9-Feb-09 19:34 
GeneralRe: SQL Foreign Key Issue Pin
Wendelius9-Feb-09 20:18
mentorWendelius9-Feb-09 20:18 
GeneralRe: SQL Foreign Key Issue Pin
Harvey Saayman9-Feb-09 20:32
Harvey Saayman9-Feb-09 20:32 
GeneralRe: SQL Foreign Key Issue Pin
Wendelius9-Feb-09 21:31
mentorWendelius9-Feb-09 21:31 
QuestionWhat is the best way to store scripts? Pin
redjoy9-Feb-09 9:32
redjoy9-Feb-09 9:32 
Questionspecial characters in sqlite? Pin
mirko869-Feb-09 8:08
mirko869-Feb-09 8:08 
AnswerRe: special characters in sqlite? Pin
Wendelius9-Feb-09 8:11
mentorWendelius9-Feb-09 8:11 
GeneralRe: special characters in sqlite? Pin
mirko8610-Feb-09 7:11
mirko8610-Feb-09 7:11 
GeneralRe: special characters in sqlite? Pin
Wendelius10-Feb-09 8:15
mentorWendelius10-Feb-09 8:15 
QuestionExecution Order Pin
mehrdadc489-Feb-09 1:17
mehrdadc489-Feb-09 1:17 
AnswerRe: Execution Order Pin
Rupesh Kumar Swami9-Feb-09 1:37
Rupesh Kumar Swami9-Feb-09 1:37 

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.