Getting Default Constraints Information(获取默认约束信息)
问题描述
我正在尝试获取给定表的默认约束信息.我是这样写的:
I am trying to get the Default Constraints information for a given table. I wrote something like this:
但它不会返回我的默认值.所以我尝试了不同的方式,查询是:
But it doesn't return me the default value. So I tried a different way and the query is:
但它什么也没给我返回.
But it returns me nothing.
有人可以帮我吗?
推荐答案
默认值在 'definition' 列中,尝试在没有 where 的情况下运行查询:
Default value is in column 'definition', try to run query without where:
这篇关于获取默认约束信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!