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 |
|
amitgujrathi
Starting Member
17 Posts |
Posted - 2004-05-27 : 17:28:24
|
| Does any one know :-- How to declare local variable in a function/stored procedure as the data type of a column of an existing table? (for example: it can be done in oracle as "declare p_local_var <tablename>.<Columnname>%Type"-- Is it at all possible in MS SQL Server 2000?Thanks in advance,Amit |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|