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.
| Author |
Topic |
|
gsrinivas.
Yak Posting Veteran
56 Posts |
Posted - 2009-06-01 : 12:09:25
|
| hello all,i have a table which has 2 columns ,1.parent table name 2.child table namenow i want to make a new table.ok i will show input and output tables.parent child------ -----A BB CB DC EF Gdefault the out put table has all the values are null.after processing ,the output table should beA B C EA B D nullF G null nullnow what is the solution for this?please help me.the solution may be a procedure or a query---------------------------------------------------note : here, A,B,C,D.... are tablenames--------------------------------------------------- |
|
|
DonAtWork
Master Smack Fu Yak Hacker
2167 Posts |
Posted - 2009-06-01 : 12:28:29
|
| Homework? Interview question?[Signature]For fast help, follow this link:http://weblogs.sqlteam.com/brettk/archive/2005/05/25.aspxLearn SQL or How to sell Used CarsFor ultra basic questions, follow these links.http://www.sql-tutorial.net/ http://www.firstsql.com/tutor.htm http://www.w3schools.com/sql/default.asp |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
|
|
gsrinivas.
Yak Posting Veteran
56 Posts |
Posted - 2009-06-02 : 03:02:19
|
| please send t-sql code |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-06-02 : 12:35:51
|
quote: Originally posted by gsrinivas. please send t-sql code
before that post what you've tried |
 |
|
|
|
|
|