Can someone help me to find exact sql equivalent function for C# Convert.ToInt32. I would like to thank for any proper answer in advance.
Loading
Can someone help me to find exact sql equivalent function for C# Convert.ToInt32. I would like to thank for any proper answer in advance.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kapil Singh KumawatPosted Apr 25, 2022, 10:15 AM
Uttam KumarPosted Apr 21, 2022, 4:51 PM
SELECT CAST(25.65 AS int);
For more details you can refer to this link
https://www.w3schools.com/sql/func_sqlserver_cast.asp
Rajanikant HawaldarPosted Apr 21, 2022, 10:09 AM
Muhammad Imran AnsariPosted Apr 21, 2022, 9:40 AM