is it possible to perform a cast function on an entire table via sql? im basically trying to select all table contents multiply by 1.1 and then display the converted data on a webpage using sql, classic asp.
i can do a cast function on a single table column like this
how would I apply this to an entire table? there's quite a few columns so I dont wish to do this the long way by specifying each column with a cast function over and over again.
I tried this but no joy
thanks in advance
Omar.
i can do a cast function on a single table column like this
Code:
Select columnname = Cast(columnname * 1.1 as int)from tablename WHERE ID ='1'
I tried this but no joy
Code:
Select * = Cast(* * 1.1 as int)from tablename WHERE ID ='1'
Omar.
Comment