User Profile

Collapse

Profile Sidebar

Collapse
mauj
mauj
Last Activity: Apr 6 '10, 07:29 PM
Joined: Apr 4 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mauj
    started a topic how to retrieve data in sql

    how to retrieve data in sql

    Code:
    select * from 
      ( select trans_mstr.*,third_party_transfer.acc_no_to from trans_mstr join third_party_transfer on trans_mstr.acc_no=third_party_transfer.acc_no_from) 
      where acc_no=12200101
    when i run this querry i get an error (incorrect syntax near keyword 'where')

    table: trans_mstr
    Code:
    trans_no       acc_no          date             particular  wd_dt   amount      balance
    ...
    See more | Go to post
    Last edited by Frinavale; Apr 7 '10, 08:21 PM. Reason: Please post code in [code] ... [/code] tags. Moved to SQL Server from ASP.NET and added code tags.

  • mauj
    started a topic retrieving data ffrom database

    retrieving data ffrom database

    i've two tables trans-mstr having columns as acc_no_from,dat e,particular,wd _dt,amt,balance and third_party_tra nsfer(table2) having columns as acc_no_frm,acc_ no_to,date,amt.
    now i wnt to retreive date ,particular,wd_ dt,acc_no_to,am t,balance where the acc_no_from in third_party_tra nsfer is equal to the no.entered in the textbox of the webpage.
    i've used datagrid view to show all this.

    i'm using c# n sql server2005 in this...
    See more | Go to post
No activity results to display
Show More
Working...