I have a problem with the insertion of the following data in the following table:
CREATE TABLE TB_ADMIN_MONITOREO
(
FECHA_PROCESO NVARCHAR,
FECHA_EJECUCION DATETIME,
SERVIDOR NVARCHAR,
UNIDAD CHAR,
[LIBRE (MB)] DECIMAL(15,2),
[LIBRE (GB)] DECIMAL(15,2),
ESTADO NVARCHAR
)
------------------------------------------------------------
insert TB_ADMIN_MONITOREO
values('20180423',GETDATE(), 'NEPTUNO','D',12.36, 45.23, 'RIESGO')
Result:
Mens. 8152, Nivel 16, Estado 4, Línea 1
String or binary data would be truncated.
I have already tried with Varchar
, Nvarchar
and none of them works for me. I'm not sure what the source of the problem is.
Greetings