Click here to Skip to main content
15,881,600 members
Home / Discussions / Database
   

Database

 
GeneralRe: what is the equivalent linq query for the following sql query? Pin
Dhyanga7-Nov-14 5:57
Dhyanga7-Nov-14 5:57 
GeneralRe: what is the equivalent linq query for the following sql query? Pin
Dhyanga7-Nov-14 6:03
Dhyanga7-Nov-14 6:03 
GeneralRe: what is the equivalent linq query for the following sql query? Pin
PIEBALDconsult7-Nov-14 6:40
mvePIEBALDconsult7-Nov-14 6:40 
QuestionRe: what is the equivalent linq query for the following sql query? Pin
Eddy Vluggen7-Nov-14 7:31
professionalEddy Vluggen7-Nov-14 7:31 
AnswerRe: what is the equivalent linq query for the following sql query? Pin
Dhyanga7-Nov-14 7:44
Dhyanga7-Nov-14 7:44 
Questionmigrate a database in informix server to a local server mysql or postgree Pin
Ibrahim.elh6-Nov-14 3:48
Ibrahim.elh6-Nov-14 3:48 
AnswerRe: migrate a database in informix server to a local server mysql or postgree Pin
Eddy Vluggen7-Nov-14 7:33
professionalEddy Vluggen7-Nov-14 7:33 
QuestionSQL Left Outer Join Problem Pin
Vimalsoft(Pty) Ltd4-Nov-14 21:53
professionalVimalsoft(Pty) Ltd4-Nov-14 21:53 
i have Join that i expect to give me 3 Records but it gives me to Records . There is a Record in Table A and in table "C" there are two records , i used a left outer Join and i only get two records instead of 3. i dont want to use a Union to do this. Below is an Example

SQL
CREATE TABLE #TABLEA 
(
LIS_KEY VARCHAR(MAX) NULL,
FUNC_KEY VARCHAR(MAX) NULL  
)

INSERT INTO #TABLEA 
VALUES('047600055/R',NULL)


CREATE TABLE #TABLEC 
(
LIS_KEY VARCHAR(MAX) NULL,
FUNC_KEY VARCHAR(MAX) NULL  
)


INSERT INTO #TABLEC 
VALUES('047600055/R','GEOSS001')


INSERT INTO #TABLEC 
VALUES('047600055/R','GEOSS002')

SELECT * FROM   #TABLEA A 
left outer  JOIN   #TABLEC C 
ON  A.LIS_KEY  =  C.LIS_KEY     
WHERE A.LIS_KEY  = '047600055/R'


Thanks
Vuyiswa Maseko,

Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa[at]dotnetfunda.com
http://www.Dotnetfunda.com

AnswerRe: SQL Left Outer Join Problem Pin
Vimalsoft(Pty) Ltd4-Nov-14 22:11
professionalVimalsoft(Pty) Ltd4-Nov-14 22:11 
GeneralRe: SQL Left Outer Join Problem Pin
Mycroft Holmes4-Nov-14 22:33
professionalMycroft Holmes4-Nov-14 22:33 
GeneralRe: SQL Left Outer Join Problem Pin
Vimalsoft(Pty) Ltd4-Nov-14 22:34
professionalVimalsoft(Pty) Ltd4-Nov-14 22:34 
AnswerRe: SQL Left Outer Join Problem Pin
Richard Deeming5-Nov-14 1:42
mveRichard Deeming5-Nov-14 1:42 
SuggestionMessage Closed Pin
3-Nov-14 12:07
Member 24194273-Nov-14 12:07 
GeneralRe: New SQLite Management Program Pin
PIEBALDconsult3-Nov-14 12:48
mvePIEBALDconsult3-Nov-14 12:48 
QuestionSSRS across Internet Pin
JM7631-Oct-14 6:52
JM7631-Oct-14 6:52 
QuestionRe: SSRS across Internet Pin
GuyThiebaut3-Nov-14 1:43
professionalGuyThiebaut3-Nov-14 1:43 
AnswerRe: SSRS across Internet Pin
JM763-Nov-14 5:52
JM763-Nov-14 5:52 
GeneralRe: SSRS across Internet Pin
GuyThiebaut3-Nov-14 6:12
professionalGuyThiebaut3-Nov-14 6:12 
GeneralRe: SSRS across Internet Pin
Eddy Vluggen3-Nov-14 8:14
professionalEddy Vluggen3-Nov-14 8:14 
GeneralRe: SSRS across Internet Pin
JM765-Nov-14 0:25
JM765-Nov-14 0:25 
GeneralRe: SSRS across Internet Pin
JM7610-Nov-14 6:02
JM7610-Nov-14 6:02 
GeneralRe: SSRS across Internet Pin
Eddy Vluggen10-Nov-14 8:12
professionalEddy Vluggen10-Nov-14 8:12 
GeneralRe: SSRS across Internet Pin
JM7610-Nov-14 8:23
JM7610-Nov-14 8:23 
GeneralRe: SSRS across Internet Pin
Eddy Vluggen11-Nov-14 0:31
professionalEddy Vluggen11-Nov-14 0:31 
GeneralRe: SSRS across Internet Pin
JM7611-Nov-14 6:58
JM7611-Nov-14 6:58 

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.