I’m not sure there is an exact match for the format you want. But you can get close with convert()
and style 106
. Then, replace the spaces:
SELECT replace(convert(NVARCHAR, getdate(), 106), ' ', "https://stackoverflow.com/")
More Related Contents:
- I dont know sql syntax for my table [closed]
- Default row order in SELECT query – SQL Server 2008 vs SQL 2012
- How to subtract 30 days from the current date using SQL Server
- Cannot Resolve Collation Conflict
- Try_Convert for SQL Server 2008 R2
- SQL Server: +(unary) operator on non-numeric Strings
- How to automatically generate unique id in SQL like UID12345678?
- Unpivot with column name
- How can I delete using INNER JOIN with SQL Server?
- What this query does to create comma delimited list SQL Server?
- SQL Server – Return value after INSERT
- Convert varchar into datetime in SQL Server
- sql query to return differences between two tables
- Check if a row exists, otherwise insert
- How to select the last record of a table in SQL?
- Script to kill all connections to a database (More than RESTRICTED_USER ROLLBACK)
- How to write UPDATE SQL with Table alias in SQL Server 2008?
- SQL Server 2008- Get table constraints
- Restrict an SQL Server connection to a specific IP address
- Execute Dynamic Query with go in sql
- TransactSQL to run another TransactSQL script
- Get previous and next row from rows selected with (WHERE) conditions
- How can I get a list of element names from an XML value in SQL Server
- Why are logical reads for windowed aggregate functions so high?
- Replace first occurrence of substring in a string in SQL
- Can SQL Server Express LocalDB be connected to remotely?
- How to correctly insert newline in nvarchar [duplicate]
- Using IF ELSE statement based on Count to execute different Insert statements
- Group All Related Records in Many to Many Relationship, SQL graph connected components
- How to execute a stored procedure inside a select query