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

Database

 
GeneralRe: Dupicate Pin
Eslam Afifi13-Sep-08 12:54
Eslam Afifi13-Sep-08 12:54 
QuestionMore advice on a slighltly more complex select statement Pin
Steven J Jowett12-Sep-08 3:40
Steven J Jowett12-Sep-08 3:40 
AnswerRe: More advice on a slighltly more complex select statement Pin
Ashfield12-Sep-08 4:23
Ashfield12-Sep-08 4:23 
GeneralRe: More advice on a slighltly more complex select statement Pin
Steven J Jowett12-Sep-08 4:45
Steven J Jowett12-Sep-08 4:45 
GeneralRe: More advice on a slighltly more complex select statement Pin
Ashfield12-Sep-08 8:34
Ashfield12-Sep-08 8:34 
QuestionSQL Linked Server/Web Service Question Pin
dhbaer12-Sep-08 3:40
dhbaer12-Sep-08 3:40 
AnswerRe: SQL Linked Server/Web Service Question Pin
Steven J Jowett12-Sep-08 4:05
Steven J Jowett12-Sep-08 4:05 
QuestionAdvice on Select query please Pin
Steven J Jowett12-Sep-08 0:32
Steven J Jowett12-Sep-08 0:32 
I have a need to return a table of data, for a MS SQL Server 2005 Stored Procedure, based on the following :-

ID = Table1.ID
If Table1.Status = 0 Then
Name = Table1.Name
Company = NULL
Else
Name = Table2.Name
Company = Table2.Company
Where Table2.ID = Table1.ID
End


I hope this mud is clear.Confused | :confused:

My T-SQL is not bad for the run-of-mill type tasks, but I do struggle with the more complex ones. (But I am learning)

Any pointers on where I should start would be great.

Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.

AnswerRe: Advice on Select query please Pin
dojohansen12-Sep-08 1:17
dojohansen12-Sep-08 1:17 
AnswerRe: Advice on Select query please Pin
Ashfield12-Sep-08 1:39
Ashfield12-Sep-08 1:39 
GeneralRe: Advice on Select query please Pin
Steven J Jowett12-Sep-08 2:18
Steven J Jowett12-Sep-08 2:18 
GeneralRe: Advice on Select query please Pin
Ashfield12-Sep-08 4:16
Ashfield12-Sep-08 4:16 
QuestionSelect Exact Day Pin
Agweet11-Sep-08 22:16
Agweet11-Sep-08 22:16 
AnswerRe: Select Exact Day Pin
dojohansen12-Sep-08 1:21
dojohansen12-Sep-08 1:21 
GeneralRe: Select Exact Day Pin
Agweet12-Sep-08 1:59
Agweet12-Sep-08 1:59 
QuestionNeed some help with deleting process Pin
MarkB77711-Sep-08 22:15
MarkB77711-Sep-08 22:15 
AnswerRe: Need some help with deleting process Pin
Blue_Boy11-Sep-08 22:22
Blue_Boy11-Sep-08 22:22 
GeneralRe: Need some help with deleting process Pin
MarkB77711-Sep-08 23:17
MarkB77711-Sep-08 23:17 
GeneralRe: Need some help with deleting process Pin
Blue_Boy11-Sep-08 23:42
Blue_Boy11-Sep-08 23:42 
GeneralRe: Need some help with deleting process Pin
dojohansen12-Sep-08 1:31
dojohansen12-Sep-08 1:31 
AnswerRe: Need some help with deleting process Pin
razov12-Sep-08 0:11
razov12-Sep-08 0:11 
GeneralRe: Need some help with deleting process Pin
MarkB77712-Sep-08 0:17
MarkB77712-Sep-08 0:17 
GeneralRe: Need some help with deleting process Pin
razov12-Sep-08 0:37
razov12-Sep-08 0:37 
GeneralRe: Need some help with deleting process Pin
MarkB77712-Sep-08 0:44
MarkB77712-Sep-08 0:44 
GeneralRe: Need some help with deleting process Pin
razov12-Sep-08 0:50
razov12-Sep-08 0:50 

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.