Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle sql number to varchar2

-- Number to Varchar2
DECLARE
    myString VARCHAR2(10);
    myNumber NUMBER := 100.56;
BEGIN
    myString := to_char(myNumber);
    DBMS_OUTPUT.PUT_LINE(myString);     -- 100,56
END;
Comment

PREVIOUS NEXT
Code Example
Sql :: functions with parameters SQL 
Sql :: postgres windows import dump 
Sql :: mysql timezone 
Sql :: mysql run script 
Sql :: using SQL in rails migration 
Sql :: sql delete 
Sql :: mysql count unique in group statement 
Sql :: mysql create table index 
Sql :: replace tab in sql 
Sql :: add foreign key to existing table 
Sql :: sqlite commands 
Sql :: update table sql multiple set 
Sql :: postgresql could not start server mac 
Sql :: postgres delete by id 
Sql :: 0 
Sql :: how to use timestampdiff in a table in sql 
Sql :: bigquery timestamp 
Sql :: postgresql héritage 
Sql :: sqlite unix timestamp 
Sql :: mysql decimal 
Sql :: sql like case sensitive 
Sql :: import database mysql command line 
Sql :: insert to postgres table 
Sql :: dump multiple tables mysql 
Sql :: min mysql 
Sql :: sql where is not number 
Sql :: sql highest salary by location 
Sql :: Caused by: java.lang.RuntimeException: Unable to obtain credentials to communicate with the Cloud SQL API 
Sql :: mssql replace first occurrence 
Sql :: mysql join same table multiple times group by 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =