In SSMS, if I have a query like:
select * from dbo.students where name = 'jim'
Or
select 1, 1000
What's the data type of 'jim'
, 1
and 1000
? They could be varchar
, nvarchar
, char
, nchar
, tinyint
, smallint
, int
or bigint
. I want to know how to identify their types. Thanks in advance.