Home » U++ Library support » U++ SQL » PostgreSQL example does not save data to database
Re: PostgreSQL example does not save data to database [message #20601 is a reply to message #20572] |
Wed, 25 March 2009 18:16 |
rtmex
Messages: 9 Registered: March 2009 Location: Puebla, MEXICO
|
Promising Member |
|
|
This is the log file
* /home/salomon/upp/out/GCC.Debug.Debug_full.Gui.Shared/prueba _Postgres 25.03.2009 11:11:23, user: salomon
begin
delete from estacion
insert into estacion(cve_estacion, nombre_estacion, siglas) values (1, 'ESTACION 1', 'SIGLAS 1')
insert into estacion(cve_estacion, nombre_estacion, siglas) values (2, 'RADIO ORO', 'XH-ORO')
insert into estacion(cve_estacion, nombre_estacion, siglas) values (3, 'ESTACION 3', 'SIGLAS 3')
commit
select cve_estacion, cve_estacion, nombre_estacion, siglas from estacion order by nombre_estacion
I don't see any problem, it seems that the insert statements are ok, and there is the commit sentence at the end. I don't know why the information is not saved in the table
Any clue?
|
|
|
Goto Forum:
Current Time: Fri Jun 07 06:53:35 CEST 2024
Total time taken to generate the page: 0.02067 seconds
|