hi all
i want to know how to bind one table fields as coloums of temporary table
eg:- i have one table fields as A,B,c....like
id name
1 A
2 B
3 C
this table content may edited ,deleted ,added
i want those name fields as row..i cant give static values while creating temporary table as the contet of table may get changed
CREATE TABLE #TEMP_Branch (
Branch VARCHAR(50) ,A,B.C.....)
how to create temporary table
Thanks in Advance