Search
 
SCRIPT & CODE EXAMPLE
 

SQL

float in sql

#Float is a data type which stores only decimal value. The difference between integer
#and float is that in an integer the value will be rounded off
#whereas in float the decimal value will be shown as the input.

#for example 3.54 stored in float will give an output of 3.54
#whereas 3.54 sotred in integer data type will give an output of 4

code:
create table salary(name varchar(20), Salary float);


#when inserting values, the need for using ''   is mandatory just like in the case of
#integer
Comment

PREVIOUS NEXT
Code Example
Sql :: sqlite 
Sql :: sql server in linux 
Sql :: sql trigger 
Sql :: how to install sql server 
Sql :: what is in operator in sql 
Sql :: subquery in Delete 
Sql :: convert varchar to time sql 
Sql :: find below average salary in sql 
Sql :: how to create foreign key in sql server management studio 
Sql :: Get the User Name and Domain Name from an Email Address 
Sql :: change order of sql columns 
Sql :: ssms connect with connection string 
Sql :: deletar banco de dados mysql 
Sql :: insert into with 3 tables 
Sql :: luu ckeditor vao mysql 
Csharp :: minimize button c# 
Csharp :: how to write hello world in c# 
Csharp :: c# replace all non numeric characters 
Csharp :: c# list to string comma separated 
Csharp :: unity get all by tag 
Csharp :: wpf label text in center 
Csharp :: unity how to set an objects postion x,y,z 
Csharp :: c# get current date without time 
Csharp :: play a sound c# 
Csharp :: round corners of textbox wpf 
Csharp :: c# datetime current 
Csharp :: unity 2d detect click on sprite 
Csharp :: replace text c# file 
Csharp :: c# replace string case insensitive 
Csharp :: c# form formborderstyle none move 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =