Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hi,
i try to use try_convert to convert varchar to date. The column includes some underscores:
When i use the try_convert, i get a conversion error:
In my opinion, this should not happen, or am I missing something?
Thanks!
I've got the same problem with a script of mine, using CONVERT. This feels like a bug, but Fabric is still in preview so some of this is to be expected...
But yes, there seems to be an issue here. Interestingly if you take the SQL code and hard code the date as a string and run it then it works fine (see below), just seems to be when doing it with a column from a table...
Works fine:-
SELECT TRY_CONVERT(DATE, '2023-03-01')
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 4 | |
| 3 | |
| 3 |