Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

get item by composite primary key mysql

SELECT * FROM bb_bulletin WHERE (OfficeCode, IssuerId, BulletinDtm) = (20001, 1, '2011-01-07 14:04:40');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #item #composite #primary #key #mysql
ADD COMMENT
Topic
Name
9+4 =