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 |
arkiboys
Master Smack Fu Yak Hacker
1433 Posts |
Posted - 2012-08-07 : 10:50:32
|
Hi,Why can I only enter an integer here and not a float?Note that I would like to have the "into" statement so that the table is built.Thanksselect ID, name, figure = nullinto ##tbltestfrom tblMain update ##tbltest set figure = 123.54 select * from ##tbltest drop table ##tbltest |
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2012-08-07 : 11:11:21
|
select ID, name, figure = cast(null as float)into ##tbltestfrom tblMain |
 |
|
arkiboys
Master Smack Fu Yak Hacker
1433 Posts |
Posted - 2012-08-07 : 11:35:55
|
thanks |
 |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
|
|