Posted By

Elph on 09/29/08


Tagged

column sqlserver transact-sql


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Plastyksouljah


Check column existence


 / Published in: SQL
 

Comprobar si una columna existe en una determinada tabla

  1. SELECT * FROM information_schema.COLUMNS WHERE table_name = '<table_name>' AND column_name='<column_name>'

Report this snippet  

You need to login to post a comment.