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-11 : 11:16:14
|
| Tiks writes "how to pass parameters as table name in SQL commandssorry i am new to sqlyr = "2006"tabel1 = "sales"Table_Name = table1+yrstrSQL = "SELECT * FROM Table_Name WHERE "{Table_Name.sale_date} = " & "'" & txtSale_Date & "'"" |
|
|
graz
Chief SQLTeam Crack Dealer
4149 Posts |
Posted - 2006-07-11 : 11:16:14
|
| Please read the FAQ for dynamic SQL. |
 |
|
|
|
|
|