# 查出DB裡table欄位有哪些是identity ```sql=\ select o.name, c.name from sys.columns c inner join sys.objects o on c.object_id=o.object_id where c.is_identity = 1 and o.type='U' ```  就可以查出哪些table的哪個欄位是identity型態了
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.