Quitar Valor NULL a algunos campos
Publicado por Javier (75 intervenciones) el 27/04/2015 21:11:45
Hola amigos, estoy utilizando PB 12.5 y mi BD la tengo en sql anywhere, le he ido agregando campos a mi BD segun he ido necesitando, desde la opcion Database del powerbuilder, pero cuando agrego campos asi no me deja modificar el valor NULL, y mis campos que he agregado han sido con valor NULL, pero quiero modificar para que no sean NULL, y en el power builder ni en el Sybase Central me deja, ya que en el Sybase Central me da este error:
=====================================================
The column 'total_efectivo' could not be modified in the database.
Column 'total_efectivo' in table 'ventas1' cannot be NULL
[
Sybase][ODBC Driver][SQL Anywhere]Column 'total_efectivo' in table 'ventas1' cannot be NULL
SQLCODE: -195
SQLSTATE: 23000
SQL Statement: ALTER TABLE "DBA"."ventas1" ALTER "total_efectivo" NOT NULL
=============================================
Y Necesito que esos camos sean "NO NULL" ya que son indispensables y a veces por error se hace update sin informacion en esos campos.
Alguien Sabe como quitarle el Valor NULL ???
Adjunto la pantala
Saludos
=====================================================
The column 'total_efectivo' could not be modified in the database.
Column 'total_efectivo' in table 'ventas1' cannot be NULL
[
Sybase][ODBC Driver][SQL Anywhere]Column 'total_efectivo' in table 'ventas1' cannot be NULL
SQLCODE: -195
SQLSTATE: 23000
SQL Statement: ALTER TABLE "DBA"."ventas1" ALTER "total_efectivo" NOT NULL
=============================================
Y Necesito que esos camos sean "NO NULL" ya que son indispensables y a veces por error se hace update sin informacion en esos campos.
Alguien Sabe como quitarle el Valor NULL ???
Adjunto la pantala
Saludos
- sybase-central.rar(1,9 MB)
Valora esta pregunta


0