How do I return the SQL data types from my query?

前端 未结 13 1465
耶瑟儿~
耶瑟儿~ 2021-01-29 23:58

I\'ve a SQL query that queries an enormous (as in, hundreds of views/tables with hard-to-read names like CMM-CPP-FAP-ADD) database that I don\'t need nor want to understand. Th

13条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-30 00:29

    This easy query return a data type bit. You can use this thecnic for other data types:

    select CAST(0 AS BIT) AS OK

提交回复
热议问题