Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interesting difference in CAST vs CONVERT functions
Message
 
 
To
20/02/2008 17:25:23
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01294297
Message ID:
01294661
Views:
22
>>BTW, what SQL Server function would tell us the TYPE of the variable/field?
>
>I don't see a difference between the two except the typos in CAST version. In what version does it work incorrect and what is that unexpected behavior? I get the same expected results from both in SQL2005.
>
>Cetin

I got an error on INSERT command on the second line in the first case. I don't see a typo and can not test right now.

Also would you please answer my question about type() equavalent in SQL Server ?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform