Search
 
SCRIPT & CODE EXAMPLE
 

SQL

sql getdate date only

-- MS SQL Server
SELECT CAST(getdate() AS date);
SELECT CAST(getdate() AS varchar(10));
Comment

PREVIOUS NEXT
Code Example
Sql :: oracle table statistics 
Sql :: see all users mysql 
Sql :: how to get list of synonyms in oracle 
Sql :: how to check when a stored procedure was last modified in sql server 
Sql :: microsoft sql server extract hour and minute from datetime 
Sql :: how to change table name in sqlite 
Sql :: oracle drop column 
Sql :: mysql cannot delete or update a parent row 
Sql :: mysql dump database command line linux 
Sql :: sql server alter column 
Sql :: athena query timestamp greater than 
Sql :: how to create index mysql 
Sql :: import database in phpmyadmin command line 
Sql :: Sql query to force the database to be drop 
Sql :: show user mysql 
Sql :: how to delete columns in sql 
Sql :: reset auto increment sql server 
Sql :: current setting postgres timezone 
Sql :: get month of date sql 
Sql :: Odoo Service is not coming up with postgresql read replica (slave) 
Sql :: copy from folders in sql server 
Sql :: postgres check blocking 
Sql :: mysql events not work 
Sql :: How to disable foreign key checks ? 
Sql :: mysql select for update ejemplo 
Sql :: oracle pl/sql prevent sql injection 
Sql :: how to install mysql server on centos 7 
Sql :: sql select contem uma palavra 
Sql :: drop table sql 
Sql :: column names in oracle sql 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =