--CREACION COLUMNAS
IF NOT EXISTS(select * from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME ='doc_subtipoDocumento' AND COLUMN_NAME ='mostrarPendienteDocumento')
BEGIN
alter table [doc_subtipoDocumento]  add   mostrarPendienteDocumento  int not null default 0
END 