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 |
|
joriveek
Starting Member
33 Posts |
Posted - 2006-04-28 : 06:30:02
|
| how do i check the variable type;i want like this VARTYPE(Table1.TemoID);should return whether it is NUMBER or not???THanks |
|
|
mwjdavidson
Aged Yak Warrior
735 Posts |
Posted - 2006-04-28 : 06:38:41
|
| Depending upon what exactly you need, the ISNUMERIC and ISDATE functions may help.Mark |
 |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2006-04-28 : 07:04:02
|
| have a look at information_schema.columnsIt's checked for character dat type in thishttp://www.nigelrivett.net/SQLTsql/sp_CreateDataLoadScript.html==========================================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. |
 |
|
|
|
|
|