SELECT CONVERT(nvarchar(6), GETDATE(), 112)
More Related Contents:
- Convert text to system date format [duplicate]
- How to get a particular preceding value of a column in SQL [closed]
- SQL where clause odd behavior [closed]
- How do I obtain a Query Execution Plan in SQL Server?
- How do I escape a single quote in SQL Server?
- Simple way to transpose columns and rows in SQL?
- What is the meaning of the prefix N in T-SQL statements and when should I use it?
- Only inserting a row if it’s not already there
- Unpivot with column name
- Selecting data from two different servers in SQL Server
- SQL JOIN vs IN performance?
- Most efficient way in SQL Server to get date from date+time?
- TSQL Pivot without aggregate function
- How to generate a range of dates in SQL Server
- SQL RANK() versus ROW_NUMBER()
- Generate SQL Create Scripts for existing tables with Query
- How to rewrite IS DISTINCT FROM and IS NOT DISTINCT FROM in SQL Server 20008R2?
- How do I delete from multiple tables using INNER JOIN in SQL server
- Check if a row exists, otherwise insert
- SQL : BETWEEN vs =
- How do I perform a GROUP BY on an aliased column in SQL Server?
- How do I make a composite key with SQL Server Management Studio?
- Script to kill all connections to a database (More than RESTRICTED_USER ROLLBACK)
- CTE error: “Types don’t match between the anchor and the recursive part”
- TransactSQL to run another TransactSQL script
- How do I remove extended ASCII characters from a string in T-SQL?
- Getting Dates between a range of dates
- The most elegant way to generate permutations in SQL server
- Convert bigint to datetime
- When to use EXCEPT as opposed to NOT EXISTS in Transact SQL?