Hi guys,
To extract the exact time from from given date as shown below:
Select cast(getdate() as time) [time]
To extract the exact time from from given date as shown below:
Select cast(getdate() as time) [time]
declare @ErrorMessage varchar(1000) = error_message()
declare @ErrorSeverity int =error_severity()
declare @ErrorState int = error_state()
RAISERROR (@ErrorMessage, -- Message text. @ErrorSeverity, -- Severity. @ErrorState -- State. );
Oracle
|
SQL Server
|
SELECT to_char(sysdate,'dd') FROM DUAL;
|
select day(getdate())
|
SELECT to_char(sysdate,'mm') FROM DUAL;
|
select month(getdate())
|
SELECT to_char(sysdate,'yyyy') FROM DUAL;
|
select year(getdate())
|
Read a data set from csv file.. x <- read.csv(file.choose(),header=TRUE) here x is the R data set vaiable.