Re: [GENERAL] Trigger vs web service

2011-04-05 Thread Jorge Godoy
If I was Yoda, I would say "The answer you seek is... it depends" If I were you, I would test both solutions and check which one performs better and impacts the least on your environment. For example, if you have no logic at all on the database then I would code that in the frontend. If you have

[GENERAL] Trigger vs web service

2011-04-05 Thread Marc-André Goderre
I receive a long string (about 1 per second) than content many information. For the moment it is directly inserted in the database (1 column). I have to treat the hole string every time i need information in it. Now, I want split the sting and save the informations in differents fields. I have 2

Re: [GENERAL] Trigger vs web service

2011-04-04 Thread Marc-André Goderre
I receive a long string (about 1 per second) than content many information. For the moment it is directly inserted in the database (1 column). I have to treat the hole string every time i need information in it. Now, I want split the sting and save the informations in differents fields. I have 2

Re: [GENERAL] Trigger vs web service

2011-04-04 Thread John R Pierce
On 04/04/11 8:47 AM, Marc-André Goderre wrote: 1- Program a trigger function detecting the orginal insert, split the string and fill the other field. 2- Program a web service for receiving the string, split it and insert the informations in the db. Witch is the fastest one (in performance)

[GENERAL] Trigger vs web service

2011-04-04 Thread Marc-André Goderre
I receive a long string (about 1 per second) than content many information and for the moment it is directly inserted in the database (1 column). I have to treat the hole string every time i need information in it. Now, I want split the sting and save the informations in differents fields. I have