Status: Finished

Historic database

Project details:
Budget: Open
Published: 3 years ago
Deadline: 3 days
Language: Spanish (Beginner), English (Beginner)
Bids: 2
Interested freelancers: 2

Skills required: IT & Programming MySQL Database

Description:
Tengo una base importantDB y necesito que me construyas un set de triggers para llenar las tablas de importantDB_historic.
Si en importantDB tengo la tabla
[tasks]
- id
- name
- desc
in importantDB_historic
I will have 3 more columns
[tasks]
- id
- name
- desc
- pk
- timestamp
- action set('insert','update','delete')
si alguien hace ejecuta esto en importantDB
isnert into tasks(name,desc) values ('run','faster as you can');
se va a ejecutar esto en importantDB_historic automaticamente mediante mysql trigger (existe esto en mysql?)
isnert into tasks(name,desc, id, action) values ('run','faster as you can', 1, 'insert');
si alguien ejecuta esto en importantDB
update tasks set desc='not so fast' where id = 1;
se va a ejecutar esto en importantDB_historic automaticamente mediante mysql trigger
isnert into tasks(name,desc, id, action) values ('run','no that fast', 1, 'update');
de modo que al ejecutar en importantDB_historic
select * from tasks
id | name | desc | pk | timestamp | action
1 run faster as you can 1 2013 ... 12:23 insert
1 run no so fast 2 2013 ... 12:25 update
y así.
Necesito esto antes del sabado.

Create your own project

Are you looking for a freelancer to work on a similar project? Create your own project and you'll receive proposals from the best freelancers.

Create a similar project

Client:

daniel n.
(Rating 4.75 out of 5)
Location: Argentina
Payment method: Verified
To find out more about this client, login to Workana.
Loading...