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

Database

 
QuestionSQl, Oracle Database Pin
Member 1295956019-Jan-17 23:59
Member 1295956019-Jan-17 23:59 
SuggestionRe: SQl, Oracle Database Pin
ZurdoDev24-Jan-17 3:20
professionalZurdoDev24-Jan-17 3:20 
QuestionJOIN Problem Pin
Kevin Marois19-Jan-17 9:01
professionalKevin Marois19-Jan-17 9:01 
AnswerRe: JOIN Problem Pin
ZurdoDev19-Jan-17 9:22
professionalZurdoDev19-Jan-17 9:22 
GeneralRe: JOIN Problem Pin
Kevin Marois19-Jan-17 9:25
professionalKevin Marois19-Jan-17 9:25 
GeneralRe: JOIN Problem Pin
ZurdoDev19-Jan-17 9:30
professionalZurdoDev19-Jan-17 9:30 
GeneralRe: JOIN Problem Pin
Kevin Marois19-Jan-17 9:32
professionalKevin Marois19-Jan-17 9:32 
GeneralRe: JOIN Problem Pin
ZurdoDev19-Jan-17 9:35
professionalZurdoDev19-Jan-17 9:35 
GeneralRe: JOIN Problem Pin
Kevin Marois19-Jan-17 9:45
professionalKevin Marois19-Jan-17 9:45 
GeneralRe: JOIN Problem Pin
ZurdoDev19-Jan-17 9:50
professionalZurdoDev19-Jan-17 9:50 
GeneralRe: JOIN Problem Pin
Kevin Marois19-Jan-17 9:51
professionalKevin Marois19-Jan-17 9:51 
GeneralRe: JOIN Problem Pin
Eddy Vluggen19-Jan-17 9:38
professionalEddy Vluggen19-Jan-17 9:38 
GeneralRe: JOIN Problem Pin
ZurdoDev19-Jan-17 9:52
professionalZurdoDev19-Jan-17 9:52 
GeneralRe: JOIN Problem Pin
Eddy Vluggen19-Jan-17 10:03
professionalEddy Vluggen19-Jan-17 10:03 
QuestionI need some help from my fellow developers... Pin
Steve Naidamast12-Jan-17 3:44
professionalSteve Naidamast12-Jan-17 3:44 
AnswerRe: I need some help from my fellow developers... Pin
Richard MacCutchan12-Jan-17 4:19
mveRichard MacCutchan12-Jan-17 4:19 
GeneralRe: I need some help from my fellow developers... Pin
Steve Naidamast12-Jan-17 5:08
professionalSteve Naidamast12-Jan-17 5:08 
Questionvb.net, select where statement Pin
jkirkerx5-Jan-17 8:12
professionaljkirkerx5-Jan-17 8:12 
I don't seem to be getting this right in VB. I get an error in casting the result as an Integer, in which the result may not exist.
ProductInfo_Inventory should be a join to get a count
Dim cStatus As Integer = context.ProductInfo_Inventory.Where(Function(m) m.partNumber = p_PartNumber).Select(Function(m) m.currentStatus).DefaultIfEmpty()

This is the whole thing. Not every item has a record in inventory for it's optional. So I'm not really sure how to properly handle this in VB
My new program is much better and in c#, so I seem to be doing better in that now.
pValue = context.ProductInfo.Where(Function(m) m.PartNumber = p_PartNumber).Count()
Dim cStatus = context.ProductInfo_Inventory.Where(Function(m) m.partNumber = p_PartNumber).Select(Function(m) m.currentStatus).DefaultIfEmpty()
If (cStatus = 4) Then
  dV = False
Else
  dV = If(pValue > 0, True, False)
End If
21st Century Globalism has become Socialism on a planetary scale, in which the unequal treaties of the past have come back into play.


modified 5-Jan-17 14:27pm.

AnswerRe: vb.net, select where statement Pin
Wendelius5-Jan-17 8:30
mentorWendelius5-Jan-17 8:30 
GeneralRe: vb.net, select where statement Pin
jkirkerx5-Jan-17 8:39
professionaljkirkerx5-Jan-17 8:39 
GeneralRe: vb.net, select where statement Pin
Wendelius5-Jan-17 8:47
mentorWendelius5-Jan-17 8:47 
GeneralRe: vb.net, select where statement Pin
jkirkerx5-Jan-17 9:17
professionaljkirkerx5-Jan-17 9:17 
QuestionSSIS Excel connection is creating another temporary file and interfering with the FileSystemWatcher Pin
indian1434-Jan-17 8:39
indian1434-Jan-17 8:39 
SuggestionRe: SSIS Excel connection is creating another temporary file and interfering with the FileSystemWatcher Pin
David Mujica4-Jan-17 9:44
David Mujica4-Jan-17 9:44 
GeneralRe: SSIS Excel connection is creating another temporary file and interfering with the FileSystemWatcher Pin
indian1434-Jan-17 10:58
indian1434-Jan-17 10: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.