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

Database

 
AnswerRe: Sum of all rows Pin
Wendelius21-Mar-11 19:50
mentorWendelius21-Mar-11 19:50 
GeneralRe: Sum of all rows Pin
CodingLover21-Mar-11 22:59
CodingLover21-Mar-11 22:59 
GeneralRe: Sum of all rows Pin
Wendelius22-Mar-11 2:12
mentorWendelius22-Mar-11 2:12 
GeneralRe: Sum of all rows Pin
CodingLover22-Mar-11 18:27
CodingLover22-Mar-11 18:27 
QuestionSelecting one record from one table and multiple from second table Pin
Dominick Marciano21-Mar-11 13:54
professionalDominick Marciano21-Mar-11 13:54 
AnswerRe: Selecting one record from one table and multiple from second table Pin
RyanEK21-Mar-11 14:44
RyanEK21-Mar-11 14:44 
GeneralRe: Selecting one record from one table and multiple from second table Pin
Dominick Marciano21-Mar-11 15:21
professionalDominick Marciano21-Mar-11 15:21 
GeneralRe: Selecting one record from one table and multiple from second table Pin
Dominick Marciano21-Mar-11 15:35
professionalDominick Marciano21-Mar-11 15:35 
By using an right join it worked, the only problem was that it would have to change a lot of code because all the column indexes are different. I tried reversing the two section of the SQL Statement and came up with:
SELECT TOP 1 * FROM [Order Status] WHERE OrderStatusID > " & CurrentRecordID & " ORDER BY OrderStatusID JOIN (SELECT * FROM Lead_Free_Certs) t ON t.[Project Num] = CAST([Order Status].[Project #] AS nvarchar(255))


However I'm getting an error about an error near the JOIN but I don't know what it is.
QuestionPlease Interview Me Pin
Nagy Vilmos21-Mar-11 10:55
professionalNagy Vilmos21-Mar-11 10:55 
AnswerRe: Please Interview Me Pin
Simon_Whale21-Mar-11 23:12
Simon_Whale21-Mar-11 23:12 
GeneralRe: Please Interview Me Pin
Nagy Vilmos21-Mar-11 23:37
professionalNagy Vilmos21-Mar-11 23:37 
GeneralRe: Please Interview Me Pin
Simon_Whale21-Mar-11 23:43
Simon_Whale21-Mar-11 23:43 
AnswerRe: Please Interview Me Pin
Johan Hakkesteegt21-Mar-11 23:37
Johan Hakkesteegt21-Mar-11 23:37 
AnswerRe: Please Interview Me Pin
Corporal Agarn22-Mar-11 1:32
professionalCorporal Agarn22-Mar-11 1:32 
AnswerRe: Please Interview Me Pin
Wendelius22-Mar-11 2:28
mentorWendelius22-Mar-11 2:28 
AnswerRe: Please Interview Me Pin
Prasanta_Prince15-Apr-11 0:56
Prasanta_Prince15-Apr-11 0:56 
QuestionSQLServer 2008 Express to Standard Upgrade Pin
Tim Carmichael21-Mar-11 8:27
Tim Carmichael21-Mar-11 8:27 
AnswerRe: SQLServer 2008 Express to Standard Upgrade Pin
Wendelius21-Mar-11 9:41
mentorWendelius21-Mar-11 9:41 
AnswerRe: SQLServer 2008 Express to Standard Upgrade Pin
PIEBALDconsult21-Mar-11 18:48
mvePIEBALDconsult21-Mar-11 18:48 
AnswerRe: SQLServer 2008 Express to Standard Upgrade Pin
Roger Wright21-Mar-11 19:42
professionalRoger Wright21-Mar-11 19:42 
QuestionConnect Dababase from Windows7 to windows 2008 Pin
buffering8321-Mar-11 4:59
buffering8321-Mar-11 4:59 
AnswerRe: Connect Dababase from Windows7 to windows 2008 Pin
Simon_Whale21-Mar-11 5:23
Simon_Whale21-Mar-11 5:23 
AnswerRe: Connect Dababase from Windows7 to windows 2008 Pin
Wendelius21-Mar-11 6:17
mentorWendelius21-Mar-11 6:17 
QuestionConnect Dababase from Windows7 to windows 2008. Pin
buffering8320-Mar-11 19:59
buffering8320-Mar-11 19:59 
AnswerRe: Connect Dababase from Windows7 to windows 2008. Pin
Wendelius20-Mar-11 20:29
mentorWendelius20-Mar-11 20:29 

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.