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

adventureworks.dbo.dimdate.fulldatealternatekey

$
0
0
In the tutorial for adventureworks, it tells you to create a lookup between the text file you are importing and the dimtime table, which I discovered has been changed to dimdate table. When I try to link the columns in a lookup, it tells me its a data type mismatch. The data  type of fulldatealternatekey is date. I have tried setting the currencydate to date, datetime and string and using conversion for the lookup. Can't seem to get it right. What data type do I need to use to make the lookup work?

Viewing all articles
Browse latest Browse all 4729

Trending Articles



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