- Previous thread: Weird Error
- Next thread: expired mysql connection ?
- Threads sorted by date: mysql 200905
Yes, Triggers... I so rarely use them I forget they exist.
On Tue, May 5, 2009 at 10:22 AM, Thomas Pundt wrote:
> Johnny Withers schrieb:
>
>> Well, I think an update after insert is the only way. Other than
>> perpopulating another table with possibe crc values then usinga join:
>>
>> Select id from testtable
>> Inner join crctable on testtable.id=crctable.id
>> Where crctable.crcval='xxxxxxx'
>>
>> Just be sure to index the crcval column.
>>
>
> From my understanding, a TRIGGER might do exactly what Thunder needs.
>
> http://dev.mysql.com/doc/refman/5.0/en/create-trigger.html
>
> Ciao,
> Thomas Pundt
>
--
-----------------------------
Johnny Withers
601.209.4985
johnny@pixelated.net
On Tue, May 5, 2009 at 10:22 AM, Thomas Pundt wrote:
> Johnny Withers schrieb:
>
>> Well, I think an update after insert is the only way. Other than
>> perpopulating another table with possibe crc values then usinga join:
>>
>> Select id from testtable
>> Inner join crctable on testtable.id=crctable.id
>> Where crctable.crcval='xxxxxxx'
>>
>> Just be sure to index the crcval column.
>>
>
> From my understanding, a TRIGGER might do exactly what Thunder needs.
>
> http://dev.mysql.com/doc/refman/5.0/en/create-trigger.html
>
> Ciao,
> Thomas Pundt
>
--
-----------------------------
Johnny Withers
601.209.4985
johnny@pixelated.net
Conversations: LAST_INSERT_ID and CRC32
- LAST_INSERT_ID and CRC32 by thunder@isfahan.at on 2009-05-03T12:16:26+00:00
- Re: LAST_INSERT_ID and CRC32 by Johnny Withers on 2009-05-03T17:09:01+00:00
- Re: LAST_INSERT_ID and CRC32 by thunder@isfahan.at on 2009-05-03T17:41:26+00:00
- Re: LAST_INSERT_ID and CRC32 by thunder@isfahan.at on 2009-05-03T17:43:59+00:00
- Re: LAST_INSERT_ID and CRC32 by Johnny Withers on 2009-05-03T22:48:37+00:00
- Re: LAST_INSERT_ID and CRC32 by Thomas Pundt on 2009-05-05T15:23:10+00:00
- Re: LAST_INSERT_ID and CRC32 by Johnny Withers on 2009-05-06T02:54:51+00:00
- Re: LAST_INSERT_ID and CRC32 by thunder@isfahan.at on 2009-05-06T06:14:17+00:00
Related Threads
- Trying to work out why a join query is so slow - mysql
- [ruby-core:21886] mule-utf-8 - ruby
- file.puts define newline - ruby
- data structure for ASTs in Python-written parsers - python
- Reminder: Please Respond to Amit's Invitation - debian
- [GENERAL] pg_dump -F f - pgsql
- r25382 - docs/Perl6/Spec - perl
- AUDITORIAS DEL ISR, IETU, IVA e IDE - freebsd
- Publicidad - freebsd
- Cannot find workers - tomcat
- Ruby RE expression anomaly. - ruby