Click here to Skip to main content
15,891,316 members
Home / Discussions / Database
   

Database

 
GeneralRe: Crystal Report can not show data Pin
rajith20056-Jul-05 3:20
rajith20056-Jul-05 3:20 
GeneralHelp : i can't open a connection Pin
SmartSDR5-Jul-05 7:37
SmartSDR5-Jul-05 7:37 
GeneralRe: Help : i can't open a connection Pin
Michael Potter5-Jul-05 8:03
Michael Potter5-Jul-05 8:03 
GeneralRe: Help : i can't open a connection Pin
SmartSDR5-Jul-05 9:32
SmartSDR5-Jul-05 9:32 
GeneralRe: Help : i can't open a connection Pin
Michael Potter5-Jul-05 10:40
Michael Potter5-Jul-05 10:40 
GeneralRe: Help : i can't open a connection Pin
SmartSDR6-Jul-05 2:26
SmartSDR6-Jul-05 2:26 
GeneralT-SQL Problem Pin
WDI5-Jul-05 4:52
WDI5-Jul-05 4:52 
GeneralRe: T-SQL Problem Pin
Colin Angus Mackay5-Jul-05 5:00
Colin Angus Mackay5-Jul-05 5:00 
Try this:
SELECT Product.productName, Artist.artistName, Style.styleName 
FROM Product 
INNER JOIN Artist on Product.artistID = Artist.artistID 
INNER JOIN Style on Product.styleID = Style.styleID
WHERE productID = @productID


Note: The only difference is that I removed the brackets. With the brackets it was expecting a subquery which you don't use here.



My: Blog | Photos
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More


GeneralRe: T-SQL Problem Pin
WDI5-Jul-05 5:49
WDI5-Jul-05 5:49 
GeneralRe: T-SQL Problem Pin
Colin Angus Mackay5-Jul-05 5:58
Colin Angus Mackay5-Jul-05 5:58 
GeneralRe: T-SQL Problem Pin
WDI5-Jul-05 6:36
WDI5-Jul-05 6:36 
GeneralRe: T-SQL Problem Pin
WDI5-Jul-05 6:37
WDI5-Jul-05 6:37 
GeneralRe: T-SQL Problem Pin
Colin Angus Mackay5-Jul-05 6:45
Colin Angus Mackay5-Jul-05 6:45 
GeneralRe: T-SQL Problem Pin
WDI5-Jul-05 6:45
WDI5-Jul-05 6:45 
GeneralRe: T-SQL Problem Pin
Colin Angus Mackay5-Jul-05 7:27
Colin Angus Mackay5-Jul-05 7:27 
GeneralRe: T-SQL Problem Pin
WDI5-Jul-05 8:07
WDI5-Jul-05 8:07 
GeneralFill DataSet with nothing Pin
SebbaP5-Jul-05 4:45
SebbaP5-Jul-05 4:45 
GeneralRe: Fill DataSet with nothing Pin
Colin Angus Mackay5-Jul-05 5:06
Colin Angus Mackay5-Jul-05 5:06 
GeneralRe: Fill DataSet with nothing Pin
Scott Serl5-Jul-05 12:23
Scott Serl5-Jul-05 12:23 
GeneralRe: Fill DataSet with nothing Pin
SebbaP5-Jul-05 19:59
SebbaP5-Jul-05 19:59 
GeneralRe: Fill DataSet with nothing Pin
Scott Serl6-Jul-05 8:51
Scott Serl6-Jul-05 8:51 
GeneralMS Access and multiple statements on the same connection Pin
SebbaP4-Jul-05 23:02
SebbaP4-Jul-05 23:02 
GeneralRe: MS Access and multiple statements on the same connection Pin
WDI5-Jul-05 6:58
WDI5-Jul-05 6:58 
GeneralRe: MS Access and multiple statements on the same connection Pin
SebbaP5-Jul-05 19:43
SebbaP5-Jul-05 19:43 
Generalconnecting to a database from a stored procedure Pin
Member 4472174-Jul-05 22:11
Member 4472174-Jul-05 22:11 

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.