Check column existence


/ Published in: SQL
Save to your folder(s)

Comprobar si una columna existe en una determinada tabla


Copy this code and paste it in your HTML
  1. SELECT * FROM information_schema.columns WHERE TABLE_NAME = '<table_name>' AND column_name='<column_name>'

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.