Ask Experts Questions for FREE Help !
Ask
    fawwad's Avatar
    fawwad Posts: 5, Reputation: 1
    New Member
     
    #1

    Sep 14, 2006, 12:40 AM
    error in tables
    table1 product pk is productID
    table2 problems pk is problemID
    table3 severity pk is severityId
    table4 users pk is userID
    when I used in vb.net then message is
    incorrect syntes near inner

    Const sSelect As String = "select problems.problemID," & "problems.reportedon," & "users.userName,prduct.productName,problems.versio n," & "severity.severityName,problems.description,proble ms.steps" & "from severity inner join(product inner join" & "(users inner join problems on" & "users.userID=problems.userID)on product.productID=" & "problems.productID)on " & " severity.severityID=problems.severityID"& "order by problems.problemID"
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #2

    Sep 14, 2006, 05:33 AM
    What database are you using as your back end? The problem is your inner joins aren't resolved properly.

    What I suggest you do is test out the query in whatever database environment you are using, then copy the SQL into your code. BTW, there is no need to concatenate in bits and pieces like that. Just use one string.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

How to fix this error... [ 17 Answers ]

Well its about outlook express... every time I open it there's an error show here it is: :confused: The host 'SMTP' could not be found. Please verify that you have entered the server name correctly. Account: 'POP3', Server: 'SMTP', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket Error:...

Error 403 [ 7 Answers ]

What the heck? The last couple days I have been getting this error message. I think it says "error 407" just on a blank white page. It happens after I click submit or click on a link from this site. Has it been happening to anyone else? Any ideas?:mad:

My dos error [ 2 Answers ]

I try to install a software but my computer say there is error: 16 bit MS-DOS Subsystem C:\WINDOWS\system32\cmd.exe C:\WINDOWS\SYSTEM32\AUTOEXEC.NT.The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose 'Close' to terminate the application My computer...

Dll error [ 2 Answers ]

When I try to install SP1 for IE6, I get this ie6wzd.exe error-Entry Point Not Found-"The procedure entry point CoInternetGetSession could not be located in the dynamic link library urlmon.dll." I don't know how to make it right so that it will work.:confused:


View more questions Search