sql-convert Questions

24

Solved

I need to convert a value which is in a DateTime variable into a varchar variable formatted as yyyy-mm-dd format (without time part). How do I do that?
Sanctitude asked 16/9, 2008 at 16:44

5

Solved

I need to format a float decimal number into a time format hour:minute. I wrote this Scalar-Value Functions with an input float and output varchar(6): CREATE FUNCTIONE formatOre ( @input float ) ...
Slowpoke asked 13/10, 2017 at 12:53

10

Solved

I am trying to write a stored procedure which selects columns from a table and adds 2 extra columns to the ResultSet. These 2 extra columns are the result of conversions on a field in the table whi...
Sherrylsherurd asked 14/10, 2008 at 18:20
1

© 2022 - 2024 — McMap. All rights reserved.