Forum Discussion
SJi
8 years agoFrequent Visitor
How to utilise stored procedure via variable call?
Hello,
when I want to utilise stored procedure as a data source as shown on the picture below, I get an error message:
Unable to connect: Details: "Microsoft SQL: Error converting data type varchar to datetime2."
What am I doing wrong?
1 Reply
- v-qiuyu-msftCommunity Support
Hi SJi,
Could you call the same stored procedure in SSMS successfully?
The picture isn't very clear. Would you please share the stored procedure and Query you used in desktop?
Best Regards,
Qiuyun Yu