MySQL Forums
Forum List  »  Triggers

Re: Need help with a simple trigger
Posted by: Peter Brawley
Date: January 27, 2012 01:38PM

> I am trying to specify a row number.

There is no such object in MySQL.

> my log table for temperature would have columns sensor1, sensor2, sensor3....sensor50.

Columns named prefix1, prefix2, prefix3... nearly always indicate database design failure. The list should be projected to a child table with a foreign key plus a column named prefix and as many rows as are needed.

PB
http://www.artfulsoftware.com

Options: ReplyQuote


Subject
Views
Written By
Posted
2646
January 20, 2012 05:06AM
1457
January 20, 2012 05:24AM
1216
January 20, 2012 05:45AM
1283
January 20, 2012 06:24AM
Re: Need help with a simple trigger
1322
January 27, 2012 01:38PM
1179
February 23, 2012 02:50PM
1168
February 23, 2012 08:05PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.