Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Insert date in table:
Hello, I need help to insert the current date in table Cortes_saa I'm creating from a view. I tried various form but I can not do it. Thank You
Cortes_saa:
LOAD *;
SQL SELECT
ReloadTime () corte_saa as,
vta_crr_codigo,
vta_pca_codigo,
vta_alc_ano_ingreso
FROM Academia.dbo "VTA_ALUMNO_CARRERA.";
ortes_saa:
LOAD
*,
today() as corte_saa as; // or now() for timestamp
SQL SELECT
vta_crr_codigo,
vta_pca_codigo,
vta_alc_ano_ingreso
FROM Academia.dbo "VTA_ALUMNO_CARRERA.";
Try:
LOAD
*,
today() as corte_saa;
SQL SELECT
vta_crr_codigo,
vta_pca_codigo,
vta_alc_ano_ingreso
FROM Academia.dbo "VTA_ALUMNO_CARRERA.";
U cant place reloadtime in SQL SELECT statment. It should be in LOAD statment. And when you are using alias you must give it a name -> "something as something".
Muchas gracias, me funciono
I worked, thank you very much
I worked, thank you very much