SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 store procedure match field
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rajnidas
Yak Posting Veteran

India
65 Posts

Posted - 10/31/2013 :  06:09:31  Show Profile  Reply with Quote

hi everyone,

i need some store procedure script , from two table i want to pickup matching field and insert into main table ,give some sample store procedure coding...

if 1st table as cheque no and 2nd table as cheque no - matching then data would be inserted in to maintable
i need help pls.... using two table

visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 10/31/2013 :  06:17:07  Show Profile  Reply with Quote
have a look at sql joins and make a start

http://www.w3schools.com/sql/sql_join_inner.asp


------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

rajnidas
Yak Posting Veteran

India
65 Posts

Posted - 10/31/2013 :  06:39:14  Show Profile  Reply with Quote
thank you so much its working

very simple to understand ....
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000