Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 help me statement insert

Author  Topic 

viethai99a
Starting Member

1 Post

Posted - 2011-04-15 : 11:46:15
help me,pls
I have mean:
table1: A,B,C,D,E With A is Primary key
table2: E,F,G With E is P key
table3: G,K G is P key
help me : load to datagridview : A,B,C,D,E,F,G,K
Select
insert into all table
update all table
delete all table

thank,

nigelrivett
Master Smack Fu Yak Hacker

3385 Posts

Posted - 2011-04-15 : 12:10:46
Are you looking for a select statement?
Think you need to say how the tables are joined.


==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -