Top "Sqldatatypes" questions

Concerns data types used with SQL.

Boolean Field in Oracle

Yesterday I wanted to add a boolean field to an Oracle table. However, there isn't actually a boolean data type …

oracle boolean sqldatatypes
How to convert Nvarchar column to INT

I have a nvarchar column in one of my tables. Now I need to convert that column values to INT …

sql-server sqldatatypes type-conversion
Best data type for storing currency values in a MySQL database

What is the best SQL data type for currency values? I'm using MySQL but would prefer a database independent type.

mysql sql sqldatatypes
Appropriate datatype for holding percent values?

What is the best datatype for holding percent values ranging from 0.00% to 100.00%?

sql-server types sqldatatypes
Is there any difference between DECIMAL and NUMERIC in SQL Server?

Is there any difference between DECIMAL and NUMERIC data types in SQL Server? When should I use DECIMAL and when …

sql-server sqldatatypes
Conversion failed when converting the varchar value to data type int in sql

I wrote the store procedure which should return the values like- J1 J2 J3 I have table named Journal_Entry. …

sql-server tsql sqldatatypes
How to get a list column names and datatype of a table in PostgreSQL?

With the following query, we can get a list of column names and datatype of a table in PostgreSQL.

sql postgresql sqldatatypes
What does it mean when the size of a VARCHAR2 in Oracle is declared as 1 byte?

I know that I can declare a varchar2 using the number of the characters that it should be able to …

sql oracle varchar sqldatatypes
SQL DataType - How to store a year?

I need to insert a year(eg:1988 ,1990 etc) in a database. When I used Date or Datetime data type, it …

database types sqldatatypes
What data type should be use for timestamp in DynamoDB?

I am new to DynamoDB. I wish to create a table which using DeviceID as the hash key, Timestamp as …

datetime amazon-web-services amazon-dynamodb sqldatatypes