P
pol
Hi all,
In the following sql example , how I can force the datatype as decimal or
as double. the column 'year_overhead' is not a table column. It is temprary
column created by sql. So please let me know how to make the datatype as
decimal or double.
SELECT
roq_salary.empname,
0.00 as year_overhead
FROM roq_salary ;
Something like that
select salaryamt, cast(0 as decimal(8,2)) as overhead from salary
With Regards
Pol
In the following sql example , how I can force the datatype as decimal or
as double. the column 'year_overhead' is not a table column. It is temprary
column created by sql. So please let me know how to make the datatype as
decimal or double.
SELECT
roq_salary.empname,
0.00 as year_overhead
FROM roq_salary ;
Something like that
select salaryamt, cast(0 as decimal(8,2)) as overhead from salary
With Regards
Pol