Possible duplicates:SQL Server will check the resulting expression data typeSQL Server 2005: Defining Variable Data Type
Is there a standard (SQL2008) way to determine the type of an expression?
For example, in Postgres 8.0 there is a function "TYPE_OF"
select TYPE_OF(COUNT(*));
This may return a BIGINT.
I also hope it works in SQL Server 2008.
No one has answered this question yet.
See similar questions:
or similar:
Source: https://habr.com/ru/post/1369503/More articles:Pdf to Html (+ javascript) - htmlAndroid: saving an array to application data - androidHTML5 card game - javascriptCOUNT (*) and availability - sqlProlog: how to do it "check (a ++ b ++ C ++ d is equal to d ++ a ++ C ++ b) β yes" - prologWhere is the best way to download a YAML application configuration file? - environmentIn Javascript, how to start a server process and control its output until completion? - javascriptHow to generate IL source code using csc (C # compiler) or dmcs (mono C # compiler)? - c #Does it matter if I use 1 php variable several times for different purposes? - phpRedirecting input using stdin - c ++All Articles