Re: [started] keyword FLOOR
I am using SQLServer 2008.
In snippet of code below I expected "floor(price.col1)" to be formatted so that it becomes FLOOR(price.col1) without having to go to the "Upper and Lower" table and adding "@FLOOR@ before formatting: SELECT floor(price.col1) AS col1 , price.col2 AS col2 , price.col3 AS col3 , MA price.col4) AS col4 ,
MA price.col5) AS col5 ,
MA price.col6) AS col6 ,
MA price.col7) AS col7
FROM table_1 t1, table_2 t2 WHERE col1 = col2 AND column_1 = small_column AND column_3411 <= column_12_sup AND col1 = 'Test Run' AND column_4532 = c1.dert; expected after formatting: SELECT FLOOR(price.col1) AS col1 , price.col2 AS col2 , price.col3 AS col3 , MA price.col4) AS col4 ,
MA price.col5) AS col5 ,
MA price.col6) AS col6 ,
MA price.col7) AS col7
FROM table_1 t1, table_2 t2 WHERE col1 = col2 AND column_1 = small_column AND column_3411 <= column_12_sup AND col1 = 'Test Run' AND column_4532 = c1.dert
|