
CREATE TABLE dbo.status_tabla ( id int NOT NULL, status_tabla nvarchar(50) NOT NULL ) ON [PRIMARY] GO ALTER TABLE dbo.status_tabla ADD CONSTRAINT PK_status_tabla PRIMARY KEY CLUSTERED…

CREATE TABLE dbo.presupuesto ( id int NOT NULL, idorden int NOT NULL, fecha smalldatetime NOT NULL, idusuario_captura int NOT NULL, fechautoriza smalldatetime NULL, idusuario_autoriza int…