根据sql语句获取列的数据类型比如:有一天sql语句为:SQL codeselect userId ,userName from user我如何在能
根据sql语句获取列的数据类型
比如:有一天sql语句为:
- SQL code
select userId ,userName from user
我如何在能知道,这条sql的列,就是userId和userName的数据类型
[解决办法]
对,从系统视图中查询出列对应的类型
根据sql语句获取列的数据类型
比如:有一天sql语句为:
select userId ,userName from user