Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Printing date string

$
0
0

declare @var varchar(50)='Application-04-03-2014.txt'

i have the following variable and i want to print 2014-04-03 from the given variable

need help..want to do it using the string functions



Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>