Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

SQL Server 2008 R2 Date functions on NVARCHAR & VARCHAR data type

$
0
0

Hi, I am using SQL Server 2008 R2 and was wondering if Date functions could be used with NVARCHAR & VARCHAR data types. I created 2 Date columns one of NVARCHAR(10) an the VARCHAR(10) was able to use YEAR() & DATEPART() functions and was seeing results as expected are there any performance issue with these?

Thanks in advance...................


Ione


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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