Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle sql first day of month

-- First day of month
SELECT TRUNC(sysdate, 'MONTH') from dual;
Comment

oracle sql first day of year

-- Oracle: First day of year
SELECT TRUNC(sysdate, 'YEAR') FROM DUAL;
Comment

oracle sql first day of quarter

-- trunc(date, format)						DUAL is for Oracle
SELECT trunc(sysdate, 'Q') FROM DUAL;       -- 1rst quarter day
SELECT trunc(sysdate) FROM DUAL;            -- today 00:00:00
SELECT trunc(sysdate, 'YEAR') FROM DUAL;    -- 1rst year day
SELECT trunc(sysdate, 'MONTH') FROM DUAL;   -- 1rst month day
Comment

PREVIOUS NEXT
Code Example
Sql :: sequelize with mysql nodejs 
Sql :: sql split comma separated string into rows 
Sql :: how to use db.execute 
Sql :: remove accented characters in bigquery 
Sql :: flask sqlalchemy session delete 
Sql :: get id from just inserted row mysql server python 
Sql :: mask data in sql 
Sql :: python connect to mysql in settings.py 
Sql :: add column mssql 
Sql :: example of sql querry result sepapreted by comma 
Csharp :: but dotnet-ef does not exist. 
Csharp :: c# change label forecolor code 
Csharp :: how to change scenes on collision unity 
Csharp :: regions unity 
Csharp :: unity how to get y value 
Csharp :: unity reset rigidbody velocity 
Csharp :: c# sleep 1 second 
Csharp :: c# check file exists 
Csharp :: how to disable and enable rigidbody unity 
Csharp :: get unix time in seconds C# 
Csharp :: c# list files in directory 
Csharp :: Linq - Random Elements 
Csharp :: json stringify c# 
Csharp :: unity add component 
Csharp :: unity save list to json 
Csharp :: c# get script directory 
Csharp :: how to play video in ui unity 
Csharp :: playerInputManager.JoinPlayer(....) 
Csharp :: Convert Newtonsoft.Json.Linq.JArray to type System.Collections.Generic 
Csharp :: phone number regex in c# 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =