SOLVED
Date data type changes to v_string when connected via in-db (SQL server)
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
akasubi
8 - Asteroid
‎03-12-2020
09:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I'm connecting to a date table in SQL server via the connect in-db tool, but when I do this, the date column comes out as a v_string even though the data type in SQL server is date.
Anyone why and how to fix this so that it's still read as a date?
Solved! Go to Solution.
2 REPLIES 2
13 - Pulsar
‎03-13-2020
06:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎03-13-2020
06:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @cplewis90 - I did, but it didn't work.
Actually found out that the issue was down to the OLE DB provider that I'd set it up with. Initially I used 'Microsoft OLE DB Provider for SQL Server', but actually I should've been using the 'SQL Server Native Client'.
When I changed this, the data type came through as date.
More info in this link - https://community.alteryx.com/t5/Alteryx-Designer-Discussions/In-Database-datatype-change/td-p/56361
