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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-07-10 : 09:15:09
|
| MANOJ writes "I WANT TO WRITE A DYNAMIC FUNCTION AS MY TABLE IS HAVING DYNAMIC COLUMNS (LIKE A1,A2,A3.....) AND THIS FUNCTION I WANT TO USE IT WITH OTHER "SELECT " QUERIES.BUT DYNAMIC SQL IS NOT ALLOWED INSIDE A FUNCTION .WILL U PLEASE SUGGEST A METHOD SO THAT I CAN SOLVE THIS ISSUE." |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2006-07-10 : 09:21:45
|
| Can't be done as you have described it.Maybe if you give the objective someone can suggest a method.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
|
|
|