Click here to Skip to main content
16,006,348 members
Home / Discussions / Database
   

Database

 
GeneralRe: problem converting varchar to datetime Pin
shabonaa19-Apr-06 8:38
shabonaa19-Apr-06 8:38 
AnswerRe: problem converting varchar to datetime Pin
Eric Dahlvang19-Apr-06 10:11
Eric Dahlvang19-Apr-06 10:11 
GeneralRe: problem converting varchar to datetime Pin
shabonaa19-Apr-06 12:55
shabonaa19-Apr-06 12:55 
AnswerRe: problem converting varchar to datetime Pin
HimaBindu Vejella17-Apr-06 18:48
HimaBindu Vejella17-Apr-06 18:48 
QuestionADO SHAPE Command - Can we use temporary tables? Pin
Babto16-Apr-06 10:32
Babto16-Apr-06 10:32 
QuestionAdapt This please Pin
munklefish16-Apr-06 7:19
munklefish16-Apr-06 7:19 
AnswerRe: Adapt This please Pin
Michael Potter17-Apr-06 3:19
Michael Potter17-Apr-06 3:19 
QuestionSQL Problems Pin
munklefish16-Apr-06 4:20
munklefish16-Apr-06 4:20 
Hi,

Ive tried my best to determine the SQL i need to match and retrieve data from two tables. Below is the SQL ive come up with so far but when i test it in Access, it gives me a non descriptive error.

Here is the code so far:
SELECT a.*, b.* FROM tbl_Payment AS a, (SUM (orderPrice) AS totalPrice FROM tbl_Orders, WHERE orderPaid = false AND orderTableID = '12' AND orderUserID = 'Healey') AS b WHERE a.paymentTable=b.orderTableID AND a.paymentTable = b.orderUserID

Can anyone help me sort this out. Basically i need to get all the data from one table and its corresponding data in a second table. If you could give me any help id really appreciate it.

Happy Easter!
Munklefish
AnswerRe: SQL Problems Pin
Mike Ellison16-Apr-06 5:07
Mike Ellison16-Apr-06 5:07 
GeneralRe: SQL Problems Pin
munklefish16-Apr-06 5:16
munklefish16-Apr-06 5:16 
GeneralRe: SQL Problems Pin
Mike Ellison16-Apr-06 5:32
Mike Ellison16-Apr-06 5:32 
GeneralRe: SQL Problems Pin
munklefish16-Apr-06 5:47
munklefish16-Apr-06 5:47 
GeneralRe: SQL Problems Pin
Mike Ellison17-Apr-06 5:48
Mike Ellison17-Apr-06 5:48 
GeneralRe: SQL Problems Pin
munklefish17-Apr-06 6:58
munklefish17-Apr-06 6:58 
Questionasp .net add a record to my database Pin
bambo123414-Apr-06 20:55
bambo123414-Apr-06 20:55 
AnswerRe: asp .net add a record to my database Pin
Jerry Hammond15-Apr-06 17:16
Jerry Hammond15-Apr-06 17:16 
GeneralRe: asp .net add a record to my database Pin
bambo123415-Apr-06 21:18
bambo123415-Apr-06 21:18 
QuestionSelect Pin
kirthikirthi14-Apr-06 20:11
kirthikirthi14-Apr-06 20:11 
AnswerRe: Select Pin
Michael P Butler14-Apr-06 20:47
Michael P Butler14-Apr-06 20:47 
Questionusing sql server 2005 express Pin
kani9814-Apr-06 7:40
kani9814-Apr-06 7:40 
AnswerRe: using sql server 2005 express Pin
Paul Conrad14-Apr-06 15:56
professionalPaul Conrad14-Apr-06 15:56 
AnswerRe: using sql server 2005 express Pin
Jerry Hammond14-Apr-06 18:13
Jerry Hammond14-Apr-06 18:13 
GeneralRe: using sql server 2005 express Pin
Paul Conrad15-Apr-06 4:06
professionalPaul Conrad15-Apr-06 4:06 
GeneralRe: using sql server 2005 express Pin
Jerry Hammond15-Apr-06 4:51
Jerry Hammond15-Apr-06 4:51 
QuestionC# 2.0 Table Adapter Times Out at 30 Sec Pin
GTWebb14-Apr-06 7:25
GTWebb14-Apr-06 7:25 

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.